Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Please configure the inventory detail for this line when creating an invoice using SuiteScript
Hi, I am trying to create an invoice where the item is an inventory item that uses a bin. I checked and I have enough inventory for this item. I am able to commit the line for the inventory details but I get the error message when the invoice is committed. I actually followed the script in the support page. I have no idea what is missing. I would appreciate any help. Thank you in advance!
Here's the script I am using for my testing. This is exactly (except the ids) in the support page.
/**
* @NApiVersion 2.1
* @NScriptType ScheduledScript
*/
define(['N/record', 'N/log'], (record, log) => {