Table

LTMCustDefaultDocumentClass

Document class enabled for customer

Stores default document classes for a set of customers or vendors. Each row is keyed by the customer/vendor set and gives a class for each document type, such as invoices, credit notes, packing slips and project documents. The classes point to the document classification table.

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

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountTypeGroupIdCustomer/vendor set that the defaults apply to.String (20)
LTMAccountTypeGroupId
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FreeTextCreditNoteVCIdDefault document class for free text credit notes.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdNone
FreeTextInvoiceVCIdDefault document class for free text invoices.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdNone
FTZPakingSlipVCIdDefault document class for the trade zone packing slip. It points to a document class record.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdNone
PackingSlipVCIdDefault document class for packing slips.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjectCreditNoteIdDefault document class for project credit notes.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdNone
ProjectInvoiceidDefault document class for project invoices.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdNone
ProjectPackingSlipidDefault document class for project packing slips.String (15)
LTMProjectPackingSlipId
NoLTMDocumentClassification.DocumentClassificationIdNone
ProjectReturnDeliveryNoteIdDefault document class for project return delivery notes.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdNone
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 notes.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdNone
SalesCreditNoteVCIdDefault document class for sales credit notes.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdNone
SalesInvoiceVCIdDefault document class for sales invoices.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • LTMCustDefaultVoucherClassIdxPrimary indexReplacement key

    AccountTypeGroupId

    Unique, alternate key.

Relations (13)

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

  • LTMAccountTypeGroup → LTMAccountTypeGroup

    Join on AccountTypeGroupId = LTMAccountTypeGroup.AccountTypeGroupId

    Exactly one LTMCustDefaultDocumentClass record → exactly one LTMAccountTypeGroup record

  • LTMCustVendDocumentClass → LTMCustVendDocumentClass

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

    Zero or one LTMCustDefaultDocumentClass record → zero or one LTMCustVendDocumentClass record

  • LTMDocumentClassificationFreeTextCN → LTMDocumentClassification

    Join on FreeTextCreditNoteVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMCustDefaultDocumentClass record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationFreeTextInv → LTMDocumentClassification

    Join on FreeTextInvoiceVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMCustDefaultDocumentClass record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationFreeTextPS → LTMDocumentClassification

    Join on FTZPakingSlipVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMCustDefaultDocumentClass record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationPackingSlip → LTMDocumentClassification

    Join on PackingSlipVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMCustDefaultDocumentClass record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationRefoundRemmission → LTMDocumentClassification

    Join on RefoundRemissionVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMCustDefaultDocumentClass record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationSalesCreditNote → LTMDocumentClassification

    Join on SalesCreditNoteVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMCustDefaultDocumentClass record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationSalesInvoice → LTMDocumentClassification

    Join on SalesInvoiceVCId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMCustDefaultDocumentClass record → exactly one LTMDocumentClassification record

  • LTMVocherClassProjectCreditNote → LTMDocumentClassification

    Join on ProjectCreditNoteId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMCustDefaultDocumentClass record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationProjectInvoice → LTMDocumentClassification

    Join on ProjectInvoiceid = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMCustDefaultDocumentClass record → exactly one LTMDocumentClassification record

  • LTMDocumentClassificationProjectPackingSlip → LTMDocumentClassification

    Join on ProjectPackingSlipid = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMCustDefaultDocumentClass record → zero or one LTMDocumentClassification record

  • LTMDocumentClassificationProjectReturnDelivery → LTMDocumentClassification

    Join on ProjectReturnDeliveryNoteId = LTMDocumentClassification.DocumentClassificationId

    Exactly one LTMCustDefaultDocumentClass record → exactly one LTMDocumentClassification record

Get this data out

No public entity reads from LTMCustDefaultDocumentClass. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk