Friday, May 29, 2015

Global Address Framework [AX 2012]

The global address book (GAB) framework allows information to be shared across companies and entities. Records in the GAB contain fields for postal address, email address, and other similar information. GAB records also contain fields for the associated person or organization, which is called the party. 

Party ---- An entity that assumes a legally binding role when participating in contractual relationships.  A party can be a person or organization and it can be internal or external to an organization. A person or organization that participates in economic activities. A party can be internal or external to an organization.

Location ---- Location to refer to both a physical location (postal address) and electronic address (contact information). Postal address and contact information cannot exist without a location. A geographic point or region, A physical address, An electronic address,functional facility.


  • DirPartyTable Global address book. This will contain entries for all people and organizations  you deal with, including customers, suppliers, employees, etc. This information is maintained across the entire organization. NB the table structure often refers to address book entries as 'parties'. Generally other records (like customer, supplier, etc) will reference a record in this table by a field named Party.
  • LogisticsLocationThis is a single 'location' that can be attached to one or more address book entries. This is similar in principle to the old 'Address' table from Ax2009, that no longer exists - The main difference now being that the location header always points to an address book entry, whereas in 2009 the Address table could point to anything.
  • LogisticsPostalAddress Note that this is not an address - Physical address details are stored in LogisticsPostalAddress.
  • LogisticsElectronicAddress - A postal address, linked to a LogisticsLocation record via field 'LocationElectronic' address details, such as email, phone, web address etc.
  • DirPartyLocation -Each different type of address is represented as a separate record, delineated by 'Type'. This links to the location record
  • LogisticsLocationRole -  This table links entries in the LogisticsLocation table to an address book entry (DirPartyTable). This defines types of roles that an address are classified as, such as "Delivery", "Invoice", etc
  • DirPartyLocationRole Links a location role type (LogisticsLocationRole) and an address book entry (DirPartyTable).
  • DirPartyPostalAddressView (view) - This is a view that collates address book entries with their linked postal addresses
Tables:-

BankAccountTable(Location)--LogisticsLocation(Recid)--LogisticsPostalAddress(Location)
Example forms The following forms have been updated to use single address logic. 
BankAccountTable 
BankGroup 
IntrastatParameters 
CustBankAccounts 
VendBankAccounts 
HcmWorkerBankAccount

Example forms The following forms have been updated to use multiple address logic:
CustTable (Party-based) 
tutorial_Form_GABPrimitive (Party-based) 
HcmApplicantBasket (Party- and non-party based) 
InventLocation (Non-party based) 
VendTable (Party-based) 
HcmWorker (Party-based)

http://axinternals.blogspot.com/2011/09/basic-address-book-structure-in-ax2012.html
How to update Postal Address for a contact person(  https://msdn.microsoft.com/en-us/library/hh608238.aspx)