JDE Reference
F43121
transactionAlso in JDE WorldPurchase order receiver - receipt and voucher-match rows linking PO lines to inventory receipts and A/P vouchers (the 3-way match backbone)
Module: 43 · ProcurementColumn prefix: PR
Notes
PRMATC '1' = receipt rows, '2' = voucher-match rows — filter by match type.
Fields
47 fields · 8 key
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Primary key | PRMATC | MATC | Match record type - separates receipt rows from voucher-match rows | Character | 1 | |
| Primary key | PRDOCO | DOCO | Order number | Numeric | 8 | |
| Primary key | PRDCTO | DCTO | Order document type (e.g. OP purchase order, SO sales order) | String | 2 | |
| Primary key | PRKCOO | KCOO | Company that owns the order-number sequence; part of the composite order key | String | 5 | |
| Primary key | PRSFXO | SFXO | Order suffix distinguishing multiple documents under one order number | String | 3 | |
| Primary key | PRLNID | LNID | Order line number (3 implied decimals, e.g. 1.000) | Numeric | 6 | |
| Primary key | PRNLIN | NLIN | Sequence number of this receipt/match event against the PO line | Numeric | 5 | |
| Primary key | PRDOC | DOC | Voucher document number created by the match | Numeric | 8 | |
| PRDCT | DCT | Voucher document type | String | 2 | ||
| PRKCO | KCO | Voucher document company | String | 5 | ||
| PRSFX | SFX | Voucher pay item | String | 3 | ||
| PRDGL | DGL | General ledger date the transaction posts to | Numeric | 6 | ||
| PRAN8 | AN8 | Supplier address book number | Numeric | 8 | ||
| PRITM | ITM | Short internal item number - joins to F4101/F4102 | Numeric | 8 | ||
| PRLITM | LITM | Second item number, the long code users normally key | String | 25 | ||
| PRMCU | MCU | Branch/plant business unit; right-justified, space-padded to 12 | String | 12 | ||
| PRIMCU | IMCU | Item branch/plant the goods were received into; right-justified, space-padded to 12 | String | 12 | ||
| PRLOCN | LOCN | Warehouse storage location | String | 20 | ||
| PRLOTN | LOTN | Lot or serial number | String | 30 | ||
| PRLNTY | LNTY | Line type controlling G/L, inventory, and A/P-A/R interfaces | String | 2 | ||
| PRGLC | GLC | G/L offset class used to derive distribution accounts | String | 4 | ||
| PRLTTR | LTTR | Last completed status in the order activity flow | String | 3 | ||
| PRNXTR | NXTR | Next expected status in the order activity flow | String | 3 | ||
| PRTRDJ | TRDJ | PO transaction date carried onto the receipt | Numeric | 6 | ||
| PRRCDJ | RCDJ | Receipt date | Numeric | 6 | ||
| PRVINV | VINV | Supplier's invoice number | String | 25 | ||
| PRPST | PST | Pay status of the matched voucher | Character | 1 | ||
| PRRCD | RCD | Reason code on the receipt or reversal | String | 3 | ||
| PRUOM | UOM | Transaction unit of measure | String | 2 | ||
| PRUORG | UORG | Ordered quantity in the transaction unit of measure | Numeric | 15 | ||
| PRUOPN | UOPN | Quantity received but not yet vouchered (open for match) | Numeric | 15 | ||
| PRUREC | UREC | Quantity received to date | Numeric | 15 | ||
| PRUCLO | UCLO | Quantity closed without full receipt or match | Numeric | 15 | ||
| PRQTYR | QTYR | Quantity returned | Numeric | 15 | ||
| PRQTYJ | QTYJ | Quantity rejected | Numeric | 15 | ||
| PRPRRC | PRRC | Unit cost in domestic currency (4 implied decimals) | Numeric | 15 | ||
| PRECST | ECST | Extended cost (quantity x unit cost) in domestic currency | Numeric | 15 | ||
| PRAPTD | APTD | Amount vouchered/paid to date against this receipt | Numeric | 15 | ||
| PRAOPN | AOPN | Received-not-vouchered amount still open | Numeric | 15 | ||
| PRAREC | AREC | Amount received to date | Numeric | 15 | ||
| PRACLO | ACLO | Amount closed | Numeric | 15 | ||
| PRVARC | VARC | Cost variance between receipt cost and vouchered cost | Numeric | 15 | ||
| PRSTAM | STAM | Tax amount in domestic currency | Numeric | 15 | ||
| PRCRCD | CRCD | Transaction currency code | String | 3 | ||
| PRCRR | CRR | Currency conversion spot rate; implied decimals vary by setup | Numeric | 15 | ||
| PRFRRC | FRRC | Unit cost in foreign currency | Numeric | 15 | ||
| PRFEC | FEC | Extended cost in foreign currency | Numeric | 15 |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading F43121on Databricks — Julian dates, implied decimals, and padded strings are already converted. Set your Unity Catalog location and filter values below; they’re substituted into the SQL and the copy button.
Query parameters
-- ============================================================
-- Table : F43121 Purchase order receiver - receipt and voucher-match rows linking PO lines to inventory receipts and A/P vouchers (the 3-way match backbone)
-- Purpose: Column-selected read of F43121 — auto-generated from field metadata
-- Grain : One row per PRMATC + PRDOCO + PRDCTO + PRKCOO + PRSFXO + PRLNID + PRNLIN + PRDOC
-- Notes : Auto-generated skeleton. Julian dates (CYYDDD) are converted to DATE and implied-decimal amounts are scaled (verify decimals in F9210); padded business-unit/UDC keys are TRIMmed. Audit columns (…USER/…PID/…UPMJ) are omitted — see the quirks guide. Set catalog/schema to your Unity Catalog location; fill remaining placeholders (<...>) for your tenant.
-- ============================================================
SELECT
f.PRMATC AS "Match record type - separates receipt rows from voucher-match rows",
f.PRDOCO AS "Order number",
f.PRDCTO AS "Order document type (e.g. OP purchase order, SO sales order)",
f.PRKCOO AS "Company that owns the order-number sequence; part of the composite order key",
f.PRSFXO AS "Order suffix distinguishing multiple documents under one order number",
f.PRLNID / POWER(10, 3) AS "Order line number (3 implied decimals, e.g. 1.000)", -- implied decimals: 3 (verify in F9210)
f.PRNLIN AS "Sequence number of this receipt/match event against the PO line",
f.PRDOC AS "Voucher document number created by the match",
f.PRDCT AS "Voucher document type",
f.PRKCO AS "Voucher document company",
f.PRSFX AS "Voucher pay item",
CASE WHEN f.PRDGL IS NULL OR f.PRDGL = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.PRDGL AS INT) DIV 1000, 1, 1), CAST(f.PRDGL AS INT) % 1000 - 1) END AS "General ledger date the transaction posts to", -- CYYDDD Julian → DATE
f.PRAN8 AS "Supplier address book number",
f.PRITM AS "Short internal item number - joins to F4101/F4102",
f.PRLITM AS "Second item number, the long code users normally key",
TRIM(f.PRMCU) AS "Branch/plant business unit; right-justified, space-padded to 12",
TRIM(f.PRIMCU) AS "Item branch/plant the goods were received into; right-justified, space-padded to 12",
f.PRLOCN AS "Warehouse storage location",
f.PRLOTN AS "Lot or serial number",
f.PRLNTY AS "Line type controlling G/L, inventory, and A/P-A/R interfaces",
f.PRGLC AS "G/L offset class used to derive distribution accounts",
f.PRLTTR AS "Last completed status in the order activity flow",
f.PRNXTR AS "Next expected status in the order activity flow",
CASE WHEN f.PRTRDJ IS NULL OR f.PRTRDJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.PRTRDJ AS INT) DIV 1000, 1, 1), CAST(f.PRTRDJ AS INT) % 1000 - 1) END AS "PO transaction date carried onto the receipt", -- CYYDDD Julian → DATE
CASE WHEN f.PRRCDJ IS NULL OR f.PRRCDJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.PRRCDJ AS INT) DIV 1000, 1, 1), CAST(f.PRRCDJ AS INT) % 1000 - 1) END AS "Receipt date", -- CYYDDD Julian → DATE
f.PRVINV AS "Supplier's invoice number",
f.PRPST AS "Pay status of the matched voucher",
f.PRRCD AS "Reason code on the receipt or reversal",
f.PRUOM AS "Transaction unit of measure",
f.PRUORG AS "Ordered quantity in the transaction unit of measure",
f.PRUOPN AS "Quantity received but not yet vouchered (open for match)",
f.PRUREC AS "Quantity received to date",
f.PRUCLO AS "Quantity closed without full receipt or match",
f.PRQTYR AS "Quantity returned",
f.PRQTYJ AS "Quantity rejected",
f.PRPRRC / POWER(10, 4) AS "Unit cost in domestic currency (4 implied decimals)", -- implied decimals: 4 (verify in F9210)
f.PRECST / POWER(10, 2) AS "Extended cost (quantity x unit cost) in domestic currency", -- implied decimals: 2 (verify in F9210)
f.PRAPTD / POWER(10, 2) AS "Amount vouchered/paid to date against this receipt", -- implied decimals: 2 (verify in F9210)
f.PRAOPN / POWER(10, 2) AS "Received-not-vouchered amount still open", -- implied decimals: 2 (verify in F9210)
f.PRAREC / POWER(10, 2) AS "Amount received to date" -- implied decimals: 2 (verify in F9210)
-- … plus 7 more columns — full list in the Fields section above
FROM <catalog>.<schema_data>.f43121 f
WHERE
f.PRDOCO = <DOCO>
-- AND f.PRDCTO = '<DCTO>'
-- AND f.PRKCOO = '<KCOO>'
-- AND f.PRTRDJ >= <TRDJ_FROM> -- Julian CYYDDD, e.g. 126001
-- AND f.PRTRDJ <= <TRDJ_TO> -- Julian CYYDDD, e.g. 126365
ORDER BY f.PRMATC;7 parameters not filled: <catalog>, <schema_data>, <DOCO>, <DCTO>, <KCOO>, <TRDJ_FROM>, <TRDJ_TO>
Relationships
1-hop neighbors — click a table to navigate there. UDC decode edges point coded fields at their F0005 lookup.
Join details
ON f43121.PRDOCO = f4311.PDDOCO
Programs That Use This Table
Primary programs
- P4312PO Receipts — record receipt of goods against purchase orders, updating on-hand inventory and creating receiver recordsRead/write accessInteractive
- P4314Voucher Match — match supplier invoices to purchase order receipts (two- or three-way match) to create A/P vouchersRead/write accessInteractive
- P43214Purchase Receipts Inquiry — review open and historical receipt records and reverse receipts when neededRead/write accessInteractive