Mike Casey
05/29/2025, 6:32 PMCeligo AI
05/29/2025, 6:32 PMAI generated answer (using internal Slack threads):When transforming a Transfer Order to an Item Receipt using the REST API, and the Transfer Order has multiple fulfillments, you can specify which fulfillment you are receiving by using the
auxReference
element or by setting the defaultValues
on your transform.
In the first approach, you can initialize an item receipt from the transfer order and use the auxReference
element to specify which item fulfillment you are receiving. This is done in the context of SuiteTalk.
In the second approach, you can pay attention to the URL's query parameters after you have selected which fulfillment to receive in the UI. These query parameters are defaultValues
which you need to set on your transform. Here is an example of how you might do this:
javascript
var receiptRec = record.transform({
fromType: record.Type.TRANSFER_ORDER,
toType: record.Type.ITEM_RECEIPT,
fromId: data.toid,
defaultValues: {your_default_values}
})
If you need to know which item fulfillment correlates to which line item from a search of a transfer order, you can use the applying transaction join
or applied to transaction join
, depending on which direction you are working from.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
05/29/2025, 6:32 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.868561149
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.857004583
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.848259926
Celigo AI
05/29/2025, 6:32 PM