Table

LTMCustVendDocumentClass

Authorized document classes

Lists which document classes are allowed for a customer or vendor set. The key combines the document class, the set and the customer/vendor indicator. Each row links a document class record to a customers/vendors set.

Table name
LTMCustVendDocumentClass
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
LTMCustVendDocumentClass
Replacement key
LTMCustVendDocumentClass
Key fields
DocumentClassificationId, AccountTypeGroupId, CustVendEntity
Model
GlobalizationLTM

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DocumentClassificationIdDocument class that is authorised. Points to a document class record.String (15)
LTMDocumentClassificationId
YesLTMDocumentClassification.DocumentClassificationIdLTMCustVendDocumentClassEntity
AccountTypeGroupIdCustomers or vendors set that the document class applies to.String (20)
LTMAccountTypeGroupId
YesLTMAccountTypeGroup.AccountTypeGroupIdLTMCustVendDocumentClassEntity
CustVendEntityShows whether the set is for customers, vendors or neither.Enum
LTMCustVendEntity (enum)
YesLTMAccountTypeGroup.CustVendEntityLTMCustVendDocumentClassEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • LTMDocumentClassification → LTMDocumentClassification

    Join on LTMDocumentClassification.Inactive = null, DocumentClassificationId = LTMDocumentClassification.DocumentClassificationId

    Zero or one LTMCustVendDocumentClass record → zero or one LTMDocumentClassification record

  • LTMAccountTypeGroup → LTMAccountTypeGroup

    Join on CustVendEntity = LTMAccountTypeGroup.CustVendEntity, AccountTypeGroupId = LTMAccountTypeGroup.AccountTypeGroupId

    Exactly one LTMCustVendDocumentClass record → exactly one LTMAccountTypeGroup record

Get this data out

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

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

Email sales@drdynamics.co.uk