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.
Obtaining SalesOrderItemList related list of SalesOrder header
I am trying an example from the NSClient (SuiteTalk based) example app but the sale order line items list belonging to the sale order returns null, following the functions involved (I have put on red the "sensible" parts) ...
private static void ProcessSalesOrderItemList(SalesOrder so)
{ [INDENT]Client.Out.WriteLn(" Sales Order line item list:");
if (so.itemList != null)
{[/INDENT]
[INDENT=2]for (int i = 0; i < so.itemList.item.Length; i++)
{[/INDENT]
[INDENT=3]SalesOrderItem item = (SalesOrderItem)(so.itemList.item[i]);
Client.Out.WriteLn(" " + item.item.name + ", quantity: " + (int)item.quantity);[/INDENT]
[INDENT=2]}[/INDENT]
[INDENT]}
Client.Out.WriteLn(" " + "Total amount: " + so.total);[/INDENT]