Reversing an already posted entry
Based on the status change (POSTED to REVERSED), system should ask the user to input the reason/remarks for the reversal.
Upon saving, system has to create an entry with the opposite effect of the payable invoice.
Also, the original document should be tagged with the reversal document number and reversal document number should be tagged with the original invoice.
Notes:
✓Examples together with the field mapping will be provided in a separate document.
✓Balance amount field should be again added with the amount of the payable invoice.
✓Also, the previously inserted actual cost record should get deleted.