Skip to content
NetSuite Reference

vendor

master

The vendor master: identity, terms, incoterm, credit limit and payables balances in both the vendor's primary currency and the base currency.

Module: EntitiesNo partition column
Grain note

balance twins: `balanceprimary` is stated in the vendor's currency, `balance` in the base currency — the same trap applies to unbilledordersprimary / unbilledorders. Mixing them silently mixes currencies.

Notes

As with customer, there is no plain subsidiary column: vendorsubsidiaryrelationship carries the per-subsidiary edge and its own balances.

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.

Structural facts — how the record is partitioned, not a trap by itself

Subsidiary-scoped
The record carries a subsidiary column 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 location column — an org segment in NetSuite before it is a warehouse — and the generated SQL anchors it the same way.

Join & extract hazards — verify before you rely on this

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.
In field listings, the Key chip marks a primary-key field, and the T/F chip marks a check-box column Connect returns as a 'T'/'F' string.

Business record

The business record this table holds, with Oracle’s own documentation for it: the Analytics Browser page that defines the queryable fields, and the current-release Records Browser page that corroborates it.

Fields

18 fields · 1 key

18 fields.

Table fields: position, field name, description, data type, and flags. 18 fields.
#FieldDescriptionTypeFlags
1idInternal IDNUMBER
Primary-key field
2entityidEntity IDVARCHAR
3entitytitleVendor ID as displayedVARCHAR
4altnameVendor nameVARCHAR
5companynameCompany nameVARCHAR
6legalnameLegal nameVARCHAR
7isinactiveInactiveVARCHAR
8datecreatedDate createdTIMESTAMP
9lastmodifieddateLast modified — the incremental watermarkTIMESTAMP
10categoryVendor category (internal id)NUMBER
11currencyVendor primary currency (internal id)NUMBER
12termsPayment terms (internal id)NUMBER
13incotermIncoterm (internal id)NUMBER
14creditlimitCredit limitNUMBER
15balanceprimaryBalance in the vendor's own currencyNUMBER
16balanceBalance in the base currency — the twin of balanceprimaryNUMBER
17unbilledordersprimaryUnbilled orders in the vendor's own currencyNUMBER
18representingsubsidiarySubsidiary this vendor represents for intercompany (internal id)NUMBER

Field provenance: hand-curated. 1 key field.

Boilerplate SQL

Starting point for reading the Connect-landed copy of vendor on Databricks — dates are real DATE/TIMESTAMP columns and need no conversion, and the partition anchors are already in place. The lastmodifieddate watermark is in place too. Set your Unity Catalog location, schema, and filter values below; they’re substituted into the SQL and the copy button.

Query parameters

4 parameters not filled: <catalog>, <schema>, <id>, <watermark>

-- ============================================================
-- Table  : vendor — The vendor master: identity, terms, incoterm, credit limit and payables balances in both the vendor's primary currency and the base currency.
-- Purpose: Column-selected read of vendor — auto-generated from field metadata
-- Grain  : One row per id
-- Caution: balance twins: `balanceprimary` is stated in the vendor's currency, `balance` in the base currency — the same trap applies to unbilledordersprimary / unbilledorders. Mixing them silently mixes currencies.
-- 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.entityid AS "Entity ID",
  t.entitytitle AS "Vendor ID as displayed",
  t.altname AS "Vendor name",
  t.companyname AS "Company name",
  t.legalname AS "Legal name",
  t.isinactive AS "Inactive",  -- 'T'/'F' string — compare = 'T', or CAST via CASE; see quirks #tf-booleans
  t.datecreated AS "Date created",
  t.lastmodifieddate AS "Last modified — the incremental watermark",
  t.category AS "Vendor category (internal id)",
  t.currency AS "Vendor primary currency (internal id)",
  t.terms AS "Payment terms (internal id)",
  t.incoterm AS "Incoterm (internal id)",
  t.creditlimit AS "Credit limit",
  t.balanceprimary AS "Balance in the vendor's own currency",
  t.balance AS "Balance in the base currency — the twin of balanceprimary",
  t.unbilledordersprimary AS "Unbilled orders in the vendor's own currency",
  t.representingsubsidiary AS "Subsidiary this vendor represents for intercompany (internal id)"
FROM <catalog>.<schema>.vendor t
WHERE
  1 = 1  -- no partition column on this record; the filters below are optional
  -- AND t.id = <id>
  -- AND t.lastmodifieddate >= TIMESTAMP '<watermark>'  -- inserts and updates only — deletes never appear here; diff deletedrecord, which is itself blind to line-level deletes (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.

Join details

  • entityvendorforeign key · 1:1
    ON entity.vendor = vendor.id
  • vendorvendorsubsidiaryrelationshipforeign key · 1:N
    ON vendor.id = vendorsubsidiaryrelationship.entity
  • vendorcurrencyforeign key · N:1
    ON vendor.currency = currency.id
  • vendortermforeign key · N:1
    ON vendor.terms = term.id
  • itemvendorvendorforeign key · N:1
    ON itemvendor.vendor = vendor.id
  • itemvendorforeign key · N:1
    ON item.vendor = vendor.id
  • quantitypricingschedulevendorforeign key · N:1
    ON quantitypricingschedule.vendor = vendor.id
  • nexusvendorforeign key · N:1
    ON nexus.taxagency = vendor.id

Browse more Entities tables

More Entities tables

Maintained by Summit Analytics, a supply chain analytics practice. The tools and references are free — the consulting is selective.

Part of the Summit Analytics reference library.

Work with the practice

Not affiliated with or endorsed by Oracle or NetSuite. NetSuite is a registered trademark of Oracle and/or its affiliates.