Introduction to DAL
The language you use to calculate totals for fields is called the Document Automation Language (DAL). The calculation itself is called a script. By using the proper script, you can make sure the data is processed in the manner you intend.
To assign a calculation to a field:
After you assign a calculation to a variable field, you have these additional options. Choose one of the following:
- DAL calc, if you want the system to recalculate the value of the field as soon as you highlight or enter any field. The system recalculates all Calc scripts for all fields when you highlight a new field.
- DAL script, if you want the system to recalculate the value in the field when you exit the field. The script is executed only when you exit the field containing the script reference and not during any other field actions.
- Disabled, if you do not want to run calculations during Section Check or during entry. This is a convenient way to disable the script without deleting it from the Properties window.
Note | The SAMPCO sample resources contain a great number of DAL examples and explanations. Be sure to check out this resource as you create DAL scripts for your company. |