Table
LTMVendDefaultDocumentClass
Document class enabled for vendor
Stores default document classes for a customer or vendor set. Each row is keyed by account type group and default payment document class. It has one class for each document kind, such as purchase invoice, credit note, packing slip, debit and credit journals and return delivery note.
- Table name
LTMVendDefaultDocumentClass- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
LTMVendDefaultDocumentClassIdx- Replacement key
LTMVendDefaultDocumentClassIdx- Key fields
AccountTypeGroupId, DefaultPaymentDocumentClassId- Model
GlobalizationLTM
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountTypeGroupIdCustomer or vendor set that the defaults apply to. | String (20)LTMAccountTypeGroupId | Yes | LTMVendDefaultDocumentClassEntity | |
DefaultPaymentDocumentClassIdDefault document class for value documents. | String (15)LTMDocumentClassificationId | Yes | LTMDocumentClassification.DocumentClassificationId | LTMVendDefaultDocumentClassEntity |
CreditJournalLineVCIdDefault document class for credit journal lines. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | LTMVendDefaultDocumentClassEntity |
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 | LTMVendDefaultDocumentClassEntity |
PackingSlipVCIdDefault document class for packing slips. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | LTMVendDefaultDocumentClassEntity |
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 | LTMVendDefaultDocumentClassEntity |
PurchInvoiceVCIdDefault document class for purchase invoices. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | LTMVendDefaultDocumentClassEntity |
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 | LTMVendDefaultDocumentClassEntity |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
LTMVendDefaultDocumentClassIdxPrimary indexReplacement keyAccountTypeGroupId,DefaultPaymentDocumentClassIdUnique, alternate key.
Relations (9)
Each relation joins LTMVendDefaultDocumentClass to another table on the fields shown.
LTMAccountTypeGroup→LTMAccountTypeGroupJoin on
AccountTypeGroupId = LTMAccountTypeGroup.AccountTypeGroupIdExactly one LTMVendDefaultDocumentClass record → exactly one LTMAccountTypeGroup record
LTMCustVendDocumentClass→LTMCustVendDocumentClassJoin on
LTMCustVendDocumentClass.CustVendEntity = null,AccountTypeGroupId = LTMCustVendDocumentClass.AccountTypeGroupIdExactly one LTMVendDefaultDocumentClass record → exactly one LTMCustVendDocumentClass record
LTMDocumentClassificationCredit→LTMDocumentClassificationJoin on
CreditJournalLineVCId = LTMDocumentClassification.DocumentClassificationIdExactly one LTMVendDefaultDocumentClass record → exactly one LTMDocumentClassification record
LTMDocumentClassificationCreditNotes→LTMDocumentClassificationJoin on
PurchCreditNoteVCId = LTMDocumentClassification.DocumentClassificationIdExactly one LTMVendDefaultDocumentClass record → exactly one LTMDocumentClassification record
LTMDocumentClassificationDebit→LTMDocumentClassificationJoin on
DebitJournalLineVCId = LTMDocumentClassification.DocumentClassificationIdExactly one LTMVendDefaultDocumentClass record → exactly one LTMDocumentClassification record
LTMDocumentClassificationInvoice→LTMDocumentClassificationJoin on
PurchInvoiceVCId = LTMDocumentClassification.DocumentClassificationIdExactly one LTMVendDefaultDocumentClass record → exactly one LTMDocumentClassification record
LTMDocumentClassificationPackingslip→LTMDocumentClassificationJoin on
PackingSlipVCId = LTMDocumentClassification.DocumentClassificationIdExactly one LTMVendDefaultDocumentClass record → exactly one LTMDocumentClassification record
LTMDocumentClassificationPayment→LTMDocumentClassificationJoin on
DefaultPaymentDocumentClassId = LTMDocumentClassification.DocumentClassificationIdExactly one LTMVendDefaultDocumentClass record → exactly one LTMDocumentClassification record
LTMDocumentClassificationRemission→LTMDocumentClassificationJoin on
RefoundRemissionVCId = LTMDocumentClassification.DocumentClassificationIdExactly one LTMVendDefaultDocumentClass record → exactly one LTMDocumentClassification record
Get this data out
Tables are not exposed directly. These public entities read from LTMVendDefaultDocumentClass; use one of them in Power BI, Power Platform or a data management project.
LTMVendDefaultDocumentClassEntity· 8 fields from this table
Need help with LTMVendDefaultDocumentClass in a report, an integration or a migration? Talk to Dr Dynamics.