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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountTypeGroupIdCustomers/vendors set that the defaults belong to. | String (20)LTMAccountTypeGroupId | Yes | LTMVendDefaultDocumentClassV2Entity | |
CreditJournalLineVCIdDefault document class for credit journal lines. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | LTMVendDefaultDocumentClassV2Entity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DebitJournalLineVCIdDefault document class for debit journal lines. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | LTMVendDefaultDocumentClassV2Entity |
DefaultPaymentDocumentClassIdDefault document class for payment documents, labelled Value document. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | LTMVendDefaultDocumentClassV2Entity |
PackingSlipVCIdDefault document class for packing slips. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | LTMVendDefaultDocumentClassV2Entity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurchCreditNoteVCIdDefault document class for purchase credit notes. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | LTMVendDefaultDocumentClassV2Entity |
PurchInvoiceVCIdDefault document class for purchase invoices. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | LTMVendDefaultDocumentClassV2Entity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefoundRemissionVCIdDefault document class for return delivery note vouchers. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | LTMVendDefaultDocumentClassV2Entity |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
AccountTypeGroupIdIdxReplacement keyUnique, alternate key.
Relations (9)
Each relation joins LTMVendDefaultDocumentClassV2 to another table on the fields shown.
LTMAccountTypeGroup→LTMAccountTypeGroupJoin on
AccountTypeGroupId = LTMAccountTypeGroup.AccountTypeGroupIdExactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMAccountTypeGroup record
LTMCustVendDocumentClass→LTMCustVendDocumentClassJoin on
LTMCustVendDocumentClass.CustVendEntity = null,AccountTypeGroupId = LTMCustVendDocumentClass.AccountTypeGroupIdExactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMCustVendDocumentClass record
LTMDocumentClassificationCredit→LTMDocumentClassificationJoin on
CreditJournalLineVCId = LTMDocumentClassification.DocumentClassificationIdExactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMDocumentClassification record
LTMDocumentClassificationCreditNotes→LTMDocumentClassificationJoin on
PurchCreditNoteVCId = LTMDocumentClassification.DocumentClassificationIdExactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMDocumentClassification record
LTMDocumentClassificationDebit→LTMDocumentClassificationJoin on
DebitJournalLineVCId = LTMDocumentClassification.DocumentClassificationIdExactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMDocumentClassification record
LTMDocumentClassificationInvoice→LTMDocumentClassificationJoin on
PurchInvoiceVCId = LTMDocumentClassification.DocumentClassificationIdExactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMDocumentClassification record
LTMDocumentClassificationPackingslip→LTMDocumentClassificationJoin on
PackingSlipVCId = LTMDocumentClassification.DocumentClassificationIdExactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMDocumentClassification record
LTMDocumentClassificationPayment→LTMDocumentClassificationJoin on
DefaultPaymentDocumentClassId = LTMDocumentClassification.DocumentClassificationIdExactly one LTMVendDefaultDocumentClassV2 record → exactly one LTMDocumentClassification record
LTMDocumentClassificationRemission→LTMDocumentClassificationJoin on
RefoundRemissionVCId = LTMDocumentClassification.DocumentClassificationIdExactly 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.
LTMVendDefaultDocumentClassV2Entity· 8 fields from this table
Need help with LTMVendDefaultDocumentClassV2 in a report, an integration or a migration? Talk to Dr Dynamics.