Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
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;