JDE Reference
F0411
transactionAlso in JDE WorldAccounts payable ledger: one row per voucher pay item with gross, open, discount, and tax amounts, due dates, pay status, and the PO keys behind three-way match.
Module: 04 · Accounts PayableColumn prefix: RP
Notes
PO-matched vouchers carry RPPO/RPPDCT/RPPKCO/RPLNID and link to F43121 match type 2 rows; join on those keys for three-way-match analysis.
Fields
41 fields · 5 key
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Primary key | RPKCO | KCO | Document company that owns the voucher number sequence | String | 5 | |
| Primary key | RPDOC | DOC | Voucher document number | Numeric | 8 | |
| Primary key | RPDCT | DCT | Voucher document type (PV standard voucher, PD debit memo, PL logged, etc.) | String | 2 | |
| Primary key | RPSFX | SFX | Pay item — vouchers split into pay items with independent terms and status | String | 3 | |
| Primary key | RPSFXE | SFXE | Pay item extension used by prepayments and multi-tax-rate splits | Numeric | 2 | |
| RPAN8 | AN8 | Supplier address book number | Numeric | 8 | ||
| RPPYE | PYE | Payee address number actually receiving payment, when it differs from the supplier | Numeric | 8 | ||
| RPDIVJ | DIVJ | Supplier's invoice date | Numeric | 6 | ||
| RPDDJ | DDJ | Net due date that drives the payment schedule and A/P aging | Numeric | 6 | ||
| RPDDNJ | DDNJ | Discount due date — pay by this date to earn the discount | Numeric | 6 | ||
| RPDGJ | DGJ | G/L date that places the voucher in a fiscal period | Numeric | 6 | ||
| RPFY | FY | Fiscal year of the G/L date | Numeric | 2 | ||
| RPPN | PN | Fiscal period of the G/L date | Numeric | 2 | ||
| RPCO | CO | Company the payable belongs to | String | 5 | ||
| RPICU | ICU | Batch number the voucher was entered under | Numeric | 8 | ||
| RPICUT | ICUT | Batch type (V vouchers, W manual w/match) | String | 2 | ||
| RPPST | PST | Pay status (A approved, P paid, H held) — the open/closed indicator for A/P | Character | 1 | ||
| RPAG | AG | Gross voucher amount in domestic currency | Numeric | 15 | ||
| RPAAP | AAP | Open amount still unpaid — the column A/P aging and cash forecasts sum | Numeric | 15 | ||
| RPADSC | ADSC | Discount available if paid by the discount due date | Numeric | 15 | ||
| RPADSA | ADSA | Discount actually taken at payment | Numeric | 15 | ||
| RPATXA | ATXA | Taxable portion of the voucher | Numeric | 15 | ||
| RPSTAM | STAM | Tax amount on the voucher | Numeric | 15 | ||
| RPTXA1 | TXA1 | Tax rate/area applied | String | 10 | ||
| RPCRRM | CRRM | Currency mode — domestic or foreign entry | Character | 1 | ||
| RPCRCD | CRCD | Transaction currency of the voucher | String | 3 | ||
| RPCRR | CRR | Exchange rate used to convert foreign to domestic; implied decimals vary by setup | Numeric | 15 | ||
| RPACR | ACR | Gross amount in the transaction (foreign) currency | Numeric | 15 | ||
| RPFAP | FAP | Open amount in the transaction (foreign) currency | Numeric | 15 | ||
| RPPOST | POST | G/L posted code; 'D' when posted to F0911/F0902 | Character | 1 | ||
| RPMCU | MCU | Business unit on the voucher, used in AAI account resolution | String | 12 | ||
| RPPTC | PTC | Payment terms code that set due and discount dates | String | 3 | ||
| RPVOD | VOD | Void flag — voided vouchers remain as rows, so filter them out of open A/P | Character | 1 | ||
| RPVINV | VINV | Supplier's invoice number — the duplicate-invoice check key | String | 25 | ||
| RPPKCO | PKCO | Document company of the matched purchase order | String | 5 | ||
| RPPO | PO | Purchase order number the voucher was matched to (three-way match link) | String | 8 | ||
| RPPDCT | PDCT | Document type of the matched purchase order | String | 2 | ||
| RPLNID | LNID | PO line number the voucher pay item was matched against | Numeric | 6 | ||
| RPSFXO | SFXO | Order suffix of the matched PO | String | 3 | ||
| RPPYIN | PYIN | Payment instrument for the payment (check, EFT, draft) | Character | 1 | ||
| RPBCRC | BCRC | Base (domestic) currency of the company | String | 3 |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading F0411on 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 : F0411 Accounts payable ledger: one row per voucher pay item with gross, open, discount, and tax amounts, due dates, pay status, and the PO keys behind three-way match.
-- Purpose: Column-selected read of F0411 — auto-generated from field metadata
-- Grain : One row per RPKCO + RPDOC + RPDCT + RPSFX + RPSFXE
-- 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.RPKCO AS "Document company that owns the voucher number sequence",
f.RPDOC AS "Voucher document number",
f.RPDCT AS "Voucher document type (PV standard voucher, PD debit memo, PL logged, etc.)",
f.RPSFX AS "Pay item — vouchers split into pay items with independent terms and status",
f.RPSFXE AS "Pay item extension used by prepayments and multi-tax-rate splits",
f.RPAN8 AS "Supplier address book number",
f.RPPYE AS "Payee address number actually receiving payment, when it differs from the supplier",
CASE WHEN f.RPDIVJ IS NULL OR f.RPDIVJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RPDIVJ AS INT) DIV 1000, 1, 1), CAST(f.RPDIVJ AS INT) % 1000 - 1) END AS "Supplier's invoice date", -- CYYDDD Julian → DATE
CASE WHEN f.RPDDJ IS NULL OR f.RPDDJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RPDDJ AS INT) DIV 1000, 1, 1), CAST(f.RPDDJ AS INT) % 1000 - 1) END AS "Net due date that drives the payment schedule and A/P aging", -- CYYDDD Julian → DATE
CASE WHEN f.RPDDNJ IS NULL OR f.RPDDNJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RPDDNJ AS INT) DIV 1000, 1, 1), CAST(f.RPDDNJ AS INT) % 1000 - 1) END AS "Discount due date — pay by this date to earn the discount", -- CYYDDD Julian → DATE
CASE WHEN f.RPDGJ IS NULL OR f.RPDGJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RPDGJ AS INT) DIV 1000, 1, 1), CAST(f.RPDGJ AS INT) % 1000 - 1) END AS "G/L date that places the voucher in a fiscal period", -- CYYDDD Julian → DATE
f.RPFY AS "Fiscal year of the G/L date",
f.RPPN AS "Fiscal period of the G/L date",
f.RPCO AS "Company the payable belongs to",
f.RPICU AS "Batch number the voucher was entered under",
f.RPICUT AS "Batch type (V vouchers, W manual w/match)",
f.RPPST AS "Pay status (A approved, P paid, H held) — the open/closed indicator for A/P",
f.RPAG / POWER(10, 2) AS "Gross voucher amount in domestic currency", -- implied decimals: 2 (verify in F9210)
f.RPAAP / POWER(10, 2) AS "Open amount still unpaid — the column A/P aging and cash forecasts sum", -- implied decimals: 2 (verify in F9210)
f.RPADSC / POWER(10, 2) AS "Discount available if paid by the discount due date", -- implied decimals: 2 (verify in F9210)
f.RPADSA / POWER(10, 2) AS "Discount actually taken at payment", -- implied decimals: 2 (verify in F9210)
f.RPATXA / POWER(10, 2) AS "Taxable portion of the voucher", -- implied decimals: 2 (verify in F9210)
f.RPSTAM / POWER(10, 2) AS "Tax amount on the voucher", -- implied decimals: 2 (verify in F9210)
f.RPTXA1 AS "Tax rate/area applied",
f.RPCRRM AS "Currency mode — domestic or foreign entry",
f.RPCRCD AS "Transaction currency of the voucher",
f.RPCRR AS "Exchange rate used to convert foreign to domestic; implied decimals vary by setup",
f.RPACR / POWER(10, 2) AS "Gross amount in the transaction (foreign) currency", -- implied decimals: 2 (verify in F9210)
f.RPFAP / POWER(10, 2) AS "Open amount in the transaction (foreign) currency", -- implied decimals: 2 (verify in F9210)
f.RPPOST AS "G/L posted code; 'D' when posted to F0911/F0902",
TRIM(f.RPMCU) AS "Business unit on the voucher, used in AAI account resolution",
f.RPPTC AS "Payment terms code that set due and discount dates",
f.RPVOD AS "Void flag — voided vouchers remain as rows, so filter them out of open A/P",
f.RPVINV AS "Supplier's invoice number — the duplicate-invoice check key",
f.RPPKCO AS "Document company of the matched purchase order",
f.RPPO AS "Purchase order number the voucher was matched to (three-way match link)",
f.RPPDCT AS "Document type of the matched purchase order",
f.RPLNID / POWER(10, 3) AS "PO line number the voucher pay item was matched against", -- implied decimals: 3 (verify in F9210)
f.RPSFXO AS "Order suffix of the matched PO",
f.RPPYIN AS "Payment instrument for the payment (check, EFT, draft)"
-- … plus 1 more columns — full list in the Fields section above
FROM <catalog>.<schema_data>.f0411 f
ORDER BY f.RPKCO;2 parameters not filled: <catalog>, <schema_data>
Relationships
1-hop neighbors — click a table to navigate there. UDC decode edges point coded fields at their F0005 lookup.
Join details
ON f0411.RPAN8 = f0401.A6AN8ON f0411.RPAN8 = f0101.ABAN8ON f0411.RPPO = f4311.PDDOCOON f0414.RNDOC = f0411.RPDOCON f0411.RPPST = f0005.DRKYON f4981.FHDOC = f0411.RPDOC
Programs That Use This Table
Primary programs
- P0411Standard Voucher Entry — the screen where A/P vouchers are entered against suppliers, creating the payable and its G/L distribution ahead of payment processing.Read/write accessInteractive
- R04110ZABatch Voucher Processing — the batch job that validates vouchers staged by interfaces or EDI and writes them into the live supplier ledger and G/L.Write accessBatch UBE
- R04570Create Payment Control Groups — the batch job that selects approved vouchers due for payment and organizes them into payment groups by bank account and payment instrument.Read/write accessBatch UBE
- R04572Print Automatic Payments - Standard Format — the batch program that renders the physical check when a payment group is written; format variants exist for drafts, ACH, and EDI.Read accessBatch UBE
Secondary programs
- P04571Work With Payment Groups — the screen that steps payment groups through write and update: printing checks or EFT files, then posting payments against vouchers.Read/write accessInteractive
- R47041Inbound EDI Voucher Edit/Create — the batch processor that turns supplier invoices (X12 810) staged in the EDI invoice tables into A/P voucher and journal entry batch records for voucher batch processingWrite accessBatch UBE
- R4981Freight Update and Report — the batch job that finalizes freight after delivery confirmation: writes freight audit history, books payable freight accruals/vouchers, and adds billable freight charges to the customer's orderWrite accessBatch UBE