Skip to content
JDE Reference

F470461

transactionAlso in JDE World

The additional-header companion to F47046: one row per outbound EDI invoice (810) carrying the invoice-level totals rolled up from the selected detail lines, the tax authorities and rates behind them, and the payment terms — none of which the base header holds.

Notes

Written by Invoice Print (R42565) when it runs in EDI mode, read by the flat-file conversion R47042C, flagged as sent by R47047, and purged by R47049. Three traps worth knowing before writing SQL against it. First, the S3 prefix breaks the system-47 SY-header/SZ-detail pattern: the additional and expanded 810 tables run on sequential S prefixes (the additional-detail sibling F470471 is S4, and the demand-scheduling-only F470462/F470472 are S5/S6 — none of the three is cataloged here), so every column on this table is S3…, never SY…. Second, under EDI invoice consolidation the extraction assigns one EDI document number per sales order even where the printed invoice consolidates several orders, so distinct EDOC and distinct order DOCO counts do not agree — never assume 1:1. Third, trading partner, send/receive direction, and currency code are absent from this table entirely; join back to F47046 for SYPNID, SYEDER, and SYCRCD. In World, the A/R-side path P03505 (Simple Invoice Print - EDI) can also populate these rows straight from the receivables ledger, so a row can legitimately exist with no sales-order lineage at all.

What the badges mean
Superseded
Superseded — a newer table has replaced it, but older scripts still read this one.
Also in JDE World
Also present in JDE World A9.x on the same table name.
master
Data class: what the table holds — master data, transaction documents, control/setup values, history, or a workfile.
Read/write access
Access mode: how the paired program reads or writes this table — R (read), W (write), or R/W (both).
No lifecycle badge means the table is current and not documented in JDE World. In field listings, K marks a primary-key field.

Fields

33 fields · 3 key

33 fields.

Table fields: key flag, field name, DD alias, description, data type, length, and quirk flags (Julian date, implied decimals, padded string, UDC decode). 33 fields.
KeyFieldAliasDescriptionTypeLengthFlags
Primary keyS3EKCOEKCOKey company that scopes the EDI document number; part of the staging primary key shared with F47046.String5
Primary keyS3EDOCEDOCEDI document number of the invoice this additional header belongs to; the 1:1 join back to F47046.Numeric9
Primary keyS3EDCTEDCTEDI document type qualifier; pairs with document number and key company to complete the staging key.String2
S3EDLNEDLNEDI line number; carried for structural consistency with the detail tables and normally zero on a header row. Three implied decimals.Numeric7
S3DOCDOCA/R invoice number the totals belong to; the table's second index and the practical bridge to F03B11 when reconciling sent invoices against the ledger.Numeric8
S3DCTDCTA/R invoice document type; joins to F03B11 DCT.String2
S3KCOKCODocument company of the A/R invoice key; joins to F03B11 KCO.String5
S3EDTYEDTYRecord type qualifier telling the translator which segment group of the 810 this row feeds.Character1
S3EDSQEDSQRecord sequence within the record type; orders repeated additional-header rows when the translator expects more than one.Numeric2
S3EDSPEDSPProcessed flag: set to Y once the invoice has been flagged as sent. Filter N for the outbound backlog; Y rows are what the purge removes.Character1
S3EDBTEDBTBatch number grouping the invoices extracted in the same Invoice Print run.String15
S3DOCODOCOJDE sales order number the invoice bills; blank on rows created by the World A/R-side path, which has no order lineage.Numeric8
S3DCTODCTOJDE order type of the related order (SO and related types).String2
S3SFXOSFXOOrder suffix; distinguishes multiple documents against the same order number.String3
S3MCUMCUBranch/plant on the order; right-justified 12-character business unit.String12
S3AN8AN8Address book number the invoice is billed to.Numeric8
S3AGAGGross invoice amount — the total of the detail records the extraction selected, and the figure to tie against the F03B11 gross amount.Numeric15
S3AAPAAPOpen amount on the invoice at extraction time.Numeric15
S3ADSCADSCDiscount available if the customer pays inside the terms discount window.Numeric15
S3DSCTDSCTDiscount amount actually applied to the invoice.Numeric15
S3ATXAATXATaxable portion of the invoice total.Numeric15
S3ATXNATXNNon-taxable portion of the invoice total; taxable plus non-taxable plus tax should reconcile to gross.Numeric15
S3STAMSTAMTotal tax amount on the invoice.Numeric15
S3TA1TA1First tax authority (an address book number). The authority columns repeat five times, TA1 through TA5; only the first is cataloged here.Numeric8
S3TXR1TXR1Tax rate applied by the first authority; three implied decimals. Repeats as TXR1 through TXR5 alongside the authority columns.Numeric7
S3TAXTTAXTTax amount for the first authority. Note the alias: the first slot of the repeating group is TAXT, not TAX1 — the remaining slots are TAX2 through TAX5, and mis-specifying this column is a common mapping error.Numeric15
S3PTDPTDPrinted description of the payment terms applied to the invoice.String30
S3DCPDCPDiscount percentage offered by the payment terms.Numeric5
S3DCDDCDNumber of days the discount stays available from the invoice date.Numeric3
S3NDTPNDTPNet days to pay under the payment terms — the basis for the terms side of DSO analysis.Numeric3
S3IVDIVDInvoice date (Julian).Numeric (DD type: Date)6
S3DDJDDJNet due date of the invoice (Julian).Numeric (DD type: Date)6
S3DSVJDSVJService or tax date driving which tax rates applied (Julian).Numeric (DD type: Date)6

