Please help me on this issue. Scenario is : User created & accepted 100001 (SES) for rs 1000.00 then Inv posted ref to SES 100001 for rs 1000. Clearing also done. Now user had revoked that SES but accounting doc did not reversed. I was testing the same in QA, system dont allow to revoked SES which has invoice posted against it. But it has happened on production.