Skip to content
D365 Reference

VendTable

main

Vendor master — one row per vendor account, with the RecId link to its global-address-book party

Module: Procurement & SourcingCompany-partitioned (DataAreaId)
What the badges mean
main
Table group: how F&O categorizes the table's role — main entity, group/header, transaction, worksheet header, worksheet line, reference, parameter, or framework.
Shared across companies
The table carries no DataAreaId— rows aren’t partitioned per company, so a query never needs (and can’t use) a company filter here (see the quirks guide).
Date-effective
The table carries a ValidFrom/ValidTo effectivity window — a join without a date filter multiplies every key by its history (see the quirks guide).
In field listings, K marks a key field.
Used in the library
Dashboard patterns

Fields

25 fields · 1 key

25 fields.

Table fields: key flag, field name, extended data type, description, data type, length, and quirk flags. 25 fields.
KeyFieldEDTDescriptionTypeLengthFlags
KeyAccountNumVendAccountThe vendor account number — the natural keystring20
PartyRecIdRecId of the global-address-book party in DirPartyTable this vendor resolves to for its nameint64
VendGroupVendGroupIdVendor group for posting and reportingstring10
InvoiceAccountVendAccountAccount invoices from this vendor are settled againststring20
BlockedWhether the vendor is blocked for transactionsenum
CurrencyDefault currency for the vendor's orders and invoicesstring3
PaymTermIdTerms of payment agreed with the vendorstring10
PaymModeDefault method of paymentstring10
CashDiscCash discount code agreed with the vendorstring10
DlvTermDefault delivery termsstring10
DlvModeDefault mode of deliverystring10
TaxGroupSales tax group applied to the vendor's transactionsstring10
VATNumThe vendor's VAT / tax registration numberstring20
DefaultDimensionRecIdRecId of the vendor's default financial-dimension value set in DimensionAttributeValueSetint64
BankAccountDefault vendor bank account payments are sent tostring10
CreditMaxCredit limit granted by the vendorreal
OneTimeVendorWhether the account is a one-time vendorenum
ItemBuyerGroupIdBuyer group responsible for the vendorstring10
InventSiteIdInventSiteIdDefault receiving site for the vendor's ordersstring10
InventLocationInventLocationIdDefault receiving warehouse — note the field is InventLocation, without the Id suffixstring10
ClearingPeriodPayment clearing period for the vendorstring10
PurchPoolIdPurchase pool new orders for the vendor default intostring10
LineDiscLine discount group for purchase price lookupsstring10
EndDiscTotal (end) discount groupstring10
PriceGroupPrice group used for purchase price lookupsstring10

Field provenance: hand-curated.

Boilerplate SQL

Starting point for reading VendTable on Databricks — enums are decoded, 1900-01-01 dates are wrapped to NULL, and the DataAreaId anchor is in place. Set your Unity Catalog location, company, and filter values below; they’re substituted into the SQL and the copy button.

Query parameters

4 parameters not filled: <catalog>, <schema>, <company>, <VendAccount>

-- ============================================================
-- Table  : VendTable Vendor master — one row per vendor account, with the RecId link to its global-address-book party
-- Purpose: Column-selected read of VendTable — auto-generated from field metadata
-- Grain  : One row per company (dataareaid) + AccountNum
-- Notes  : Auto-generated skeleton for Synapse Link / Fabric Link-landed F&O data (lowercase column names). Enums decoded inline where verified; datetimes stored in UTC; 1900-01-01 dates are sentinels mapped to NULL. System/audit columns omitted — see the quirks guide.
-- ============================================================
SELECT
  v.accountnum AS "The vendor account number — the natural key",
  v.party AS "RecId of the global-address-book party in DirPartyTable this vendor resolves to for its name",
  v.vendgroup AS "Vendor group for posting and reporting",
  v.invoiceaccount AS "Account invoices from this vendor are settled against",
  v.blocked AS "Whether the vendor is blocked for transactions",  -- enum: decode v.blocked via GlobalOptionsetMetadata join — see quirks guide #enums
  v.currency AS "Default currency for the vendor's orders and invoices",
  v.paymtermid AS "Terms of payment agreed with the vendor",
  v.paymmode AS "Default method of payment",
  v.cashdisc AS "Cash discount code agreed with the vendor",
  v.dlvterm AS "Default delivery terms",
  v.dlvmode AS "Default mode of delivery",
  v.taxgroup AS "Sales tax group applied to the vendor's transactions",
  v.vatnum AS "The vendor's VAT / tax registration number",
  v.defaultdimension AS "RecId of the vendor's default financial-dimension value set in DimensionAttributeValueSet",
  v.bankaccount AS "Default vendor bank account payments are sent to",
  v.creditmax AS "Credit limit granted by the vendor",
  v.onetimevendor AS "Whether the account is a one-time vendor",  -- enum: decode v.onetimevendor via GlobalOptionsetMetadata join — see quirks guide #enums
  v.itembuyergroupid AS "Buyer group responsible for the vendor",
  v.inventsiteid AS "Default receiving site for the vendor's orders",
  v.inventlocation AS "Default receiving warehouse — note the field is InventLocation, without the Id suffix",
  v.clearingperiod AS "Payment clearing period for the vendor",
  v.purchpoolid AS "Purchase pool new orders for the vendor default into",
  v.linedisc AS "Line discount group for purchase price lookups",
  v.enddisc AS "Total (end) discount group",
  v.pricegroup AS "Price group used for purchase price lookups"
FROM <catalog>.<schema>.vendtable v
-- Resolve DirPartyTable (via Party): uncomment to join on its RecId surrogate key
-- LEFT JOIN <catalog>.<schema>.dirpartytable dir ON dir.recid = v.party
-- Resolve DimensionAttributeValueSet (via DefaultDimension): uncomment to join on its RecId surrogate key
-- LEFT JOIN <catalog>.<schema>.dimensionattributevalueset dim ON dim.recid = v.defaultdimension
WHERE
  v.dataareaid = '<company>'
  -- AND v.accountnum = '<VendAccount>'
ORDER BY v.accountnum;

Verified September 2026

Relationships

Diagram of 1-hop neighbors — join details below. RecId and InventDim edges are highlighted; they’re the joins newcomers most often get wrong.

Join details

  • PurchTableVendTableforeign key · N:1
    ON purchtable.orderaccount = vendtable.accountnum AND purchtable.dataareaid = vendtable.dataareaid
  • VendTableVendGroupforeign key · N:1
    ON vendtable.vendgroup = vendgroup.vendgroup AND vendtable.dataareaid = vendgroup.dataareaid
  • VendTableDirPartyTableRecId ref · N:1
    ON vendtable.party = dirpartytable.recid
  • VendTableDimensionAttributeValueSetRecId ref · N:1
    ON vendtable.defaultdimension = dimensionattributevalueset.recid
  • VendTransVendTableforeign key · N:1
    ON vendtrans.accountnum = vendtable.accountnum AND vendtrans.dataareaid = vendtable.dataareaid

Data Entities That Expose This Table

More Procurement & Sourcing 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 Microsoft. Microsoft, Dynamics 365, and Microsoft Fabric are trademarks of the Microsoft group of companies.