How can i create a custom shipping address on a sa...
# suitescript
e
How can i create a custom shipping address on a salesorder with suitescript? I'm trying to set the customer address in code but i only want it to be used on one particular order and not to be saved to the customers addressbook.
b
e
Thanks how do i know what values to pass into the getsublistsubrecord for the shippingaddress subrecord
b
is your shipping address on the item sublist?
e
no. it is its own field on a salesorder
b
then you wouldnt be using the sublist related methods
look for the body field specific documentation
e
is it possible that its not a subrecord? in the ui when i select custom from the ship to select it opens an address form
b
not possible
e
b
the addresses on a sales order are subrecords, and opening a new window/tab is one of the primary characteristics of a subrecord
e
oh gotcha
b
you should have gotten to the About the Address Subrecord by now