R03B551
Batch UBEUpdate Receipts Header — the batch job in the automatic receipts process that turns uploaded bank payment records into unapplied receipt headers ready for matching.
Rows written by R03B551 carry …PID = 'R03B551' in their audit columns — a ready-made marker for isolating the records this program produced. See the audit-columns guide
First step of auto cash application; R03B50 then applies the receipts to invoices.
Boilerplate SQL
Databricks SQLStarting point for querying the tables behind this program. Set your Unity Catalog location and filter values below — they’re substituted into the SQL and the copy button.
2 parameters not filled: <catalog>, <schema_data>
-- ============================================================
-- Program: R03B551 Update Receipts Header — the batch job in the automatic receipts process that turns uploaded bank payment records into unapplied receipt headers ready for matching.
-- Purpose: Update Receipts Header — the batch job in the automatic receipts process that turns uploaded bank payment records into unapplied receipt headers ready for matching. — auto-generated boilerplate from program-table-map
-- Grain : One row per F03B13
-- Tables : F03B13
-- Notes : Auto-generated skeleton. Julian dates are converted to DATE and implied-decimal amounts are scaled (verify decimals in F9210). 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.
-- Omitted: F03B11, F03012 are cataloged for this program, but no verified join condition connects them to F03B13, so they are left out of this skeleton. Add the join yourself using the key fields on each table's page.
-- ============================================================
SELECT
h.RYPYID AS "System-assigned payment ID — the key that receipt detail rows hang off",
h.RYALPH AS "Customer name captured at entry, handy for quick lookups without joining F0101"
FROM <catalog>.<schema_data>.f03b13 h
ORDER BY h.RYPYID;Tables Used by This Program
How these tables connect — join details in the list below.
Loading relationship diagram…
R read · W write · R/W read + write
Secondary tables
- F03012Customer master by line of business: one row per customer address number and company holding A/R credit terms, collection settings, sales defaults, and rolled-up invoice history.Read accessmaster
- F03B11Customer ledger: one row per invoice pay item carrying gross, open, discount, and tax amounts plus the dates and status codes that drive A/R aging and collections.Read accesstransaction