Naming a table
There are standardized naming conventions defined for NAV which we should follow. Names for tables and other objects should be as descriptive as possible, while keeping to a reasonable length. This makes our work more self-documenting.
Table names should always be singular. A table containing data about customers should not be named Customers
, but Customer
. The table we created for our WDTU Radio Station NAV enhancement was named Radio Show
, even though it will contain data for all WDTU's radio shows.
In general, we should always name a table such that it is easy to identify the relationship between the table and the data it contains. For example, two tables containing the transactions on which a document page is based should normally be referred to as a Header table (for the main portion of the page) and a Line table (for the line detail portion of the page). As an example, the tables underlying a Sales Order page are the Sales Header and the Sales Line tables...