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.
Sales Order Item Options
Hello,
I'm creating a sales order with an item and a client attached to it using Java.
I would like to set the Options field where i have 3 custom fields, but i can't access these fields, i'm getting an error : "The specified custom field reference custcoldomain1 is invalid."
Here is my code :
...
//Get the the item
item = new RecordRef();
item.setType(RecordType.inventoryItem);
item.setInternalId(PRODUCT);
salesItem = new SalesOrderItem();
salesItem.setItem(item);
//Set quantity and price
salesItem.setQuantity(QUANTITY);
salesItem.setAmount(PRICE);
//Set the Options
StringCustomFieldRef custcoldomain1 = new StringCustomFieldRef();
custcoldomain1.setInternalId("custcoldomain1");
custcoldomain1.setValue("www.somevalue.com");
BooleanCustomFieldRef custcoldomaintemp1 = new BooleanCustomFieldRef(true,"custcoldomaintemp1");