Scripting inventory status
I’ve got a map/reduce script, which has been running for a while, which transforms from work order to assembly build.
var build = record.transform({ fromType: record.Type.WORK_ORDER, fromId: workorder, toType: record.Type.ASSEMBLY_BUILD }); var built = build.save({});
We’re now testing the “Inventory status” feature in sandbox to see if we can use this to quarantine stock when needed. Having switched the feature on, we get an error on work order transforms “Please configure the inventory detail for the assembly item”.
I’m struggling to see what needs to be done to stop the above and I can’t find any documentation regarding scripting this feature. Has anyone else been through this process?
try this https://[YOURSANDBOX].app.netsuite.com/app/help/helpcenter.nl?fid=section_4569179830.html
from the Help Center
Thanks – but that actually gives me a help article on “Inventory Detail Import Errors”.
From what I can see elsewhere, it seems that I need to need to set a sublist value for component > componentinventorydetail, but I can’t find any clues as to what values need setting where.