I have written a script which looks up a multiselect field on the customer record and then sets a field on the sales order when the record is saved.
I have got it to work by firstly loading the customer record, using nlapigetFieldValues which creates an array of the values.
If I try to use nlapiLookupField instead I get the values separated by a comma. Is it possible instead to convert this into a string/array like the above?
We'd ideally like to avoid loading the customer record if possible so if there is a better way then I'd love to hear it!
Cheers
Sam
This is a cached copy. Click here to see the original post.