Skip to content
JDE Reference

F0411

transactionAlso in JDE World

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.

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

KeyFieldAliasDescriptionTypeLengthFlags
Primary keyRPKCOKCODocument company that owns the voucher number sequenceString5
Primary keyRPDOCDOCVoucher document numberNumeric8
Primary keyRPDCTDCTVoucher document type (PV standard voucher, PD debit memo, PL logged, etc.)String2
Primary keyRPSFXSFXPay item — vouchers split into pay items with independent terms and statusString3
Primary keyRPSFXESFXEPay item extension used by prepayments and multi-tax-rate splitsNumeric2
RPAN8AN8Supplier address book numberNumeric8
RPPYEPYEPayee address number actually receiving payment, when it differs from the supplierNumeric8
RPDIVJDIVJSupplier's invoice dateNumeric6
RPDDJDDJNet due date that drives the payment schedule and A/P agingNumeric6
RPDDNJDDNJDiscount due date — pay by this date to earn the discountNumeric6
RPDGJDGJG/L date that places the voucher in a fiscal periodNumeric6
RPFYFYFiscal year of the G/L dateNumeric2
RPPNPNFiscal period of the G/L dateNumeric2
RPCOCOCompany the payable belongs toString5
RPICUICUBatch number the voucher was entered underNumeric8
RPICUTICUTBatch type (V vouchers, W manual w/match)String2
RPPSTPSTPay status (A approved, P paid, H held) — the open/closed indicator for A/PCharacter1
RPAGAGGross voucher amount in domestic currencyNumeric15
RPAAPAAPOpen amount still unpaid — the column A/P aging and cash forecasts sumNumeric15
RPADSCADSCDiscount available if paid by the discount due dateNumeric15
RPADSAADSADiscount actually taken at paymentNumeric15
RPATXAATXATaxable portion of the voucherNumeric15
RPSTAMSTAMTax amount on the voucherNumeric15
RPTXA1TXA1Tax rate/area appliedString10
RPCRRMCRRMCurrency mode — domestic or foreign entryCharacter1
RPCRCDCRCDTransaction currency of the voucherString3
RPCRRCRRExchange rate used to convert foreign to domestic; implied decimals vary by setupNumeric15
RPACRACRGross amount in the transaction (foreign) currencyNumeric15
RPFAPFAPOpen amount in the transaction (foreign) currencyNumeric15
RPPOSTPOSTG/L posted code; 'D' when posted to F0911/F0902Character1
RPMCUMCUBusiness unit on the voucher, used in AAI account resolutionString12
RPPTCPTCPayment terms code that set due and discount datesString3
RPVODVODVoid flag — voided vouchers remain as rows, so filter them out of open A/PCharacter1
RPVINVVINVSupplier's invoice number — the duplicate-invoice check keyString25
RPPKCOPKCODocument company of the matched purchase orderString5
RPPOPOPurchase order number the voucher was matched to (three-way match link)String8
RPPDCTPDCTDocument type of the matched purchase orderString2
RPLNIDLNIDPO line number the voucher pay item was matched againstNumeric6
RPSFXOSFXOOrder suffix of the matched POString3
RPPYINPYINPayment instrument for the payment (check, EFT, draft)Character1
RPBCRCBCRCBase (domestic) currency of the companyString3

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

  • F0411F0401foreign key · N:1
    ON f0411.RPAN8 = f0401.A6AN8
  • F0411F0101foreign key · N:1
    ON f0411.RPAN8 = f0101.ABAN8
  • F0411F4311foreign key · N:1
    ON f0411.RPPO = f4311.PDDOCO
  • F0414F0411foreign key · N:1
    ON f0414.RNDOC = f0411.RPDOC
  • F0411F0005UDC decode · N:1
    ON f0411.RPPST = f0005.DRKY
  • F4981F0411foreign key · N:1
    ON f4981.FHDOC = f0411.RPDOC

Programs That Use This Table

Primary programs