The msdn article How To: Update a Postal Address for a Contact Person [AX 2012] talks about adding a contact info, and an address associated with this.
On further reading of the Implementing the Global Address Book Framework (White paper) [AX 2012] I found that in a similar way you can use the CustomerEntity or VendorEntity to create addresses and electronic address.
However, to create an electronic address inside the postal address (LogisticsPostalAddress) you will have to use the LogisticsElectronicAddressEntity class to create the electronic address, after you modify the static method createElectronicAddress to accept parent location. (If you create the postal address as per the document, you will have the parent location with you)
Filed under: Ax 2012, Dynamics Ax, X++ Tagged: AX2012, Dynamics Ax
