Restlet to set Inventory Detail on Work Order not working, but not erroring…

I have a Restlet that will be taking in a post message from an external partner to update the line level inventory details for the lot numbered items in the components list of a Work Order.

I need to set the Lot# and Quantity on the Inventory Detail and I have a script that processes without error at this point, however… what it does not do is save the inventory detail…

Any advice that will steer me in the right direction on why this is failing would be great because my brain has officially given up on me.

 

** UPDATE **

I found the solution to my issue… I was not committing the inventory assignment line before committing the work order line.

Rookie Asked on March 6, 2024 in SuiteScript.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   SuiteMigration   Become a Sponsor