AI OnAI Off
Contacts and organizations are part of Business Foundation in Commerce. Specifically, you should use the BusinessManager API. The trick is to associate the address with the organization key. See the following example:
var billingAddress = CustomerAddress.CreateInstance(); billingAddress.AddressType = CustomerAddressTypeEnum.Billing; billingAddress.Line1 = "Some street"; billingAddress.City = "Some city"; billingAddress.OrganizationId = organization.PrimaryKeyId; BusinessManager.Create(billingAddress);
Hi There,
I am working on integration webservice that will allow user to upload addresses for organisations.
I can't see or find any method or functionality to add address to an organisation.
The only way I found is creating a dummy Contact with out organisation and add address to it with organisation id.
Can any one help me with this please??
Regards
Pradeep