...
We will use a business rule to retrieve the list of customers from the database as JSON and dynamically populate this drop down control.
- Click the icon in the toolbar at the top of the Form Designer.
- Click to create a new rule and the Edit icon to open the rule.
- Set the Name to 'Show customers'.
- In the Rule text area: copy and paste the following:
...
Create a business rule
- Click the icon in the toolbar at the top of the Form Designer.
- Click to create a new rule and the Edit icon to open the rule.
- Set the Name to 'Show orders'.
- In the Rule text area: copy and paste the following:
...
Create a business rule
- Click the the icon in the toolbar at the top of the Form Designer.
- Click to create a new rule and the Edit icon to open the rule.
- Set the Name to 'Copy customer number and generate an order number'.
- In the Rule text area: copy and paste the following:
...
Create/Update business rules
- Click the icon in the toolbar at the top of the Form Designer.
- Edit the Show Customers rule we created in Example 4. Change the name to Show Customers/Products.
- In the Rule text area: copy and paste the following:
...