Skip to content
JDE Reference

F03B13

transaction

Receipts header: one row per customer receipt or draft with the check amount, unapplied balance, bank account, and G/L batch identity.

Notes

Receipt-to-invoice application lives in F03B14; a receipt with RYAAP > 0 has cash not yet matched to invoices.

Fields

33 fields · 1 key

KeyFieldAliasDescriptionTypeLengthFlags
Primary keyRYPYIDPYIDSystem-assigned payment ID — the key that receipt detail rows hang offNumeric15
RYCKNUCKNUReceipt or check number from the customer's remittanceString25
RYAN8AN8Customer address book number on the receiptNumeric8
RYPYRPYRPayor address number when someone other than the customer paidNumeric8
RYDMTJDMTJReceipt date — the date the payment was receivedNumeric6
RYDGJDGJG/L date the receipt posts underNumeric6
RYVLDTVLDTValue/cleared date used for cash forecasting and bank reconciliationNumeric6
RYPOSTPOSTG/L posted code; 'D' when the receipt batch has postedCharacter1
RYCTRYCTRYCentury of the G/L dateNumeric2
RYFYFYFiscal year of the G/L dateNumeric2
RYPNPNFiscal period of the G/L dateNumeric2
RYCOCOCompany that received the cashString5
RYICUTICUTBatch type (RB receipts)String2
RYICUICUBatch number the receipt was entered underNumeric8
RYDICJDICJBatch dateNumeric6
RYCKAMCKAMTotal receipt amount in domestic currencyNumeric15
RYAAPAAPUnapplied portion of the receipt still open against the customerNumeric15
RYBCRCBCRCBase (domestic) currency of the companyString3
RYCRRMCRRMCurrency mode — domestic or foreign entryCharacter1
RYCRCDCRCDCurrency the receipt was tendered inString3
RYCRRCRRExchange rate applied to the receipt; implied decimals vary by setupNumeric15
RYERDJERDJDate used to retrieve the exchange rateNumeric6
RYFCAMFCAMReceipt amount in the foreign currencyNumeric15
RYFAPFAPUnapplied amount in the foreign currencyNumeric15
RYGLBAGLBAShort account ID of the bank account the cash hitString8
RYTYINTYINReceipt type code distinguishing cash receipts from drafts and logged receiptsCharacter1
RYRYINRYINPayment instrument the customer used (check, EFT, draft)Character1
RYALPHALPHCustomer name captured at entry, handy for quick lookups without joining F0101String40
RYVDGJVDGJG/L date of the void when the receipt was voidedNumeric6
RYVREVREVoid reason codeString3
RYNFVDNFVDNSF/void code flagging bounced or reversed receiptsCharacter1
RYDKCDKCDate the check cleared the bankNumeric6
RYDDSTDDSTDraft status when the receipt is a draft working through acceptance/collectionCharacter1

Field provenance: hand-curated.

Boilerplate SQL

Starting point for reading F03B13on 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  : F03B13 Receipts header: one row per customer receipt or draft with the check amount, unapplied balance, bank account, and G/L batch identity.
-- Purpose: Column-selected read of F03B13 — auto-generated from field metadata
-- Grain  : One row per RYPYID
-- 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.RYPYID AS "System-assigned payment ID — the key that receipt detail rows hang off",
  f.RYCKNU AS "Receipt or check number from the customer's remittance",
  f.RYAN8 AS "Customer address book number on the receipt",
  f.RYPYR AS "Payor address number when someone other than the customer paid",
  CASE WHEN f.RYDMTJ IS NULL OR f.RYDMTJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RYDMTJ AS INT) DIV 1000, 1, 1), CAST(f.RYDMTJ AS INT) % 1000 - 1) END AS "Receipt date — the date the payment was received",  -- CYYDDD Julian → DATE
  CASE WHEN f.RYDGJ IS NULL OR f.RYDGJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RYDGJ AS INT) DIV 1000, 1, 1), CAST(f.RYDGJ AS INT) % 1000 - 1) END AS "G/L date the receipt posts under",  -- CYYDDD Julian → DATE
  CASE WHEN f.RYVLDT IS NULL OR f.RYVLDT = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RYVLDT AS INT) DIV 1000, 1, 1), CAST(f.RYVLDT AS INT) % 1000 - 1) END AS "Value/cleared date used for cash forecasting and bank reconciliation",  -- CYYDDD Julian → DATE
  f.RYPOST AS "G/L posted code; 'D' when the receipt batch has posted",
  f.RYCTRY AS "Century of the G/L date",
  f.RYFY AS "Fiscal year of the G/L date",
  f.RYPN AS "Fiscal period of the G/L date",
  f.RYCO AS "Company that received the cash",
  f.RYICUT AS "Batch type (RB receipts)",
  f.RYICU AS "Batch number the receipt was entered under",
  CASE WHEN f.RYDICJ IS NULL OR f.RYDICJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RYDICJ AS INT) DIV 1000, 1, 1), CAST(f.RYDICJ AS INT) % 1000 - 1) END AS "Batch date",  -- CYYDDD Julian → DATE
  f.RYCKAM / POWER(10, 2) AS "Total receipt amount in domestic currency",  -- implied decimals: 2 (verify in F9210)
  f.RYAAP / POWER(10, 2) AS "Unapplied portion of the receipt still open against the customer",  -- implied decimals: 2 (verify in F9210)
  f.RYBCRC AS "Base (domestic) currency of the company",
  f.RYCRRM AS "Currency mode — domestic or foreign entry",
  f.RYCRCD AS "Currency the receipt was tendered in",
  f.RYCRR AS "Exchange rate applied to the receipt; implied decimals vary by setup",
  CASE WHEN f.RYERDJ IS NULL OR f.RYERDJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RYERDJ AS INT) DIV 1000, 1, 1), CAST(f.RYERDJ AS INT) % 1000 - 1) END AS "Date used to retrieve the exchange rate",  -- CYYDDD Julian → DATE
  f.RYFCAM / POWER(10, 2) AS "Receipt amount in the foreign currency",  -- implied decimals: 2 (verify in F9210)
  f.RYFAP / POWER(10, 2) AS "Unapplied amount in the foreign currency",  -- implied decimals: 2 (verify in F9210)
  f.RYGLBA AS "Short account ID of the bank account the cash hit",
  f.RYTYIN AS "Receipt type code distinguishing cash receipts from drafts and logged receipts",
  f.RYRYIN AS "Payment instrument the customer used (check, EFT, draft)",
  f.RYALPH AS "Customer name captured at entry, handy for quick lookups without joining F0101",
  CASE WHEN f.RYVDGJ IS NULL OR f.RYVDGJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RYVDGJ AS INT) DIV 1000, 1, 1), CAST(f.RYVDGJ AS INT) % 1000 - 1) END AS "G/L date of the void when the receipt was voided",  -- CYYDDD Julian → DATE
  f.RYVRE AS "Void reason code",
  f.RYNFVD AS "NSF/void code flagging bounced or reversed receipts",
  CASE WHEN f.RYDKC IS NULL OR f.RYDKC = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RYDKC AS INT) DIV 1000, 1, 1), CAST(f.RYDKC AS INT) % 1000 - 1) END AS "Date the check cleared the bank",  -- CYYDDD Julian → DATE
  f.RYDDST AS "Draft status when the receipt is a draft working through acceptance/collection"
FROM <catalog>.<schema_data>.f03b13 f
ORDER BY f.RYPYID;

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

  • F03B13F03B14header detail · 1:N
    ON f03b13.RYPYID = f03b14.RZPYID

Programs That Use This Table