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!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
ERROR: You must enter at least one line item for this transaction
I keep recieving the error "You must enter at least one line item for this transaction". Is this error due to a problem with my code or is it due to the issue discussed in this thread. Please help if possible either way.
ItemFulfillment ifm = new ItemFulfillment();
RecordRef rf1 = new RecordRef();
rf1.internalId = "20241";
rf1.type = RecordType.salesOrder;
ifm.createdFrom = rf1;
ItemFulfillmentItemList ifml = new ItemFulfillmentItemList();
ifml.replaceAll = false;
ItemFulfillmentItem ifmitem = new ItemFulfillmentItem();
RecordRef rfitem = new RecordRef();
rfitem.internalId = "4601";
rfitem.type = RecordType.inventoryItem;
ifmitem.orderLine = 1;
ifmitem.orderLineSpecified = true;
ifmitem.item = rfitem;
ifmitem.quantity = 2.0;
ifmitem.quantitySpecified = true;
ifml.item = new ItemFulfillmentItem[]{ifmitem};
ifm.itemList = ifml;