Data Access Layer (DAL)
The Data Access Layer allows developers to describe rules about data. A DAL is linked to a table, not a session. Therefore, anytime the table is accessed, the DAL is used. Therefore, different sessions can update a table and the same rules apply in the same way. In addition, integration capabilities use the DAL to ensure updates occur in the same way.
Data Access Layer scripts implement the business rules of the application to ensure the logical integrity of the database. DAL scripts are a Library software component aligned with a specific table. These scripts are compiled into objects. When a session performs an action on a table, the DAL for the table is loaded.
In LN, two types of Data Access Layer scripts exist: DAL 1 and DAL 2.