transactionaccountingline
transactionThe accounting projection of a transaction line: base-currency amount, debit, credit and net, per accounting book, with the GL account and audit-number stamps.
this record duplicates once per accounting book (up to five) and states amounts in the subsidiary's BASE currency, while transactionline states them in transaction currency — anchor an accounting book or every amount multiplies; see quirks #tal-and-books.
Browser page name is TransactionAccountingLine. It has no id of its own: the key is transaction + transactionline + accountingbook. Reach it from transactionline, never directly from transaction — a header-to-accounting-line join fans out across every line of the document. Its `account` column is the practical route from a document to the chart of accounts, and you will write that join; this catalog draws no edge for it because neither this page nor the account page attests it as a join, and an edge here would claim more than the source does.
What the badges mean
- master
- Data class: what the record holds — master data, transaction documents, control/configuration, or a documented convenience record. NetSuite has no product-family or schema axis, so this is the whole classification.
- Subsidiary-scoped
- The record carries a
subsidiarycolumn that partitions its rows, so the generated SQL anchors it. On a few records the column is a multiselect rather than a scalar foreign key — the table notes say which (see the quirks guide). - Location-scoped
- The record carries a
locationcolumn — an org segment in NetSuite before it is a warehouse — and the generated SQL anchors it the same way. - View
- A documented convenience record rather than a stored one. Land the records it stands in for instead of assuming it extracts as-is — the table notes say where the rows actually live.
Structural facts — how the record is partitioned, not a trap by itself
Join & extract hazards — verify before you rely on this
'T'/'F' string.Fields
15 fields · 3 key
15 fields.
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | transaction | Transaction (internal id) | NUMBER | Primary-key field |
| 2 | transactionline | Transaction line (internal id) | NUMBER | Primary-key field |
| 3 | accountingbook | Accounting book (internal id) — anchor this or amounts multiply | NUMBER | Primary-key field |
| 4 | account | GL account (internal id) | NUMBER | |
| 5 | posting | Line posts to the GL | VARCHAR | |
| 6 | amount | Amount in the subsidiary's BASE currency | NUMBER | |
| 7 | credit | Credit in base currency | NUMBER | |
| 8 | debit | Debit in base currency | NUMBER | |
| 9 | netamount | Net amount in base currency | NUMBER | |
| 10 | amountpaid | Amount paid in base currency | NUMBER | |
| 11 | amountunpaid | Amount unpaid in base currency | NUMBER | |
| 12 | exchangerate | Exchange rate applied to this book | NUMBER | |
| 13 | glauditnumber | GL audit number | VARCHAR | |
| 14 | glauditnumberdate | GL audit number date | DATE | |
| 15 | overheadparentitem | Material overhead parent item (internal id) | NUMBER |
Field provenance: hand-curated. 3 key fields.
Boilerplate SQL
Starting point for reading the Connect-landed copy of transactionaccountingline on Databricks — dates are real DATE/TIMESTAMP columns and need no conversion, and the partition anchors are already in place. This record carries no modification stamp, and the snippet says so where the watermark would otherwise go. Set your Unity Catalog location, schema, and filter values below; they’re substituted into the SQL and the copy button.
5 parameters not filled: <catalog>, <schema>, <transaction>, <transactionline>, <accountingbook>
-- ============================================================
-- Table : transactionaccountingline — The accounting projection of a transaction line: base-currency amount, debit, credit and net, per accounting book, with the GL account and audit-number stamps.
-- Purpose: Column-selected read of transactionaccountingline — auto-generated from field metadata
-- Grain : One row per transaction + transactionline + accountingbook
-- Caution: this record duplicates once per accounting book (up to five) and states amounts in the subsidiary's BASE currency, while transactionline states them in transaction currency — anchor an accounting book or every amount multiplies; see quirks #tal-and-books.
-- Notes : Auto-generated skeleton for NetSuite data landed in your lakehouse from a SuiteAnalytics Connect (or SuiteQL) extract — it never addresses live NetSuite. Identifiers are lowercase as NetSuite2.com renders them. Select-type columns hold numeric internal ids: BUILTIN.DF() display resolution exists only at extraction time, so decode ids by joining the landed list records; see quirks #display-values. Check-box columns arrive as 'T'/'F' strings; see quirks #tf-booleans.
-- ============================================================
SELECT
t.transaction AS "Transaction (internal id)",
t.transactionline AS "Transaction line (internal id)",
t.accountingbook AS "Accounting book (internal id) — anchor this or amounts multiply",
t.account AS "GL account (internal id)",
t.posting AS "Line posts to the GL", -- 'T'/'F' string — compare = 'T', or CAST via CASE; see quirks #tf-booleans
t.amount AS "Amount in the subsidiary's BASE currency",
t.credit AS "Credit in base currency",
t.debit AS "Debit in base currency",
t.netamount AS "Net amount in base currency",
t.amountpaid AS "Amount paid in base currency",
t.amountunpaid AS "Amount unpaid in base currency",
t.exchangerate AS "Exchange rate applied to this book",
t.glauditnumber AS "GL audit number",
t.glauditnumberdate AS "GL audit number date",
t.overheadparentitem AS "Material overhead parent item (internal id)"
FROM <catalog>.<schema>.transactionaccountingline t
WHERE
1 = 1 -- no partition column on this record; the filters below are optional
-- AND t.transaction = <transaction>
-- AND t.transactionline = <transactionline>
-- AND t.accountingbook = <accountingbook>
-- no lastmodifieddate on this record — there is no watermark column, so incremental extraction must full-refresh it (see quirks #deletes)
ORDER BY t.transaction;Verified August 2026 · Analytics Browser 2021.1 · corroborated 2025.2
Select columns hold internal ids, not display text — see decoding display values.
Relationships
Diagram of 1-hop neighbors — join details below. Document-link edges are highlighted; they chain one document to the next and are the joins newcomers most often get wrong.
Join details
ON transactionline.transaction = transactionaccountingline.transaction AND transactionline.id = transactionaccountingline.transactionline AND transactionaccountingline.accountingbook = <accounting_book_id> -- TAL duplicates once per accounting book (max 5) and is stated in the subsidiary's base currency; TL is transaction currency — see quirks #tal-and-booksON transactionaccountingline.accountingbook = accountingbook.id
More Transactions tables
- transactionbillingaddressThe billing address stamped on a document: the same fourteen columns as the shipping twin, keyed by the address key the transaction header's billing pointer resolves to.
- transactionlineThe line grain of the transaction spine: item, quantity, rate and transaction-currency amounts, plus the subsidiary, location, class and department that scope the line.
- transactionshipmentThe shipment satellite of a transaction: ship-from and ship-to addresses, ship method, shipping and handling rates, weight, and whether the shipment has been fulfilled.
- transactionshippingaddressThe shipping address as it was stamped on a document: the formatted block plus the parsed lines, city, state, zip, country and phone, keyed by the address key the transaction header points at.
- nexttransactionlinelinkThe forward line-link table: one row per line-to-line link travelling downstream — a sales-order line to its fulfillment line, a fulfillment line to its invoice line — with the link type and linked amount.
- paymentmethodThe payment-method list: one row per method a document can carry, with its type and the GL account payments land in.