This topic contains 0 replies, has 0 voices, and was last updated by mgolovanov 8 years, 8 months ago.

  • Author
    Posts
  • #6769

    mgolovanov

    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

    Code:
    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

    Code:
    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.

    This code works fine for several other customer’s databases.

    We have no idea what is wrong because by this point of the code, we do not know and do not use any record ids or something else. The search call is the first call for data after logging in.

    The customer says they have thousands of active items int their database.

    Public site view proves this. How do we work around this error? We have searched the available documentation and this forum, nothing on this at all.

    Thank you
    This is a cached copy. Click here to see the original post.

You must be logged in to reply to this topic.