Discussions
Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!
Join the largest gathering of the NetSuite Community at SuiteWorld in Las Vegas, September 9-12! Discover cutting-edge innovations, attend insightful sessions, network with industry leaders, and elevate your business to new heights. Register here!
Remaining inventory qty for Work order completion
Hello,
We are integrating our MES to Netsuite and send WOC to Netsuite as needed. Before we send WOC, we query how much qty is remaining for each item in inventory detail (so we do not get to negative qty).
I have the script mostly working except for lot number. The result I get is shown below and you can see inventorynumber is null.
[ {\"internalid\":\"1970\",\"item\":\"500-000009\",\"islotitem\":null,\"binnumber\":\"\",\"location\":null,\"inventorynumber\":null,\"expirationdate\":null,\"status\":\"\",\"onhand\":\"1200\",\"available\":null}, {\"internalid\":\"1971\",\"item\":\"500-000010\",\"islotitem\":null,\"binnumber\":\"\",\"location\":null,\"inventorynumber\":null,\"expirationdate\":null,\"status\":\"\",\"onhand\":\"600\",\"available\":null}, {\"internalid\":\"1973\",\"item\":\"501-000005\",\"islotitem\":null,\"binnumber\":\"\",\"location\":null,\"inventorynumber\":null,\"expirationdate\":null,\"status\":\"\",\"onhand\":\"16500\",\"available\":null}, {\"internalid\":\"1975\",\"item\":\"501-000007\",\"islotitem\":null,\"binnumber\":\"\",\"location\":null,\"inventorynumber\":null,\"expirationdate\":null,\"status\":\"\",\"onhand\":\"13500\",\"available\":null} ]
Tagged:
0