Field provenance: hand-curated.

Boilerplate SQL

Starting point for reading F470461 on 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

4 parameters not filled: <catalog>, <schema_data>, <IVD_FROM>, <IVD_TO>

-- ============================================================
-- Table  : F470461 The additional-header companion to F47046: one row per outbound EDI invoice (810) carrying the invoice-level totals rolled up from the selected detail lines, the tax authorities and rates behind them, and the payment terms — none of which the base header holds.
-- Purpose: Column-selected read of F470461 — auto-generated from field metadata
-- Grain  : One row per S3EKCO + S3EDOC + S3EDCT
-- 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.S3EKCO AS "Key company that scopes the EDI document number; part of the staging primary key shared with F47046.",
  f.S3EDOC AS "EDI document number of the invoice this additional header belongs to; the 1:1 join back to F47046.",
  f.S3EDCT AS "EDI document type qualifier; pairs with document number and key company to complete the staging key.",
  f.S3EDLN / POWER(10, 3) AS "EDI line number; carried for structural consistency with the detail tables and normally zero on a header row. Three implied decimals.",  -- implied decimals: 3 (verify in F9210)
  f.S3DOC AS "A/R invoice number the totals belong to; the table's second index and the practical bridge to F03B11 when reconciling sent invoices against the ledger.",
  f.S3DCT AS "A/R invoice document type; joins to F03B11 DCT.",
  f.S3KCO AS "Document company of the A/R invoice key; joins to F03B11 KCO.",
  f.S3EDTY AS "Record type qualifier telling the translator which segment group of the 810 this row feeds.",
  f.S3EDSQ AS "Record sequence within the record type; orders repeated additional-header rows when the translator expects more than one.",
  f.S3EDSP AS "Processed flag: set to Y once the invoice has been flagged as sent. Filter N for the outbound backlog; Y rows are what the purge removes.",
  f.S3EDBT AS "Batch number grouping the invoices extracted in the same Invoice Print run.",
  f.S3DOCO AS "JDE sales order number the invoice bills; blank on rows created by the World A/R-side path, which has no order lineage.",
  f.S3DCTO AS "JDE order type of the related order (SO and related types).",
  f.S3SFXO AS "Order suffix; distinguishes multiple documents against the same order number.",
  TRIM(f.S3MCU) AS "Branch/plant on the order; right-justified 12-character business unit.",
  f.S3AN8 AS "Address book number the invoice is billed to.",
  f.S3AG / POWER(10, 2) AS "Gross invoice amount — the total of the detail records the extraction selected, and the figure to tie against the F03B11 gross amount.",  -- implied decimals: 2 (verify in F9210)
  f.S3AAP / POWER(10, 2) AS "Open amount on the invoice at extraction time.",  -- implied decimals: 2 (verify in F9210)
  f.S3ADSC / POWER(10, 2) AS "Discount available if the customer pays inside the terms discount window.",  -- implied decimals: 2 (verify in F9210)
  f.S3DSCT / POWER(10, 2) AS "Discount amount actually applied to the invoice.",  -- implied decimals: 2 (verify in F9210)
  f.S3ATXA / POWER(10, 2) AS "Taxable portion of the invoice total.",  -- implied decimals: 2 (verify in F9210)
  f.S3ATXN / POWER(10, 2) AS "Non-taxable portion of the invoice total; taxable plus non-taxable plus tax should reconcile to gross.",  -- implied decimals: 2 (verify in F9210)
  f.S3STAM / POWER(10, 2) AS "Total tax amount on the invoice.",  -- implied decimals: 2 (verify in F9210)
  f.S3TA1 AS "First tax authority (an address book number). The authority columns repeat five times, TA1 through TA5; only the first is cataloged here.",
  f.S3TXR1 / POWER(10, 3) AS "Tax rate applied by the first authority; three implied decimals. Repeats as TXR1 through TXR5 alongside the authority columns.",  -- implied decimals: 3 (verify in F9210)
  f.S3TAXT / POWER(10, 2) AS "Tax amount for the first authority. Note the alias: the first slot of the repeating group is TAXT, not TAX1 — the remaining slots are TAX2 through TAX5, and mis-specifying this column is a common mapping error.",  -- implied decimals: 2 (verify in F9210)
  f.S3PTD AS "Printed description of the payment terms applied to the invoice.",
  f.S3DCP AS "Discount percentage offered by the payment terms.",
  f.S3DCD AS "Number of days the discount stays available from the invoice date.",
  f.S3NDTP AS "Net days to pay under the payment terms — the basis for the terms side of DSO analysis.",
  CASE WHEN f.S3IVD IS NULL OR f.S3IVD = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.S3IVD AS INT) DIV 1000, 1, 1), CAST(f.S3IVD AS INT) % 1000 - 1) END AS "Invoice date (Julian).",  -- CYYDDD Julian → DATE
  CASE WHEN f.S3DDJ IS NULL OR f.S3DDJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.S3DDJ AS INT) DIV 1000, 1, 1), CAST(f.S3DDJ AS INT) % 1000 - 1) END AS "Net due date of the invoice (Julian).",  -- CYYDDD Julian → DATE
  CASE WHEN f.S3DSVJ IS NULL OR f.S3DSVJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.S3DSVJ AS INT) DIV 1000, 1, 1), CAST(f.S3DSVJ AS INT) % 1000 - 1) END AS "Service or tax date driving which tax rates applied (Julian)."  -- CYYDDD Julian → DATE
FROM <catalog>.<schema_data>.f470461 f
WHERE
  f.S3IVD >= <IVD_FROM>  -- Julian CYYDDD, e.g. 126001
  -- AND f.S3IVD <= <IVD_TO>  -- Julian CYYDDD, e.g. 126365
ORDER BY f.S3EKCO;

Verified August 2026

Relationships

Diagram of 1-hop neighbors — join details below. UDC decode edges point coded fields at their F0005 lookup.

Join details

  • F47046F470461header detail · 1:1
    ON f47046.SYEDOC = f470461.S3EDOC
  • F470461F03B11foreign key · N:1
    ON f470461.S3DOC = f03b11.RPDOC

Programs That Use This Table

R read · W write · R/W read + write

Secondary programs

More Electronic Data Interchange tables

Maintained by Summit Analytics, a supply chain analytics practice. The tools and references are free — the consulting is selective.

Part of the Summit Analytics reference library.

Work with the practice

Not affiliated with or endorsed by Oracle. Oracle, JD Edwards, and EnterpriseOne are registered trademarks of Oracle and/or its affiliates.