AR Credit Memo did not accounted correctly
We have two ledgers: BRL Ledger and USD Ledger, and AR Credit Memo is not accounting correctly if the user changes the Transaction Type after the approver rejects the transaction.
If the transaction is in BRL the account used on USD Ledger is wrong.
If the transaction is in USD the account used on BRL Leger is wrong.
to replicate the issue:
Create a Credit Memo using a Transaction Type
Submit for Approval
Approver Rejects the CM
User change the Transaction Type using the same CM
Submit for Approval
Approver approves the CM
Run Create Accounting
The process will account one ledger in the correct account and the other one in an incorrect account