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 Confirmation to NetSuite
Hi,
We used the following code to get the Sales Order details based on TranID from NetSuite using webservices.
TransactionSearch tranSearch = new TransactionSearch();
TransactionSearchBasic tranSearchBasic = new TransactionSearchBasic();
SearchStringField entityId = new SearchStringField();
entityId = new SearchStringField();
entityId.@operator = SearchStringFieldOperator.contains;
entityId.operatorSpecified = true;
entityId.searchValue = <value>;
tranSearchBasic.tranId = entityId;
tranSearch.basic = tranSearchBasic;
SearchResult response = cnw.search( tranSearch );
SalesOrder salesOrderHeader = (SalesOrder) response.recordList[0];
RecordRef recordRef = new RecordRef();
recordRef.internalId = salesOrderHeader.internalId;
recordRef.type = RecordType.salesOrder;
recordRef.typeSpecified = true;
ReadResponse responseItemList = cnw.get( recordRef );
SalesOrder salesOrderItemList = (SalesOrder) responseItemList.record;
We have two queries on this. Appreciate if any one can help us resolve this.