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!
help..Unable to get item price from specific price level in webservices
We are trying to bring back prices for items associated with a specific price level but are hitting a wall. We can get base price but we cannot access any other price levels that we have set up
ItemSearchBasic isb = new ItemSearchBasic();
RecordRef acctRef = new RecordRef();
acctRef.type = RecordType.account;
acctRef.typeSpecified = true;
acctRef.internalId = "295"; //Summer Camp Income 41600
SearchMultiSelectField acct = new SearchMultiSelectField();
acct.@operator = SearchMultiSelectFieldOperator.anyOf;
acct.operatorSpecified = true;
RecordRef[] acctArray = new RecordRef[1];
acctArray[0] = acctRef;
isb.account = acct;
isb.account.searchValue = acctArray;
GetAllRecord re = new GetAllRecord();
re.recordType = GetAllRecordType.priceLevel;
re.recordTypeSpecified = true;
GetAllResult res = service.getAll(re);
Record[] records = res.recordList;