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.
Convert String to Long in JAVA
Hi all,
Can some people tip me on this issue?
The following is written in java. the following failed during the compilation because myString[] array was declear as string but sales order number(blue below) in webservices definition is default to long type. How can I go around with this?
===================
[LEFT]
string[] myString = readLine.Split('\t');
TransactionSearch soSearch = new TransactionSearch();
SearchLongField soNumber = new SearchLongField();
[EMAIL="soNumber.@operator"]soNumber.@operator[/EMAIL] = [EMAIL="SearchLongFieldOperator.@equalTo"]SearchLongFieldOperator.@equalTo[/EMAIL];
soNumber.operatorSpecified = true;
soNumber.searchValue = myString[0];
TransactionSearchBasic soBasic = new TransactionSearchBasic();
soBasic.number = soNumber;
[/LEFT]