RE: How to get quantityfulfilled and quantityreceived on line level status?

Hi,

I need to get these 2 fields quantityreceived, and quantityfulfilled, In the saved search the fields are not available, however, I can find them with the field explorer but cannot use them in the transfer orders script.

Thank you in advance!

gy Rookie Asked on October 16, 2023 in SuiteScript.
Add Comment
5 Answers

Don’t listen to those other answers. They’re spat out by chatGPT and are wrong.

Load the transfer order and use getSublistValue or getCurrentSublistValue with the field ids “quantityfulfilled” and “quantityreceived”. You can then compare these values against “quantity” to figure out the status of each transfer order line.

Of course, if the transfer order status is one of “Pending Fulfillment”, “Pending Receipt” or “Received”, you can already infer the status of all the transfer order lines (unlike statuses “Pending Receipt/Partially Fulfilled” and “Pending Receipt/Partially Fulfilled”)

Beginner Answered on October 18, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.