run_three_way_match
Compare purchase order lines against goods receipt and AP invoice to flag quantity or price mismatches beyond tolerances, including missing documents, under/over receipts, and over-invoicing.
Instructions
Run a three-way match for a Purchase Order — compares PO lines (committed quantity and price) against the Goods Receipt PO (received) and AP Invoice (invoiced). Flags: NO_GRPO, NO_AP_INVOICE, UNDER/OVER_RECEIVED, OVER_INVOICED, PRICE_VAR_PO_GRPO, PRICE_VAR_GRPO_INV beyond configurable tolerances.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poDocEntry | Yes | DocEntry of the Purchase Order to verify | |
| qtyTolerancePct | No | Acceptable quantity variance % before flagging (default 0 = exact match) | |
| priceTolerancePct | No | Acceptable price variance % before flagging (default 2) |