GUI Script Template Editor
To access this page:
- Display the Data page.
- Select View Templates in the page toolbar.
- Select a GUI Script template, and click Edit Template.
In this topic:
- Details Tab
- Script Contents Tab
- How was the recorded data entered into the grid? Dialog
- Component Properties Dialog
- Script Text Tab
The template editor allows editing of both the basic template information, such as name and description, as well as the GUI scripting information stored in the template.
Icon | Description | |
Save Changes |
Click to save any changes you have made to the template. Click Save As… to open a dialog, save the template under a different name and keep the original intact. |
|
Cancel Editing | Click to close the template editer and revert any changes that were made. |
Details Tab
Field | Description |
Name | This is the name of the template as it appears in the template browser and upload mapping wizard. |
Description | Provide a detailed description of the template so that it can be easily located. For example, the description can contain screens or views that were accessed during the recording so that templates for the same transaction can be identified by their purpose. |
Share this template with other enterprise users | Check to make the template available to all users in the system. If unchecked, only the user that created the template will be able to access it. |
Script Contents Tab
The grid contains specific actions, download fields, and upload fields that occur in the recording. You can modify the script contents by looping, deleting, or setting properties on one or multiple items.
Fixed/Upload Value Selector Column
Click the up arrow to toggle between an upload value or fixed value.
- Upload Value - The value will come from the load file.
- Fixed Value - The value is the same for every record. Enter in the value for the field in the "value" column. You will not need to include this field in the load file.
|
Field/Icon | Description |
|
Custom Lines | Currently inactive. Future functionality will allow the addition of custom lines with a GUI Scripting template. |
|
Actions | Check to display GUI Script Action items in the Script Contents Grid. |
|
Download Fields | Check to display Download Fields in the Script Contents Grid. |
|
Upload Fields | Check to display Upload Fields in the Script Contents Grid. |
|
Descriptions | Check to display field descriptions in the Script Contents Grid. |
|
Field Names | Check to display field names in the Script Contents Grid. |
Loop |
|
|
Delete Item | To delete an item from the grid, select the item and click the Delete Item. | |
Restore Original | If you make a mistake in the template that cannot be reversed, click Restore Original to return the template to its original recorded state. Keep in mind that all your changes to the template will be lost. | |
Properties | Select one or multiple GUI Script items in the grid and click Properties to display the Component Properties dialog and change the properties of the selected items. |
How was the recorded data entered into the grid? Dialog
This dialog is displayed when the loop level for fields in a grid is incremented. It enables automatic set up of the loops in the script without user intervention, eliminating the need to figure out complex loop structures.
Field | Description |
Same Row | Select this option if you always enter data in the same row in the grid. This choice is common for an FB50 transaction where all line items are inserted into the first row of the grid. |
Row One and Row Two | Choose this option if you enter the first line item into row one and insert all the other items in row two. This behavior is commonly seen in a VA01 transaction. |
Consecutive Rows | Select this option if you fill out all the rows in the grid and then enter a page down key to empty the grid to then insert more line items. Specify which row the cursor was placed in after using a page down command to empty the grid. |
Component Properties Dialog
Field |
Description |
Only Execute if | Executes the selected item(s) only if the operational statement for the field is true. The valid operands for this are =, <>, <, <=, >, >=, Starts with, Ends With, Contains, and Between. |
Only Execute for the first | Executes the selected item(s) only for the first number of records that you enter. After that the item(s) selected will no longer be executed in the upload. |
Only Execute every | Executes the selected item(s) only every number of lines that you enter. For example, if you need to do an action every 4 line items you would enter 4 into the text box and the item would only be executed every 4 times. |
Script Text Tab
The Script Text tab displays the generated GUI script. The script cannot be directly edited but changes made to the template in the script contents will be reflected in the script panel. The ability to edit the script text directly is planned for future releases.