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!
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]