JDE Reference
F0413
transactionAlso in JDE WorldA/P matching document: one row per supplier payment (check, EFT, draft) with the payment amount, bank account, dates, and void/reconciliation state.
Module: 04 · Accounts PayableColumn prefix: RM
Notes
Voided payments stay in place with a void G/L date; the voucher-level application detail is in F0414.
Fields
19 fields · 1 key
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Primary key | RMPYID | PYID | System-assigned payment ID — the key detail application rows hang off | Numeric | 15 | |
| RMDCTM | DCTM | Matching document type of the payment (PK automatic, PN manual) | String | 2 | ||
| RMDOCM | DOCM | Payment document number, e.g. the check or EFT number | Numeric | 8 | ||
| RMPYE | PYE | Payee address book number the payment went to | Numeric | 8 | ||
| RMGLBA | GLBA | Short account ID of the bank account the payment was drawn on | String | 8 | ||
| RMDMTJ | DMTJ | Payment date | Numeric | 6 | ||
| RMVDGJ | VDGJ | G/L date of the void when the payment was voided | Numeric | 6 | ||
| RMICU | ICU | Batch number of the payment batch | Numeric | 8 | ||
| RMICUT | ICUT | Batch type (K automatic payments, M manual) | String | 2 | ||
| RMDICJ | DICJ | Batch date | Numeric | 6 | ||
| RMPAAP | PAAP | Payment amount in domestic currency | Numeric | 15 | ||
| RMCRCD | CRCD | Currency the payment was issued in | String | 3 | ||
| RMCRRM | CRRM | Currency mode — domestic or foreign entry | Character | 1 | ||
| RMVLDT | VLDT | Value/cleared date for bank reconciliation and cash positioning | Numeric | 6 | ||
| RMPYIN | PYIN | Payment instrument (check, EFT, draft) | Character | 1 | ||
| RMISTP | ISTP | Payment post status | Character | 1 | ||
| RMCBNK | CBNK | Supplier's bank account number on the payment | String | 20 | ||
| RMBKTR | BKTR | Bank tape reconciliation reference from the cleared-payment feed | String | 8 | ||
| RMRCND | RCND | Reconciled code set by bank statement reconciliation | Character | 1 |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading F0413on 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 : F0413 A/P matching document: one row per supplier payment (check, EFT, draft) with the payment amount, bank account, dates, and void/reconciliation state.
-- Purpose: Column-selected read of F0413 — auto-generated from field metadata
-- Grain : One row per RMPYID
-- 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.RMPYID AS "System-assigned payment ID — the key detail application rows hang off",
f.RMDCTM AS "Matching document type of the payment (PK automatic, PN manual)",
f.RMDOCM AS "Payment document number, e.g. the check or EFT number",
f.RMPYE AS "Payee address book number the payment went to",
f.RMGLBA AS "Short account ID of the bank account the payment was drawn on",
CASE WHEN f.RMDMTJ IS NULL OR f.RMDMTJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RMDMTJ AS INT) DIV 1000, 1, 1), CAST(f.RMDMTJ AS INT) % 1000 - 1) END AS "Payment date", -- CYYDDD Julian → DATE
CASE WHEN f.RMVDGJ IS NULL OR f.RMVDGJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RMVDGJ AS INT) DIV 1000, 1, 1), CAST(f.RMVDGJ AS INT) % 1000 - 1) END AS "G/L date of the void when the payment was voided", -- CYYDDD Julian → DATE
f.RMICU AS "Batch number of the payment batch",
f.RMICUT AS "Batch type (K automatic payments, M manual)",
CASE WHEN f.RMDICJ IS NULL OR f.RMDICJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RMDICJ AS INT) DIV 1000, 1, 1), CAST(f.RMDICJ AS INT) % 1000 - 1) END AS "Batch date", -- CYYDDD Julian → DATE
f.RMPAAP / POWER(10, 2) AS "Payment amount in domestic currency", -- implied decimals: 2 (verify in F9210)
f.RMCRCD AS "Currency the payment was issued in",
f.RMCRRM AS "Currency mode — domestic or foreign entry",
CASE WHEN f.RMVLDT IS NULL OR f.RMVLDT = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RMVLDT AS INT) DIV 1000, 1, 1), CAST(f.RMVLDT AS INT) % 1000 - 1) END AS "Value/cleared date for bank reconciliation and cash positioning", -- CYYDDD Julian → DATE
f.RMPYIN AS "Payment instrument (check, EFT, draft)",
f.RMISTP AS "Payment post status",
f.RMCBNK AS "Supplier's bank account number on the payment",
f.RMBKTR AS "Bank tape reconciliation reference from the cleared-payment feed",
f.RMRCND AS "Reconciled code set by bank statement reconciliation"
FROM <catalog>.<schema_data>.f0413 f
ORDER BY f.RMPYID;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 f0413.RMPYID = f0414.RNPYID