Table

LTMVendTable

Vendors

Holds extra vendor details keyed by vendor account. It adds tax and fiscal identity data to a vendor: taxpayer type, country and state document numbers, withholding tax group, and free text and note fields. It links to the vendor record, the vendors set, the fiscal register and the taxpayer type.

Table name
LTMVendTable
Module
Cross-module and platform
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
LTMVendTableIdx
Replacement key
LTMVendTableIdx
Key fields
AccountNum
Model
GlobalizationLTM

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNumVendor account that these extra details belong to.String (20)
VendAccount
YesVendTable.AccountNumLTMVendTableEntity
AccountTypeGroupIdVendors set that the vendor is assigned to.String (20)
LTMAccountTypeGroupId
NoLTMVendTableEntity
Concept1First free text field for extra information about the vendor.String (250)
LTMConcept1
NoLTMVendTableEntity
Concept2Second free text field for extra information about the vendor.String (250)
LTMConcept2
NoLTMVendTableEntity
Concept3Third free text field for extra information about the vendor.String (250)
LTMConcept3
NoLTMVendTableEntity
CountryDocNumNumber of the document that identifies the vendor at country level.String (40)
LTMCountryDocNum
NoLTMVendTableEntity
CountryDocTypeIdType of country-level identity document. Points to the fiscal register.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdLTMVendTableEntity
CountryRegionIdCountry or region where the vendor is based.String
AddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdLTMVendTableEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
Note1First long note about the vendor.String (-1)
LTMNote
NoLTMVendTableEntity
Note2Second long note about the vendor.String (-1)
LTMNote
NoLTMVendTableEntity
Note3Third long note about the vendor.String (-1)
LTMNote
NoLTMVendTableEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
StateDocNumNumber of the document that identifies the vendor at state level.String (30)
LTMStateDocNum
NoLTMVendTableEntity
StateDocTypeIdType of state-level identity document. Points to the fiscal register.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdLTMVendTableEntity
StateIdState or jurisdiction where the vendor is registered.String
LogisticsAddressStateId
NoLTMVendTableEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxPayerTypeIdTaxpayer type assigned to the vendor.String (15)
LTMTaxPayerTypeId
NoLTMTaxPayerType.TaxPayerTypeIdLTMVendTableEntity
WithholdingSetIDWithholding tax group of the vendor. Used together with the account to find the vendor record.String (30)
LTMWithholdingSetID
NoVendTable.TaxWithholdGroupLTMVendTableEntity

Indexes (1)

  • LTMVendTableIdxPrimary indexReplacement key

    AccountNum

    Unique, alternate key.

Relations (8)

Each relation joins LTMVendTable to another table on the fields shown.

  • LTMAccountTypeGroup → LTMAccountTypeGroup

    Join on AccountTypeGroupId = LTMAccountTypeGroup.AccountTypeGroupId

    Exactly one LTMVendTable record → zero or one LTMAccountTypeGroup record

  • LTMCountry → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Exactly one LTMVendTable record → zero or one LogisticsAddressCountryRegion record

  • LTMCountryFiscalRegister → LTMFiscalRegisterV2

    Join on CountryDocTypeId = LTMFiscalRegisterV2.DocTypeId

    Many LTMVendTable records → zero or one LTMFiscalRegisterV2 record

  • LTMState → LogisticsAddressState

    Join on StateId = LogisticsAddressState.StateId

    Exactly one LTMVendTable record → zero or one LogisticsAddressState record

  • LTMStateFiscalRegister → LTMFiscalRegisterV2

    Join on StateDocTypeId = LTMFiscalRegisterV2.DocTypeId

    Many LTMVendTable records → zero or one LTMFiscalRegisterV2 record

  • LTMTaxPayerType → LTMTaxPayerType

    Join on TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeId

    Exactly one LTMVendTable record → zero or one LTMTaxPayerType record

  • VendTable → VendTable

    Join on AccountNum = VendTable.AccountNum, WithholdingSetID = VendTable.TaxWithholdGroup

    Exactly one LTMVendTable record → exactly one VendTable record

  • AddressCountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Exactly one LTMVendTable record → zero or one LogisticsAddressCountryRegion record

Get this data out

Tables are not exposed directly. These public entities read from LTMVendTable; use one of them in Power BI, Power Platform or a data management project.

Need help with LTMVendTable in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk