KNIME Extract Builder
Build multi-table extracts step by step using DB nodes. Know which table is authoritative for each field, how to join correctly, and when to filter and group to avoid row explosion.
The Golden Pattern: Filter → Join → GroupBy → Join
Complex extracts across Oracle modules require a specific sequence. You cannot simply select all tables and let a single query handle everything — the joins multiply rows unless you control cardinality at each step.
This ensures: 1 invoice line = 1 output row. The enrichment joins (supplier name, GL account, entity name) are safe because they are N:1 lookups.
Field Finder
Search for any field — see ALL tables where it exists, which one to use, and the exact join key to get it.
Invoice / Transaction Number
The human-readable document reference (invoice number, credit note number, AR transaction number).
AP supplier invoices. Join from lines via INVOICE_ID.
AR sales invoices and credit memos. Join from ZX_LINES via TRX_ID where APPLICATION_ID = 222.
Payment document number — not the invoice number itself.
References the invoice by ID, not by number. Join to AP/AR header for the actual number.
Invoice / Line Amount (excl. tax)
The monetary amount of an invoice or line item, excluding tax.
Header-level total (includes all lines). Use for total invoice value.
Per-line amount. Filter LINE_TYPE_LOOKUP_CODE = ITEM to exclude tax/freight lines.
AR line amounts. Filter LINE_TYPE = LINE (not TAX).
Distribution-level — may be MULTIPLE rows per line (split by GL account). SUM needed.
The base amount on which tax was calculated. Useful for verification.
Tax Amount
The tax (VAT/GST) amount calculated for a transaction.
★ SINGLE SOURCE OF TRUTH. Contains output from both Orion and ONESOURCE engines.
⚠ AVOID — these are duplicates of ZX_LINES. Using both causes double-counting.
Audit log only — does not store amounts. Use ZX_LINES instead.
Tax Rate / Percentage
The tax rate percentage applied to a transaction line.
The ACTUAL rate applied to this specific transaction. Use this for reporting.
Master rate definitions with validity dates. Use for rate-change analysis, not for transaction reporting.
Orion configuration. Shows what rate Orion WOULD apply, not what was actually used.
Tax Regime / Country VAT System
Which country/tax system applies (e.g., NL_VAT, DE_VAT, FR_VAT).
The regime applied to this transaction. Filter here for country-specific VAT returns.
Regime definitions with country code and full name. Join for COUNTRY_CODE or display name.
Orion equivalent. Maps to ZX regime via COUNTRY_CODE.
Reverse Charge / Self-Assessment
Whether VAT is reverse-charged (buyer accounts for VAT instead of seller).
Y = reverse charge applied. This is the transactional flag set by the tax engine.
Configuration only — shows rules where reverse charge CAN apply, not where it DID apply.
Supplier Name
The name of the supplier/vendor on a purchase invoice.
Master supplier table. Join: AP_INVOICES_ALL.VENDOR_ID = AP_SUPPLIERS.VENDOR_ID
TCA party model — same name, different join path. Used more in AR.
Supplier VAT / Tax Registration Number
The VAT registration number of a supplier.
Per-SITE VAT number. Multi-country suppliers have different numbers per site. Join via VENDOR_SITE_ID.
Header-level default. Often blank or only one country. Less reliable than site-level.
eBTax party tax profile. More complete but harder join path.
All registered VAT numbers per party. Useful for "where is this supplier registered" questions.