Does Initialize on an Item Receipt just create a fully received IR in one step? If you wanted to do a partial receipt with Initialize, how would that work?
c
CraigyD
05/14/2019, 2:43 PM
I believe you would set 'itemreceive' to 'F' on the lines you don't want to receive in. I'm working on item receive scripted stuff at the moment actually.
a
AJ
05/14/2019, 3:06 PM
@CraigyD Thanks that makes sense. I guess after the initialize call then an update call would need to be made to set the lines?
c
CraigyD
05/14/2019, 3:15 PM
Something along those lines yeah.
👍 1
CraigyD
05/14/2019, 3:32 PM
I'm setting the lines as unchecked for those I don't want and creating an inventory detail subrecord on those lines I do need to receive in.
a
AJ
05/15/2019, 4:18 PM
@CraigyD Can you upsert or add an item receipt without a need to initialize or does it have to match the UI workflow of clicking the "Receive" button by being initialized first?
n
Nairolf
05/20/2019, 3:27 AM
Guys, sorry to jump in. Would you know how to manage the status in inventory detail when we script an item receipt?