Smart Field Logic

You can review the event rules that are created by the smart fields to understand how the smart field components are implemented in the report. In the RDA workspace, click the variable portion of a smart field column. From the Edit menu, select Event Rules. Select the event that you defined on the Smart Field Criteria form when you created the smart field data item.

The description of the business function that you created for the smart field appears on the event. Double-click the business function to review the data structure parameters. The business function information appears in the upper-left corner of the Business Functions form and includes the business function name, description, and the name of the attached data structure. The data structure displays the parameters as you defined them in the named mapping.

Notice that the data structure includes the directional arrows you defined in the data structure. The directional arrows for all data items except the return value data item point to the right. This is because each of these fields is fetched from a source, such as the database or a user prompt. The system then processes the logic using these fields and returns the result to the return value field to appear on the report. The directional arrow in this field points to the left. Without the use of this smart field, the report developer would have to know which business function to use and how to pass each of these values.

For example, if you select the first quarter variable that was created using the quarterly sales smart field, you can see in the data structure the 1 that you entered on the Smart Field Parameters form when you created the report.

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