Expressions
You can debug the expressions defined for document types and report rules using Infor LN Studio. Actually these expressions are compiled into objects. The generated source code of these document type objects and report rule objects is visible in Infor LN Studio.
On the Overview page of the LN Report in Infor LN Studio the different Document Output Management Sources, which are applicable for this LN Report, are displayed. Click the link related to this source to open the source editor and set a breakpoint.
The document type expressions are called during the preparation phase (printing the LN Report) to determine the printer devices, and during the distribution phase to handle mail from addresses, receiver independent destinations, existing documents, and so on.
Report rule expressions are called during the selection of a device (to select the applicable report rule), and during printing the LN Report to map the correct report values to document variables.