Void transactions: 1) Sales order Validation - Status = WIP/COMPLETED - Posted to stk_reserve_trans (S/O) - DO NOT check transfer status Transaction - Reverse stk_reserve_trans (S/O) - qty = actual qty - qty which reversed by DO/INV - Update inventory's reserved qty - reserved qty = stk_reserve_trans qty - Removed all related document tagging - Status = VOID ** When reposting a voided S/O, post reserve detail's qty = qty - sent_qty (some lines might have already transferred to D/O) 2) Delivery order Validation - Status = WIP/COMPLETED - Posted to stk_trans Transaction (Together with sales invoice if status = COMPLETED) - Reverse stk_trans - Reverse stk_reserve_trans (if exist in sales_tracking) - Update inventory's balance qty - Remove sales_tracking - Update sales_odr_dtl sent_qty (if exist in sales_tracking) - Status = VOID 3) Sales invoice Validation - Status = WIP/COMPLETED - Posted to debtor_trans - Posted to stk_trans Transaction (Together with D/O if do_code != '-') - Reverse debtor_trans + tax_trans (if applicable) - Status = VOID 4) Cash sales invoice Validation - Status = COMPLETED - Posted to debtor_trans - Posted to stk_trans Transaction - Reverse debtor_trans + tax_trans (if applicable) - Status = VOID 5) Sales return 6) Sales credit note 7) Sales debit note 8) A/R Payment