Global Address book
There is a significant change in Ax 2012 related to address framework.
– This is built on party concept where you can have 2 types of party, organization and person
for eg organization can be customer, vendor, business relation etc and person like contact etc..
– Party is used to link the entities to address, contact information
– In Microsoft Dynamics AX 2012, the concept of location is introduced to refer to both a physical location
(postal address) and electronic address (contact information).
Postal address and contact information cannot exist without a location
Following is an example how and where the address related data is stored:
Let us consider we are creating address for a customer
– Here customer is referred to as party and this information is on the CustTable.Party field.
this field refers to the RecId of DirPartyTable. Any address/contact information created for this customer
are linked through this party
New address can be added as below
– Once we enter the required details and add the address, a new location is created in the LogisticsLocation
table which acts as a link/reference for the postal and electronic address.
– A record in DirPartyLocation is also created with a link for location to the party.
– Postal address (city, street, country, zipcode) information is stored on the LogisticsPostalAddress table
simultaneously when we create a new address in Contact Information section then it is stored on
LogisticsElectronicAddress table.
– Both the LogisticsPostalAddress & LogisticsElectronicAddress tables have relation to the newly created
Location
The link between the tables can be depicted as below
CustTable.Party -> DirpartyTable.RecId -> DirPartyLocation.Party -> LogisticsLocation.RecId
-> LogisticsPostalAddress.Location (Or) LogisticsElectronicAddress.Location
During the creation of the address we can select the type of address such as delivery, Business etc..
This is referred as the Role and the data related to this is stored in the tables LogisticsLocationRole, LogisticsLocationRoleTranslation, DirPartyLocationRole
Following are some of the objects that can be useful in making modifications related to address like new changes, getting address data, inserting address data etc…
\Data Dictionary\Views\DirPartyPostalAddressView
\Classes\DirParty
\Classes\DirPartyLocationEntity
\Classes\LogisticsLocationEntity
\Classes\LogisticsPostalAddressEntity
\Classes\LogisticsElectronicAddressEntity
This was originally posted here.
*This post is locked for comments