Data structure examples

Some good examples of tables in the standard product to review for particular features are:

  • Table 18 Customer, for a variety of data types and Field Classes. This table contains some fairly complex examples of C/AL code in the table triggers. A wide variety of field property variations can be seen in this table as well.
  • Table 14 Location and Table 91 User Setup both have good examples of the OnValidate trigger C/AL code, as do all of the primary master tables (Customer, Vendor, Item, Job, and so on).