expensecategory
masterThe expense-category list: one row per category an expense report line can be coded to, with its default rate, whether a rate must be entered, and the account the expense posts to.
no lastmodifieddate on this record — full refresh. expenseacct and expenseitem are id pointers at the account and item records, but neither is attested as a join on this page, so no edge is drawn and both are read as ids.
Browser page name is expenseCategory. hasSubsidiary is false by design: `subsidiary` is a MULTISELECT ("Subsidiaries") — one category can serve several — so an equality anchor on it would drop every shared category. The two joins the page does list target the per-currency rate satellite and a translation record, neither of which is cataloged here, so this record ships with no edges. raterequired and defaultrate are the pair that explains why some expense lines carry a rate and others do not.
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
11 fields · 1 key
11 fields.
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | id | Internal ID | NUMBER | Primary-key field |
| 2 | name | Category name | VARCHAR | |
| 3 | description | Description | VARCHAR | |
| 4 | expenseacct | Account the expense posts to (internal id) — read as an id, no page-attested join | NUMBER | |
| 5 | expenseitem | Item the expense is billed through (internal id) — read as an id, no page-attested join | NUMBER | |
| 6 | defaultrate | Default rate applied to a line in this category | NUMBER | |
| 7 | raterequired | A rate must be entered on the line | VARCHAR | |
| 8 | personalcorporatecardexpense | Category marks a personal expense on a corporate card | VARCHAR | |
| 9 | isinactive | Inactive | VARCHAR | |
| 10 | subsidiary | Subsidiaries the category serves — a MULTISELECT, so no anchor is emitted | NUMBER | |
| 11 | externalid | External ID | VARCHAR |
Field provenance: hand-curated. 1 key field.
Boilerplate SQL
Starting point for reading the Connect-landed copy of expensecategory 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.
3 parameters not filled: <catalog>, <schema>, <id>
-- ============================================================
-- Table : expensecategory — The expense-category list: one row per category an expense report line can be coded to, with its default rate, whether a rate must be entered, and the account the expense posts to.
-- Purpose: Column-selected read of expensecategory — auto-generated from field metadata
-- Grain : One row per id
-- Caution: no lastmodifieddate on this record — full refresh. expenseacct and expenseitem are id pointers at the account and item records, but neither is attested as a join on this page, so no edge is drawn and both are read as ids.
-- 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.id AS "Internal ID",
t.name AS "Category name",
t.description AS "Description",
t.expenseacct AS "Account the expense posts to (internal id) — read as an id, no page-attested join",
t.expenseitem AS "Item the expense is billed through (internal id) — read as an id, no page-attested join",
t.defaultrate AS "Default rate applied to a line in this category",
t.raterequired AS "A rate must be entered on the line", -- 'T'/'F' string — compare = 'T', or CAST via CASE; see quirks #tf-booleans
t.personalcorporatecardexpense AS "Category marks a personal expense on a corporate card", -- 'T'/'F' string — compare = 'T', or CAST via CASE; see quirks #tf-booleans
t.isinactive AS "Inactive", -- 'T'/'F' string — compare = 'T', or CAST via CASE; see quirks #tf-booleans
t.subsidiary AS "Subsidiaries the category serves — a MULTISELECT, so no anchor is emitted",
t.externalid AS "External ID"
FROM <catalog>.<schema>.expensecategory t
WHERE
1 = 1 -- no partition column on this record; the filters below are optional
-- AND t.id = <id>
-- no lastmodifieddate on this record — there is no watermark column, so incremental extraction must full-refresh it (see quirks #deletes)
ORDER BY t.id;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.
More Financials tables
- nexusThe nexus list: one row per tax jurisdiction the account is registered in, hierarchical through a parent nexus, with the country, state and the tax agency filings go to.
- salestaxitemThe tax-code list: one row per tax code a transaction line can be taxed under, pointing at the tax type that decides how the tax behaves.
- taxitemtaxgroupThe tax-item supertype: one row per tax code and tax group together, which is the surface a transaction line's tax pointer actually resolves against.
- taxtypeThe tax-type list: one row per type, carrying the behavior flags that decide how tax under it posts — whether it adds to the transaction total, whether it lands in item cost, whether it is a reverse charge, and whether it is included in the net amount.
- accountThe chart of accounts: one row per account, hierarchical through parent, with its type, currency, special-account marker and the balance NetSuite maintains on it.
- accounttypeThe account-type list: one row per type, carrying the side of the ledger it posts to, whether it belongs on the balance sheet, and the default revaluation and consolidation-rate behavior for accounts of that type.