Table
LTMCustInvoiceTemplate
Customer invoice template
Holds the extra document details that can be set on a free text invoice template. It links to the free text invoice template and to sales point, taxpayer type, document class, fiscal register and customers/vendors set records. The fields cover numbering, tax and state identifiers, free text and withholding values.
- Table name
LTMCustInvoiceTemplate- Module
Cross-module and platform- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
GlobalizationLTM
Fields (58)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountTypeGroupIdCode of the customers/vendors set. Points to the account type group record. | String (20)LTMAccountTypeGroupId | No | None | |
AmountMSTAmount in the accounting currency. | RealAmountMST | No | None | |
BankGroupIdCode of the bank group. | StringBankGroupId | No | None | |
BeneficiaryName of the person or company that receives the document. | String (60)LTMBeneficiary | No | None | |
BussinesNameName or company name of the party that issues the document. | String (60)Name | No | None | |
CAICAEAuthorisation (CA) number assigned by the legal entity to a group of invoices or to one invoice. | String (50)LTMCaiCae | No | None | |
CaiCaeDueDateDate until which the CA number is valid. | DateSysDate | No | None | |
CompleteDocumentNumFull document number. | String (20)DocumentNum | No | None | |
Concept1First free text field for extra information. | String (250)LTMConcept1 | No | None | |
Concept2Second free text field for extra information. | String (250)LTMConcept2 | No | None | |
Concept3Third free text field for extra information. | String (250)LTMConcept3 | No | None | |
ControlCodeControl code linked to the document. | String (50)LTMControlCode | No | None | |
CountryDocNumIdentification number issued for the country. | String (40)LTMCountryDocNum | No | None | |
CountryDocTypeIdCode for the type of country identification document. Points to the fiscal register document type. | String (15)LTMDocTypeId | No | LTMFiscalRegisterV2.DocTypeId | None |
CountryRegionIdCountry or region of settlement. | StringAddressCountryRegionId | No | None | |
CPDSourceShows whether the check is the company's own or from a third party. | EnumLTMCheckSource (enum) | No | None | |
CustInvoiceTableRefRecIdSystem record ID of a customer invoice record. No relation is given in the metadata.low confidence | Int64CustInvoiceTableRefRecId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DocumentClassificationIdCode of the document class that the document belongs to. Points to the document class record. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | None |
DocumentDateDate of the document. | DateDocumentDate | No | None | |
DocumentNumDocument number. | String (20)DocumentNum | No | None | |
DueDateDate when payment is due. | DateDueDate | No | None | |
HolderAccountNumBank account of the holder that issued the securities. | String (30)LTMHolderAccountNum | No | None | |
LedgerVoucherVoucher number of the ledger entry. | String (20)Voucher | No | None | |
ListField01Description text for reference code 1. | String (60)LTMListFieldCodeDescription | No | None | |
ListField02Description text for reference code 2. | String (60)LTMListFieldCodeDescription | No | None | |
ListField03Description text for reference code 3. | String (60)LTMListFieldCodeDescription | No | None | |
ListField04Description text for reference code 4. | String (60)LTMListFieldCodeDescription | No | None | |
ListField05Description text for reference code 5. | String (60)LTMListFieldCodeDescription | No | None | |
ListField06Description text for reference code 6. | String (60)LTMListFieldCodeDescription | No | None | |
ListField07Description text for reference code 7. | String (60)LTMListFieldCodeDescription | No | None | |
ListField08Description text for reference code 8. | String (60)LTMListFieldCodeDescription | No | None | |
ListField09Description text for reference code 9. | String (60)LTMListFieldCodeDescription | No | None | |
ListField10Description text for reference code 10. | String (60)LTMListFieldCodeDescription | No | None | |
ListFieldCode01Reference code in slot 1. | String (30)LTMListFieldCode | No | None | |
ListFieldCode02Reference code in slot 2. | String (30)LTMListFieldCode | No | None | |
ListFieldCode03Reference code in slot 3. | String (30)LTMListFieldCode | No | None | |
ListFieldCode04Reference code in slot 4. | String (30)LTMListFieldCode | No | None | |
ListFieldCode05Reference code in slot 5. | String (30)LTMListFieldCode | No | None | |
ListFieldCode06Reference code in slot 6. | String (30)LTMListFieldCode | No | None | |
ListFieldCode07Reference code in slot 7. | String (30)LTMListFieldCode | No | None | |
ListFieldCode08Reference code in slot 8. | String (30)LTMListFieldCode | No | None | |
ListFieldCode09Reference code in slot 9. | String (30)LTMListFieldCode | No | None | |
ListFieldCode10Reference code in slot 10. | String (30)LTMListFieldCode | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrintAfterPostYes/No flag for printing the document after it is posted. | EnumNoYes (enum) | No | None | |
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 | |
RefRecIdSystem record ID of the free text invoice template that these details belong to. | Int64RecId | No | CustInvoiceTemplate.RecId | None |
SalesPointIdSales point code, used as a legal prefix in the document number. Points to the sales point record. | StringLTMSalesPointId | No | LTMSalesPoint.SalesPointId | None |
SalesPointPrefixPrefix text of the sales point. | StringLTMSalesPointPrefix | No | None | |
StateDocNumState identification number. It must follow the mask of the chosen document type. | String (30)LTMStateDocNum | No | None | |
StateDocTypeIdCode for the type of state identification document. | String (15)LTMDocTypeId | No | None | |
StateIdCode of the registered jurisdiction (state). | StringLogisticsAddressStateId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxPayerTypeIdCode for the taxpayer type. Points to the taxpayer type record. | String (15)LTMTaxPayerTypeId | No | LTMTaxPayerType.TaxPayerTypeId | None |
WithholdingBaseMSTTaxable amount used for withholding, in the accounting currency. | RealLTMWithholdingAmount | No | None | |
WithholdingEffectiveRateEffective withholding tax rate. | RealLTMEffectiveTaxRate | No | None |
Indexes (1)
IdxNot unique.
Relations (6)
Each relation joins LTMCustInvoiceTemplate to another table on the fields shown.
CustInvoiceTemplate→CustInvoiceTemplateJoin on
RefRecId = CustInvoiceTemplate.RecIdMany LTMCustInvoiceTemplate records → zero or one CustInvoiceTemplate record
LTMAccountTypeGroup→LTMAccountTypeGroupJoin on
AccountTypeGroupId = LTMAccountTypeGroup.AccountTypeGroupIdMany LTMCustInvoiceTemplate records → zero or one LTMAccountTypeGroup record
LTMDocumentClassificationTable→LTMDocumentClassificationJoin on
LTMDocumentClassification.Inactive = null,DocumentClassificationId = LTMDocumentClassification.DocumentClassificationIdMany LTMCustInvoiceTemplate records → zero or one LTMDocumentClassification record
LTMFiscalRegister→LTMFiscalRegisterV2Join on
LTMFiscalRegisterV2.CountryDocType = null,CountryDocTypeId = LTMFiscalRegisterV2.DocTypeIdMany LTMCustInvoiceTemplate records → zero or one LTMFiscalRegisterV2 record
LTMSalesPoint→LTMSalesPointJoin on
SalesPointId = LTMSalesPoint.SalesPointIdMany LTMCustInvoiceTemplate records → zero or one LTMSalesPoint record
LTMTaxPayerType→LTMTaxPayerTypeJoin on
TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeIdMany LTMCustInvoiceTemplate records → zero or one LTMTaxPayerType record
Get this data out
No public entity reads from LTMCustInvoiceTemplate. Its data is only reachable through the application, a custom entity or a database export.
Need help with LTMCustInvoiceTemplate in a report, an integration or a migration? Talk to Dr Dynamics.