Three-way match with AI
Record PO-7781 for 200 cases of tinned tomatoes, then a goods receipt with 180 cases accepted and 4 damaged. List the discrepancies before I match the invoice.
- po_add Creates the purchase order with its line
- grn_add Records the receipt: 180 accepted, 4 damaged
- grn_discrepancy Lists the short and damaged lines
- three_way_match Checks the supplier invoice against the PO and accepted quantity
A discrepancy list showing 20 cases short and 4 damaged, and a match report that flags any invoice line billed above the accepted quantity.