I have a sales order with multiple line level loca...
# suitescript
s
I have a sales order with multiple line level locations on it. When I transform the sales order into an Item Fulfillment without any default values, it only includes items with the first line level location. How can I specify which location I am trying to fulfill? I tried
defaultValues: {inventorylocation : inventoryLocation}
where inventoryLocation is the internal ID of the location I would like to fulfill, but it did not seem to change anything. Is there a different default value I can set in record.transform to accomplish this?
b
is
Enable Item Line Shipping
set on the sales order
s
yea
b
ship groups are what you are looking for
s
So the locations are on the line level, and have muliple ship to's
s
so I would use defaultValues: {shipGroup: x} when transforming the sales order?
b
im not sure about the camelcasing, but yes
s
oh yes probably not camel case my mistake
Do you know how I would know which ship group I need? Like how that connects to a purchase order perhaps?
Since the shipment is really connected to a purchase order, which should, I would think, all be one location
b
a search like in the documentation
s
Ok thank you!