Using the Call
Consider the following when creating a Drill Rule Call. The following definitions and rules explain the inclusion or exclusion of form key values.
Definitions for Drill Rule Calls
Definition | Description |
---|---|
Form definition | The XML that defines the form. If a form is loaded on the page, pressing CTRL-ALT-A makes this XML visible. |
keynbr | An attribute in the definition of a field within the form definition. Not all fields have this attribute. |
precede | To occur above or to the left of another element within a form definition. |
follow | To occur below or to the right of another element within a form definition. |
preceding keynbrs | The keynbrs of the fields that precede a given field in the form definition. |
following keynbrs | The keynbr attributes of the fields that follow a given field in the form definition. |
Rules for Drill Rule Calls
To see an example of each of the rules, log into the Lawson Portal in DEBUG mode:
http://server:port/lawson/portal?debug=true
-
Whether the form is empty or populated, performing a Drill screen rule call on any eligible field causes all preceding keynbrs to be included in the call.
-
If preceding fields are empty, the keynbrs corresponding to those fields are included in the call as parameters with no values.
-
If preceding fields are populated, the keynbrs corresponding to those fields are included in the call as parameters. The values of each of the keynbr parameters included in the call is the value of the field to which each keynbr belongs.
-
If following fields are empty, the keynbrs corresponding to those fields are not included in the call.
-
If following fields are populated, the keynbrs corresponding to those fields are included in the call as parameters. The value of each of the keynbr parameters included in the call is the value of the field to which each keynbr belongs.