Question about Shipping Address on Sales Order tra...
# suitescript
e
Question about Shipping Address on Sales Order transactions. I'm trying to get the internal id of the address that is selected on the Sales Order Shipping tab. Using Netsuite Field Explorer Chrome Extension I can see the following: shipaddresslist which contains the ID of the address record that shows up on the Address tab on the customer record. When you click the pencil icon to view that address, it has its own internal id which is different from the shipaddresslist id. It is however, the same as the shippingaddress_key value on the SO. However, shipaddresslist field is sometimes not present or available or has a value in other SOs and the shippingaddress_key value on those SOs that don't have shipaddresslist DOES NOT match up to the address internal id or the id on the customer record's address line. On a UE, I need to consistently get the address id of the address selected on the shipping tab. Anyone have a solution or encountered this and can offer some insight?
Finally figured out the shipaddresslist mystery as to why it is not “present” in some SOs. On the SO form in edit mode, Select Ship To is shipaddresslist. If it shows as CUSTOM, it will not have a value for shipaddresslist on the SO record. Instead it will have shippingaddress_key which cannot be used to relate back to any of the addresses on the customer record.