The issue is that 'commit' is throwing RowInconsistentException. I am sure that no other user is having a lock on records.
I have tried the following without any success :
1. Calling row.refresh(Row.REFRESH_UNDO_CHANGES) before row.remove
2. Calling refresh(REFRESH_WITH_DB_FORGET_CHANGES) before row.remove
3. Making 'Refresh After Insert/Update' = 'true' for History columns and Primary key attributes in the corresponding EO.
None of the above helped and I keep getting RowInconsistentException JBO-25014
Please help me resolve this issue.
Thanks in advance,