Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
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