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.
Trouble with posting period on an Invoice
I am writing invoices with WS, and I run into trouble trying to use the postingPeriod. Code is below. (Forgive this weird syntax, I am using ColdFusion and you have to do a seperate .init call to send any constructor variables)
gsvt = CreateObject("java", "com.netsuite.webservices.platform.core_2_5.types.GetSelectValueType");
gsvf = CreateObject("java", "com.netsuite.webservices.platform.core_2_5.GetSelectValueField");
catt = gsvf.init(gsvt.check_postingPeriod);
The error I get is:
Unable to find a constructor for class com.netsuite.webservices.platform.core_2_5.GetSelectValueField that accepts parameters of type ( com.netsuite.webservices.platform.core_2_5.types.GetSelectValueType ).
...which is crazy, since I can query the class file and see that this is one of the two constructors available. Anyone see what I'm doing wrong?