What does a value of RM10101.PSTGSTUS of 2 mean?
It should be 3 while unposted and 1 when posted.
I just got called into a case where the client was trying to run removed paid transaction removal and was getting the usual primary key violation message. After confirming that there no documents in both open and history tables I noticed in the RM10101 table there were four records for this one document. For one pair PSTGSTUS was 1 and for the other pair it was 2. After deleting the pair with a value of 1 they were able to run paid transaction removal.