Microsoft Dynamics Ax Maps
In Dynamics Ax, several of the features in the Account Payable module and the Account Receivable module are very similar, therefore even most of the main tables, transactions tables and setup tables are similar. With similar features the business logic is also similar, therefore making it possible to reuse much of the code. However, although the tables and their fields may appear similar in their construction, the names used are likely to be quite different. This is where Table Maps are used. Maps define X++ elements that wrap table objects at run time. With a map, you associate a map field with a field in one or more tables. Maps are often referred to as table maps to differentiate from the foundation class map. A map is declared just as a table. In fact only the name shows a map is used. So it is recommend suffixing the name of the map with *Map making it easier to read the code. In maps, typically only fields are created and mapped, as properties ...