@Tyler How are you creating the record? normally an Item Receipt is transformed from a Purchase Order and not created per say.
t
Tyler
01/22/2021, 8:31 PM
That could definitely be the issue I’m running into. I’ll try transforming instead of creating. Thanks @alien4u
a
alien4u
01/22/2021, 8:33 PM
So basically you don't need to do what you are doing, you transform, loop the receipt lines and receive what you need/want. You don't need the Purchase Order record at all, only the ID.
t
Tyler
01/22/2021, 8:37 PM
This is good to know! I haven’t worked with Item Receipts in a while so I’m rusty. Could you remind me how I would receive a specific line via suitescript? Would it just be a matter of setting the quantity?
Tyler
01/22/2021, 8:54 PM
Is it possible to only receive some of the items from the PO rather than all of them I guess is my question
Tyler
01/22/2021, 9:15 PM
Figured it out! I can set the itemreceived field on a line item that I don’t want to receive - nice! Thanks again for your help @alien4u