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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountTypeGroupIdCustomer or vendor set that the defaults apply to.String (20)
LTMAccountTypeGroupId
YesLTMVendDefaultDocumentClassEntity
DefaultPaymentDocumentClassIdDefault document class for value documents.String (15)
LTMDocumentClassificationId
YesLTMDocumentClassification.DocumentClassificationIdLTMVendDefaultDocumentClassEntity
CreditJournalLineVCIdDefault document class for credit journal lines.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdLTMVendDefaultDocumentClassEntity
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.DocumentClassificationIdLTMVendDefaultDocumentClassEntity
PackingSlipVCIdDefault document class for packing slips.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdLTMVendDefaultDocumentClassEntity
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.DocumentClassificationIdLTMVendDefaultDocumentClassEntity
PurchInvoiceVCIdDefault document class for purchase invoices.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdLTMVendDefaultDocumentClassEntity
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.DocumentClassificationIdLTMVendDefaultDocumentClassEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (9)

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

  • LTMAccountTypeGroup → LTMAccountTypeGroup

    Join on AccountTypeGroupId = LTMAccountTypeGroup.AccountTypeGroupId

    Exactly one LTMVendDefaultDocumentClass record → exactly one LTMAccountTypeGroup record

  • LTMCustVendDocumentClass → LTMCustVendDocumentClass

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

    Exactly one LTMVendDefaultDocumentClass record → exactly one LTMCustVendDocumentClass record

  • LTMDocumentClassificationCredit → LTMDocumentClassification

    Join on CreditJournalLineVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMVendDefaultDocumentClass record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationCreditNotes → LTMDocumentClassification

    Join on PurchCreditNoteVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMVendDefaultDocumentClass record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationDebit → LTMDocumentClassification

    Join on DebitJournalLineVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMVendDefaultDocumentClass record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationInvoice → LTMDocumentClassification

    Join on PurchInvoiceVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMVendDefaultDocumentClass record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationPackingslip → LTMDocumentClassification

    Join on PackingSlipVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMVendDefaultDocumentClass record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationPayment → LTMDocumentClassification

    Join on DefaultPaymentDocumentClassId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMVendDefaultDocumentClass record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationRemission → LTMDocumentClassification

    Join on RefoundRemissionVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly 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.

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

Email sales@drdynamics.co.uk