Table

LTMVendDefaultDocumentClassV2

Document class enabled for vendor

Stores default document classes for a customers/vendors set, keyed by the set ID. It has one column for each document kind, such as purchase invoice, credit note, packing slip and journal lines. Each column points to LTMDocumentClassification.

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

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountTypeGroupIdCustomers/vendors set that the defaults belong to.String (20)
LTMAccountTypeGroupId
YesLTMVendDefaultDocumentClassV2Entity
CreditJournalLineVCIdDefault document class for credit journal lines.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdLTMVendDefaultDocumentClassV2Entity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DebitJournalLineVCIdDefault document class for debit journal lines.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdLTMVendDefaultDocumentClassV2Entity
DefaultPaymentDocumentClassIdDefault document class for payment documents, labelled Value document.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdLTMVendDefaultDocumentClassV2Entity
PackingSlipVCIdDefault document class for packing slips.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdLTMVendDefaultDocumentClassV2Entity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchCreditNoteVCIdDefault document class for purchase credit notes.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdLTMVendDefaultDocumentClassV2Entity
PurchInvoiceVCIdDefault document class for purchase invoices.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdLTMVendDefaultDocumentClassV2Entity
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
RefoundRemissionVCIdDefault document class for return delivery note vouchers.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdLTMVendDefaultDocumentClassV2Entity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (9)

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

  • LTMAccountTypeGroup → LTMAccountTypeGroup

    Join on AccountTypeGroupId = LTMAccountTypeGroup.AccountTypeGroupId

    Exactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMAccountTypeGroup record

  • LTMCustVendDocumentClass → LTMCustVendDocumentClass

    Join on LTMCustVendDocumentClass.CustVendEntity = null, AccountTypeGroupId = LTMCustVendDocumentClass.AccountTypeGroupId

    Exactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMCustVendDocumentClass record

  • LTMDocumentClassificationCredit → LTMDocumentClassification

    Join on CreditJournalLineVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationCreditNotes → LTMDocumentClassification

    Join on PurchCreditNoteVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationDebit → LTMDocumentClassification

    Join on DebitJournalLineVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationInvoice → LTMDocumentClassification

    Join on PurchInvoiceVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationPackingslip → LTMDocumentClassification

    Join on PackingSlipVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationPayment → LTMDocumentClassification

    Join on DefaultPaymentDocumentClassId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationRemission → LTMDocumentClassification

    Join on RefoundRemissionVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMDocumentClassification record

Get this data out

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

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

Email sales@drdynamics.co.uk