F470461
transactionAlso in JDE WorldThe 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.
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).
Fields
33 fields · 3 key
33 fields.
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Primary key | S3EKCO | EKCO | Key company that scopes the EDI document number; part of the staging primary key shared with F47046. | String | 5 | |
| Primary key | S3EDOC | EDOC | EDI document number of the invoice this additional header belongs to; the 1:1 join back to F47046. | Numeric | 9 | |
| Primary key | S3EDCT | EDCT | EDI document type qualifier; pairs with document number and key company to complete the staging key. | String | 2 | |
| S3EDLN | EDLN | EDI line number; carried for structural consistency with the detail tables and normally zero on a header row. Three implied decimals. | Numeric | 7 | ||
| S3DOC | DOC | 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. | Numeric | 8 | ||
| S3DCT | DCT | A/R invoice document type; joins to F03B11 DCT. | String | 2 | ||
| S3KCO | KCO | Document company of the A/R invoice key; joins to F03B11 KCO. | String | 5 | ||
| S3EDTY | EDTY | Record type qualifier telling the translator which segment group of the 810 this row feeds. | Character | 1 | ||
| S3EDSQ | EDSQ | Record sequence within the record type; orders repeated additional-header rows when the translator expects more than one. | Numeric | 2 | ||
| S3EDSP | EDSP | 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. | Character | 1 | ||
| S3EDBT | EDBT | Batch number grouping the invoices extracted in the same Invoice Print run. | String | 15 | ||
| S3DOCO | DOCO | JDE sales order number the invoice bills; blank on rows created by the World A/R-side path, which has no order lineage. | Numeric | 8 | ||
| S3DCTO | DCTO | JDE order type of the related order (SO and related types). | String | 2 | ||
| S3SFXO | SFXO | Order suffix; distinguishes multiple documents against the same order number. | String | 3 | ||
| S3MCU | MCU | Branch/plant on the order; right-justified 12-character business unit. | String | 12 | ||
| S3AN8 | AN8 | Address book number the invoice is billed to. | Numeric | 8 | ||
| S3AG | AG | Gross invoice amount — the total of the detail records the extraction selected, and the figure to tie against the F03B11 gross amount. | Numeric | 15 | ||
| S3AAP | AAP | Open amount on the invoice at extraction time. | Numeric | 15 | ||
| S3ADSC | ADSC | Discount available if the customer pays inside the terms discount window. | Numeric | 15 | ||
| S3DSCT | DSCT | Discount amount actually applied to the invoice. | Numeric | 15 | ||
| S3ATXA | ATXA | Taxable portion of the invoice total. | Numeric | 15 | ||
| S3ATXN | ATXN | Non-taxable portion of the invoice total; taxable plus non-taxable plus tax should reconcile to gross. | Numeric | 15 | ||
| S3STAM | STAM | Total tax amount on the invoice. | Numeric | 15 | ||
| S3TA1 | TA1 | First tax authority (an address book number). The authority columns repeat five times, TA1 through TA5; only the first is cataloged here. | Numeric | 8 | ||
| S3TXR1 | TXR1 | Tax rate applied by the first authority; three implied decimals. Repeats as TXR1 through TXR5 alongside the authority columns. | Numeric | 7 | ||
| S3TAXT | TAXT | 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. | Numeric | 15 | ||
| S3PTD | PTD | Printed description of the payment terms applied to the invoice. | String | 30 | ||
| S3DCP | DCP | Discount percentage offered by the payment terms. | Numeric | 5 | ||
| S3DCD | DCD | Number of days the discount stays available from the invoice date. | Numeric | 3 | ||
| S3NDTP | NDTP | Net days to pay under the payment terms — the basis for the terms side of DSO analysis. | Numeric | 3 | ||
| S3IVD | IVD | Invoice date (Julian). | Numeric (DD type: Date) | 6 | ||
| S3DDJ | DDJ | Net due date of the invoice (Julian). | Numeric (DD type: Date) | 6 | ||
| S3DSVJ | DSVJ | Service 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.
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.
Programs That Use This Table
R read · W write · R/W read + write
Secondary programs
- P03505A/R Simple Invoice Print - EDI — the JDE World DREAM Writer whose EDI version copies invoice information straight from the receivables ledger into the outbound EDI invoice files, bypassing the sales order path entirelyWrite accessBatch UBE
- R42565Invoice Print — the batch job that generates customer invoices from sales order linesWrite accessBatch UBE
- R47042CEDI Invoice Extraction Conversion — the batch job that converts outbound EDI invoice records (X12 810 staged by Invoice Print) from the EDI invoice tables into the flat file handed to the EDI translatorRead accessBatch UBE
- R47047EDI Invoice Update as Sent — the batch job that flags extracted outbound EDI invoice (810) records as sent once the translator has picked them up, setting the processed flag so they are not re-extractedRead/write accessBatch UBE
- R47049EDI Invoice Outbound Purge — the batch job that removes outbound EDI invoice transactions from the EDI invoice tables once they have been marked as sent by EDI Invoice Update as Sent (R47047)Write accessBatch UBE
More Electronic Data Interchange tables
- F47047One row per line on an outbound EDI invoice (810); billed quantities and prices by sales order line, staged for transmission.
- F47011One row per inbound EDI customer purchase order (X12 850) waiting to become a JDE sales order header; staging mirror of F4201.
- F47012One row per line on an inbound EDI customer purchase order (850); staging mirror of the sales order detail F4211.
- F47021One row per inbound EDI purchase order acknowledgment (X12 855) from a supplier, staged against a JDE purchase order header.
- F47022One row per acknowledged purchase order line on an inbound 855; staging mirror of the PO detail F4311.
- F47036One row per outbound advance ship notice (X12 856) at the shipment level, written by the R47032 extraction at the top hierarchy break.