Adding a Form Control Function (Release 9.2.7.3)

Starting with Tools Release 9.2.7.3, you can design a logic extension with the ability to change the simple user interface on the form, for example, to show, hide, enable, disable, or change the colour of a control. You can determine the value a user has entered into a field, and based on that value conditionally enable, disable, or highlight a different control.

To know more about how to associate logic extensions with events in Form Extension, see Associating Orchestrations with Events in the JD Edwards EnterpriseOne Tools Using and Approving User Defined Objects Guide.

To add a Form Control Function:

  1. On the design page, hover over the location where you want to add the form control function and then click the + icon. Select Form Control Function from the Action menu. The system displays the Form Control Function panel on the right.
  2. In the Form Control Function panel, edit the label. The system displays the function name as the description of the form control. You can override the description.
  3. In the Function Name drop-down list, select the function name. The system supports the following functions:
    Note: You can hover over the Information icon next to the Name drop-down list to see the following information about the controls.
    • Enable Control: Only applies to push buttons, check boxes, combo boxes, radio buttons, edit fields, and hypercontrols such as menu controls and exits.
    • Disable Control: Only applies to push buttons, check boxes, combo boxes, radio buttons, edit fields, and hypercontrols such as menu controls and exits.
    • Show Control: Only applies to push buttons, check boxes, combo boxes, radio buttons, edit fields, static text, and images.
    • Hide Control: Only applies to push buttons, check boxes, combo boxes, radio buttons, edit fields, static text, and images.
    • Set Control Text: Only applies to push buttons, check boxes, combo boxes, and static text.

      The system enables the Text field when you select this option. Either enter a value in the Text field or select the value from the drop-down list.

      The string type data structures and variables (excluding array object, array length, and control object) are displayed when you click the Text drop-down list.
      Note: Text field is an optional field.
    • Set Edit Control Color: Only applies to edit fields.

      The system enables the Color drop-down list when you select this option. Select the color from the drop-down list.

  4. From the Control drop-down list, select the control defined in the Data Structure tab.
    Note: The Form Control function will execute only when this logic extension is called directly from a from extension. If this logic extension is included in an orchestration, the Form Control function will have no effect.
  5. Click Save.
Note:

The inputs and mappings for the Form Control Function are defined in Form Extension of the EnterpriseOne form. Therefore, the form controls are not displayed in the Test tab of the Logic Extension page.

Similarly, the diagnostic mode does not display any information about the form controls. In the diagnostic mode, you can only see the execution path of the form control function.