Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Adding multiple Address
Hi,
I have a issue related to Customer Address.
When i add two address and mention address type for each address like for address1 it should be default billing
address2 it should be default shipping
but it save address 1 as both as default shipping and billing in NetSuite.
My code is mentioned below.
address[0].defaultShipping = true;
address[0].defaultShippingSpecified = true;
address[0].defaultBilling = false;
address[0].defaultBillingSpecified = false;
address[1].defaultBilling = true;
address[1].defaultBillingSpecified = true;
address[1].defaultShipping = false;
address[1].defaultShippingSpecified = false;
Regards
Binay