Item Fulfillment using API Issue
I originally had everything working with the Item Fulfillment call to the API until my client changed a setting in NetSuite and now no matter what I do, I can not get the thing to work.
Client unchecked the “Default Items to Zero Received/Fulfilled” preference in NetSuite
On this S/O I already filled line 1 (before setting change) I added 2 more lines to the S/O and I only get errors. I get same errors if I create a clean S/O.
My Call:
salesorder/1942666/!transform/itemfulfillment?init=inventorylocation:120
My Json:
That “Default Items to Zero” setting change can definitely break API calls that were working before! The transform is now expecting different line handling since it’s not auto-zeroing unfulfilled items anymore.
We’ve debugged similar API headaches countless times – usually it’s about how the transform interprets existing vs new lines after preference changes. At RILE CPQ, we see this type of thing pop up when fulfillment logic gets tweaked mid-stream.
Have you tried explicitly setting quantities for all lines in the transform, even the ones you don’t want to fulfill?
Good Morning, if you still need help with this, here is what I think this line is wrong: salesorder/1942666/!transform/itemfulfillment?init=inventorylocation:120, your hitting item sublist which I whould not transform but create the item fulfullment.



