Having an issue on Sales Orders. When I view or ed...
# general
e
Having an issue on Sales Orders. When I view or edit a Sales Order, the bill to (greyed out box) shows one address... let's say
123 Main Street
Somecity, NY, 12345
But when I click on the Edit Address button, the pop up shows a different address, let's say
555 Park Ave.
Othertown, NY, 55555
Override is not enabled. When I create a search for this Sales Order, the column of "Billing Address" shows
123 Main Street
Somecity, NY, 12345
But the column of "Billing Address 1" shows
555 Park Ave
column of "Billing Zip" shows
55555
, and column of "Billing City" shows
Othertown
Anyone seen this before?
b
extra common when a customization changes the address
netsuite doesnt always update the address text on the sales order
e
We had/have an issue where the billing address wasn't coming in properly from our eCommerce site, so I created a script that calls an API and updates the billing address. For that I'm using
record.getSubrecord({
fieldId: 'billingaddress'
});
And when setting the values, none of them are set to ignore field change. But the "billaddress" field doesn't update. Think I can just use record.setValue for "billaddress" and set it to a string literal of the address information? @battk
b
that will work if you dont have concerns about the format of the address
otherwise I normally only see this in user event scripts, in which case I recommend removing the address subrecord before setting the address fields again to make netsuite recalculate the address text