F03B14
transactionReceipts detail: one row per application of a receipt against an invoice pay item, splitting the cash into payment, discount, write-off, chargeback, and deduction amounts.
Payment + discount + write-off + chargeback + deduction amounts explain how each invoice pay item was settled; sum RZPAAP by invoice key to reconcile against F03B11 open amounts.
Fields
39 fields · 2 key
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Primary key | RZPYID | PYID | Payment ID linking back to the F03B13 receipt header | Numeric | 15 | |
| Primary key | RZRC5 | RC5 | Line number within the receipt — makes each application row unique | Numeric | 5 | |
| RZCKNU | CKNU | Receipt/check number repeated from the header for convenience | String | 25 | ||
| RZDOC | DOC | Invoice document number the cash was applied to | Numeric | 8 | ||
| RZDCT | DCT | Invoice document type | String | 2 | ||
| RZKCO | KCO | Invoice document company | String | 5 | ||
| RZSFX | SFX | Invoice pay item the application hit | String | 3 | ||
| RZAN8 | AN8 | Customer address book number | Numeric | 8 | ||
| RZDCTM | DCTM | Matching document type of the receipt (RC) | String | 2 | ||
| RZDMTJ | DMTJ | Receipt date | Numeric | 6 | ||
| RZDGJ | DGJ | G/L date of the application | Numeric | 6 | ||
| RZPOST | POST | G/L posted code for the application row | Character | 1 | ||
| RZGLC | GLC | G/L offset class used to resolve the A/R trade account | String | 4 | ||
| RZCTRY | CTRY | Century of the G/L date | Numeric | 2 | ||
| RZFY | FY | Fiscal year of the G/L date | Numeric | 2 | ||
| RZPN | PN | Fiscal period of the G/L date | Numeric | 2 | ||
| RZCO | CO | Company of the application | String | 5 | ||
| RZICUT | ICUT | Batch type (RB) | String | 2 | ||
| RZICU | ICU | Batch number of the receipt batch | Numeric | 8 | ||
| RZDICJ | DICJ | Batch date | Numeric | 6 | ||
| RZPAAP | PAAP | Amount of this receipt applied to the invoice, domestic currency | Numeric | 15 | ||
| RZADSC | ADSC | Discount that was available on the invoice at application time | Numeric | 15 | ||
| RZADSA | ADSA | Discount taken as part of the application | Numeric | 15 | ||
| RZAAAJ | AAAJ | Amount written off during application | Numeric | 15 | ||
| RZECBA | ECBA | Chargeback amount generated — creates a new invoice for the disputed piece | Numeric | 15 | ||
| RZDDA | DDA | Deduction amount routed to deduction processing | Numeric | 15 | ||
| RZBCRC | BCRC | Base (domestic) currency | String | 3 | ||
| RZCRRM | CRRM | Currency mode — domestic or foreign entry | Character | 1 | ||
| RZCRCD | CRCD | Transaction currency of the receipt | String | 3 | ||
| RZCRR | CRR | Exchange rate used for the application; implied decimals vary by setup | Numeric | 15 | ||
| RZPFAP | PFAP | Applied amount in the foreign currency | Numeric | 15 | ||
| RZAGL | AGL | Realized gain or loss recognized on the application | Numeric | 15 | ||
| RZRSCO | RSCO | Write-off reason code | String | 2 | ||
| RZECBR | ECBR | Chargeback reason code | String | 2 | ||
| RZDDEX | DDEX | Deduction reason code | String | 2 | ||
| RZTYIN | TYIN | Receipt type code from the header | Character | 1 | ||
| RZMCU | MCU | Business unit of the application | String | 12 | ||
| RZPDLT | PDLT | Partial payment flag | Character | 1 | ||
| RZDDJ | DDJ | Net due date of the invoice being paid, useful for on-time payment analysis | Numeric | 6 |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading F03B14on 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.
-- ============================================================
-- Table : F03B14 Receipts detail: one row per application of a receipt against an invoice pay item, splitting the cash into payment, discount, write-off, chargeback, and deduction amounts.
-- Purpose: Column-selected read of F03B14 — auto-generated from field metadata
-- Grain : One row per RZPYID + RZRC5
-- 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.RZPYID AS "Payment ID linking back to the F03B13 receipt header",
f.RZRC5 AS "Line number within the receipt — makes each application row unique",
f.RZCKNU AS "Receipt/check number repeated from the header for convenience",
f.RZDOC AS "Invoice document number the cash was applied to",
f.RZDCT AS "Invoice document type",
f.RZKCO AS "Invoice document company",
f.RZSFX AS "Invoice pay item the application hit",
f.RZAN8 AS "Customer address book number",
f.RZDCTM AS "Matching document type of the receipt (RC)",
CASE WHEN f.RZDMTJ IS NULL OR f.RZDMTJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RZDMTJ AS INT) DIV 1000, 1, 1), CAST(f.RZDMTJ AS INT) % 1000 - 1) END AS "Receipt date", -- CYYDDD Julian → DATE
CASE WHEN f.RZDGJ IS NULL OR f.RZDGJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RZDGJ AS INT) DIV 1000, 1, 1), CAST(f.RZDGJ AS INT) % 1000 - 1) END AS "G/L date of the application", -- CYYDDD Julian → DATE
f.RZPOST AS "G/L posted code for the application row",
f.RZGLC AS "G/L offset class used to resolve the A/R trade account",
f.RZCTRY AS "Century of the G/L date",
f.RZFY AS "Fiscal year of the G/L date",
f.RZPN AS "Fiscal period of the G/L date",
f.RZCO AS "Company of the application",
f.RZICUT AS "Batch type (RB)",
f.RZICU AS "Batch number of the receipt batch",
CASE WHEN f.RZDICJ IS NULL OR f.RZDICJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RZDICJ AS INT) DIV 1000, 1, 1), CAST(f.RZDICJ AS INT) % 1000 - 1) END AS "Batch date", -- CYYDDD Julian → DATE
f.RZPAAP / POWER(10, 2) AS "Amount of this receipt applied to the invoice, domestic currency", -- implied decimals: 2 (verify in F9210)
f.RZADSC / POWER(10, 2) AS "Discount that was available on the invoice at application time", -- implied decimals: 2 (verify in F9210)
f.RZADSA / POWER(10, 2) AS "Discount taken as part of the application", -- implied decimals: 2 (verify in F9210)
f.RZAAAJ / POWER(10, 2) AS "Amount written off during application", -- implied decimals: 2 (verify in F9210)
f.RZECBA / POWER(10, 2) AS "Chargeback amount generated — creates a new invoice for the disputed piece", -- implied decimals: 2 (verify in F9210)
f.RZDDA / POWER(10, 2) AS "Deduction amount routed to deduction processing", -- implied decimals: 2 (verify in F9210)
f.RZBCRC AS "Base (domestic) currency",
f.RZCRRM AS "Currency mode — domestic or foreign entry",
f.RZCRCD AS "Transaction currency of the receipt",
f.RZCRR AS "Exchange rate used for the application; implied decimals vary by setup",
f.RZPFAP / POWER(10, 2) AS "Applied amount in the foreign currency", -- implied decimals: 2 (verify in F9210)
f.RZAGL / POWER(10, 2) AS "Realized gain or loss recognized on the application", -- implied decimals: 2 (verify in F9210)
f.RZRSCO AS "Write-off reason code",
f.RZECBR AS "Chargeback reason code",
f.RZDDEX AS "Deduction reason code",
f.RZTYIN AS "Receipt type code from the header",
TRIM(f.RZMCU) AS "Business unit of the application",
f.RZPDLT AS "Partial payment flag",
CASE WHEN f.RZDDJ IS NULL OR f.RZDDJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RZDDJ AS INT) DIV 1000, 1, 1), CAST(f.RZDDJ AS INT) % 1000 - 1) END AS "Net due date of the invoice being paid, useful for on-time payment analysis" -- CYYDDD Julian → DATE
FROM <catalog>.<schema_data>.f03b14 f
ORDER BY f.RZPYID;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.
Programs That Use This Table
Primary programs
- P03B102Standard Receipts Entry — the screen where cash receipts are entered and applied against open invoices, handling short pays, chargebacks, and unearned discounts.Read/write accessInteractive
- R03B50Apply Receipts to Invoices — the batch job that matches unapplied receipts to open invoices using execution-list algorithms, completing automatic cash application.Write accessBatch UBE
Secondary programs
- P03B2002Customer Ledger Inquiry — the screen for researching a customer's invoice history: open items, payment status, and drill-down into receipts and G/L detail.Read accessInteractive
- R03B500XStatement Notification Refresh — the batch job that gathers open invoice activity into statement records, driving which customers get statements and what appears on them.Read accessBatch UBE
- R03B571Create Automatic Debit Batch — the batch job that builds bank files to pull payment directly from customer accounts for open invoices under automatic debit agreements.Write accessBatch UBE