F47046
workfileAlso in JDE WorldOne row per outbound EDI invoice (X12 810) header extracted from billed sales orders; the staging copy of what was billed to the customer.
EDSP='N' rows are invoices generated but not yet sent; joining DOC1/DCT4 to the A/R ledger F03B11 closes the order-to-cash loop for e-invoicing compliance reporting.
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
29 fields · 3 key
29 fields.
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Primary key | SYEKCO | EKCO | Key company that scopes the EDI document number; part of the staging primary key. | String | 5 | |
| Primary key | SYEDOC | EDOC | EDI document number assigned when the transaction is staged; the primary handle for one staged EDI document. | Numeric | 9 | |
| Primary key | SYEDCT | EDCT | EDI document type qualifier; pairs with document number and key company to complete the staging key. | String | 2 | |
| SYEDST | EDST | X12 transaction-set number this row stages (850, 855, 856, 810). | String | 6 | ||
| SYEDDT | EDDT | Julian date the transmission was created or received by the EDI translator. | Numeric (DD type: Date) | 6 | ||
| SYEDER | EDER | Direction flag: R for documents received from the trading partner, S for documents JDE is sending. | Character | 1 | ||
| SYEDDL | EDDL | Count of detail lines belonging to this EDI document. | Numeric | 5 | ||
| SYEDSP | EDSP | Processed flag: Y once the edit/update program has moved this row to or from the live application tables. Filter N for the open queue; Y rows are the reconciliation audit trail. | Character | 1 | ||
| SYEDBT | EDBT | Batch number grouping documents staged in the same translator run. | String | 15 | ||
| SYPNID | PNID | Trading partner identifier agreed with the customer or supplier; the natural grain for partner-level EDI scorecards. | String | 15 | ||
| SYTPUR | TPUR | Purpose of the transaction set: original, change, cancellation, or response. | String | 2 | ||
| SYKCOO | KCOO | Company segment of the JDE order number key. | String | 5 | ||
| SYDOCO | DOCO | JDE sales order number the invoice bills; the join to F4201/F4211. | Numeric | 8 | ||
| SYDCTO | DCTO | JDE order type of the related order (SO, OP, and so on). | String | 2 | ||
| SYSFXO | SFXO | Order suffix; distinguishes multiple documents against the same order number. | String | 3 | ||
| SYMCU | MCU | Branch/plant on the order; right-justified 12-character business unit. | String | 12 | ||
| SYCO | CO | Company that owns the transaction. | String | 5 | ||
| SYAN8 | AN8 | Primary address book number on the document: customer sold-to on sales documents, supplier on purchasing documents. | Numeric | 8 | ||
| SYSHAN | SHAN | Ship-to address book number. | Numeric | 8 | ||
| SYTRDJ | TRDJ | Order or transaction date (Julian). | Numeric (DD type: Date) | 6 | ||
| SYADDJ | ADDJ | Actual ship date (Julian). | Numeric (DD type: Date) | 6 | ||
| SYVR01 | VR01 | Free-form customer reference; on customer-facing documents this usually carries the customer's PO number. | String | 25 | ||
| SYPTC | PTC | Payment terms code applied to the document. | String | 3 | ||
| SYOTOT | OTOT | Gross document amount staged for the transaction. | Numeric | 15 | ||
| SYCRCD | CRCD | Transaction currency code. | String | 3 | ||
| SYCRR | CRR | Spot exchange rate used to convert the transaction currency; implied decimals vary by setup. | Numeric | 15 | ||
| SYDCT4 | DCT4 | Document type of the A/R invoice (RI and related types). | String | 2 | ||
| SYDOC1 | DOC1 | A/R invoice number extracted into the 810; the join to F03B11. | Numeric | 8 | ||
| SYITAN | ITAN | Invoiced-to address book number. | Numeric | 8 |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading F47046 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>, <TRDJ_FROM>, <TRDJ_TO>
-- ============================================================
-- Table : F47046 One row per outbound EDI invoice (X12 810) header extracted from billed sales orders; the staging copy of what was billed to the customer.
-- Purpose: Column-selected read of F47046 — auto-generated from field metadata
-- Grain : One row per SYEKCO + SYEDOC + SYEDCT
-- 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.SYEKCO AS "Key company that scopes the EDI document number; part of the staging primary key.",
f.SYEDOC AS "EDI document number assigned when the transaction is staged; the primary handle for one staged EDI document.",
f.SYEDCT AS "EDI document type qualifier; pairs with document number and key company to complete the staging key.",
f.SYEDST AS "X12 transaction-set number this row stages (850, 855, 856, 810).",
CASE WHEN f.SYEDDT IS NULL OR f.SYEDDT = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.SYEDDT AS INT) DIV 1000, 1, 1), CAST(f.SYEDDT AS INT) % 1000 - 1) END AS "Julian date the transmission was created or received by the EDI translator.", -- CYYDDD Julian → DATE
f.SYEDER AS "Direction flag: R for documents received from the trading partner, S for documents JDE is sending.",
f.SYEDDL AS "Count of detail lines belonging to this EDI document.",
f.SYEDSP AS "Processed flag: Y once the edit/update program has moved this row to or from the live application tables. Filter N for the open queue; Y rows are the reconciliation audit trail.",
f.SYEDBT AS "Batch number grouping documents staged in the same translator run.",
f.SYPNID AS "Trading partner identifier agreed with the customer or supplier; the natural grain for partner-level EDI scorecards.",
f.SYTPUR AS "Purpose of the transaction set: original, change, cancellation, or response.",
f.SYKCOO AS "Company segment of the JDE order number key.",
f.SYDOCO AS "JDE sales order number the invoice bills; the join to F4201/F4211.",
f.SYDCTO AS "JDE order type of the related order (SO, OP, and so on).",
f.SYSFXO AS "Order suffix; distinguishes multiple documents against the same order number.",
TRIM(f.SYMCU) AS "Branch/plant on the order; right-justified 12-character business unit.",
f.SYCO AS "Company that owns the transaction.",
f.SYAN8 AS "Primary address book number on the document: customer sold-to on sales documents, supplier on purchasing documents.",
f.SYSHAN AS "Ship-to address book number.",
CASE WHEN f.SYTRDJ IS NULL OR f.SYTRDJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.SYTRDJ AS INT) DIV 1000, 1, 1), CAST(f.SYTRDJ AS INT) % 1000 - 1) END AS "Order or transaction date (Julian).", -- CYYDDD Julian → DATE
CASE WHEN f.SYADDJ IS NULL OR f.SYADDJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.SYADDJ AS INT) DIV 1000, 1, 1), CAST(f.SYADDJ AS INT) % 1000 - 1) END AS "Actual ship date (Julian).", -- CYYDDD Julian → DATE
f.SYVR01 AS "Free-form customer reference; on customer-facing documents this usually carries the customer's PO number.",
f.SYPTC AS "Payment terms code applied to the document.",
f.SYOTOT / POWER(10, 2) AS "Gross document amount staged for the transaction.", -- implied decimals: 2 (verify in F9210)
f.SYCRCD AS "Transaction currency code.",
f.SYCRR AS "Spot exchange rate used to convert the transaction currency; implied decimals vary by setup.",
f.SYDCT4 AS "Document type of the A/R invoice (RI and related types).",
f.SYDOC1 AS "A/R invoice number extracted into the 810; the join to F03B11.",
f.SYITAN AS "Invoiced-to address book number."
FROM <catalog>.<schema_data>.f47046 f
WHERE
f.SYTRDJ >= <TRDJ_FROM> -- Julian CYYDDD, e.g. 126001
-- AND f.SYTRDJ <= <TRDJ_TO> -- Julian CYYDDD, e.g. 126365
ORDER BY f.SYEKCO;Verified September 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
Primary 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
- 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
- F470461The 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.
- 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.