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.
Search order by externalId error
I am a novice,and My English is not very good.I want to search order by externalId ,but i am fail search,can you tell me How to solve it.
TransactionSearch transactionSearch = new TransactionSearch();
TransactionSearchBasic transactionSearchBasic = new TransactionSearchBasic();
RecordRef[] arryrec = new RecordRef[2];
RecordRef subsl = new RecordRef();
subsl.type = RecordType.subsidiary;
subsl.internalId = "15";
arryrec[0] = subsl;
RecordRef exid = new RecordRef();
exid.type = RecordType.salesOrder;
exid.externalId = TextBox1.Text.Trim();
exid.typeSpecified = true;
arryrec[1] = exid;
SearchMultiSelectField externalId = new SearchMultiSelectField();
externalId.@operator = SearchMultiSelectFieldOperator.noneOf;
externalId.operatorSpecified = true;
externalId.searchValue = arryrec;
transactionSearchBasic.externalId = externalId;
transactionSearch.basic = transactionSearchBasic;
SearchResult searchRes = _service.search(transactionSearch);