Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Workaround for RCRD_DSNT_EXIST in a response to item search needed
Hello all
We use item search in our SuiteTalk-based extension, and for one of customer's databases, this search fails with RCRD_DSNT_EXIST. The code is
ItemSearch itemSearch = new ItemSearch(); ItemSearchBasic itemSearchBasic = new ItemSearchBasic(); itemSearchBasic.setIsInactive( new SearchBooleanField( new Boolean( false ) ) ); itemSearch.setBasic( itemSearchBasic ); SearchResult itemSearchResult = myExecutor.getPort().search( itemSearch ); if( itemSearchResult != null && itemSearchResult.getStatus().length > 0 ){ // error status logging goes here }
and for one of customer's databases, this code results in
02/29/2016 09:00:05 GMT ERROR: search(itemSearch) - status details: 02/29/2016 09:00:05 GMT Code=RCRD_DSNT_EXIST 02/29/2016 09:00:05 GMT Message=That record does not exist. 02/29/2016 09:00:05 GMT Type=ERROR
This code is simple and straightforward.
0