Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • SIF API to delete record from Base Object

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 491
    Comment on it

    If you want to soft delete the record from Base Object you can use following code, please put corresponding values for items on which comment has been written:

            DeleteRequest request = new DeleteRequest();
            RecordKey recordKey = new RecordKey();
            recordKey.setRowid("345593");  // Rowid_Object of the Record in BO
            recordKey.setSystemName("SAP");  // Source System name of Record
            ArrayList recordKeys = new ArrayList();
            recordKeys.add(recordKey);
            request.setRecordKeys(recordKeys); 
            request.setDeleteBORecord(true);
            request.setSiperianObjectUid("BASE_OBJECT.MY_BASE_OBJECT"); //Name of Base Object 
            DeleteResponse response = (DeleteResponse) sipClient.process(request);
    

    Above request will soft delete the record from Base Object i.e. it will set HUB_STATE_IND to -1 in the record. Soft deleted record can be restored using Restore API.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: