Download Defining Maintenance Object Options
Transcript
Defining Script Options Compare Field Name: SAVE_NEEDED Condition: = Comparison Field Type: Predefined Value Comparison Field Name: FALSE If TRUE, Go To Step: 160 If FALSE, Go To Step: 140 150 Set focus to a field 160 Go to a step 170 Display text 180 Height <font color=red>You have not saved this information!</font> Press <i>Continue</i> after saving. Destination Field Name: IM_SAVE (note, this positions the cursor on the save button) Next step: 120 Script complete Script Window Height: 0 Height Unit: Pixels Note the following about this script: • • Step 10 navigates the user to the customer contact page in add mode. Step 20 causes a user to be prompted to enter a description of the problem. This description is stored in the customer contact's description field. Steps 30 through 50 populate fields on Customer Contact - Main with "hard-coded" values (thus saving the user the effort of effort of entering this information). Take special note of step 50 - we are taking advantage of the fact that a customer contact type's default characteristics are copied to a customer contact when a user specifies a given contact type. It's important to note that defaulting only happens when you populate a User Interface Field (as opposed to a Page Data Model field). Steps 60 through 90 populate fields in the log grid on the same tab page. Steps 100 and 110 transfer users to Customer Contact - Characteristics where they are prompted to confirm the characteristics that were defaulted when the customer contact type was populated. Steps 120 through 160 are the same as the previous example. • • • • Add A New Person To An Account The following is an example of the steps necessary to implement a script that adds a new person to an existing account. This is a sophisticated script as it contains examples of populating scrolls and grids as well as using multiple transactions to implement a business process. Step No Step Type 5 Label 10 Prompt user Text Displayed In Script Area Additional Information On The Step Identify the correct account Is the existing account currently displayed in the dashboard? Prompt Type: Button(s) First Prompt Value - Text: Yes, Next Step: 40 Second Prompt Value - Text: No, Next Step: 20 Oracle Utilities Application Framework Administration User's Guide • 141