Creating Data Structures

Access the appropriate project in OMW.

  1. Add a data structure to the same project in which you added the data item smart field component.

  2. On the Add Object form, create a new regular data structure, name it according to the recommended naming conventions, and click OK.

    See "Understanding JD Edwards EnterpriseOne Naming Conventions" in the JD Edwards EnterpriseOne Tools Development Guidelines for Application Design Guide.

  3. On the Data Structure Design form, select the Design Tools tab and click Data Structure Design.

  4. On the Data Structure form, under Dictionary Items, enter the alias of the data item prompt on the QBE line.

  5. Double-click the data item prompt to include it in Structure Members.

  6. Double-click in the Required field of the detail area to define the data item prompt as Required.

    This field displays a check mark for the prompt data item.

  7. Under Dictionary Items, search for all of the required data items using the QBE line.

  8. Double-click the required data items individually to include them in Structure Members.

  9. Under Dictionary Items, search for a data item to serve as a return value using the QBE line.

    Use a data item that is formatted the same as you want the smart field to be formatted.

  10. Double-click the return value data item to include it in Structure Members.

    You can rename the return value data item in the Structure Member Name field.

  11. In the Input/Output field for each data item, set up the arrows to reflect the flow of the data and click OK.

    All arrows for prompts and data items should point to the right because these fields fetch data from the database. The arrow for the return value should point to the left because the data is returned to this field in the report section.