Adding Address to Vendor / Customer / Contact info [AX2012]


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)

Advertisements

2 thoughts on “Adding Address to Vendor / Customer / Contact info [AX2012]

  1. I am trying to do add an electronic address inside a postal address but using the webservice (CustService) but don’t see how. DirPartyPostalAddressView doesn’t have an array or addresses and AxdEntity_DirPartyContactInfoView doesn’t have a parentlocation.
    any ideas?

    Like

Leave a Reply / Comment

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s