Table

LTMCustInvoiceTable

Customer invoice table

Holds extra fiscal and document details for customer free text invoices. The key is CustInvoiceTableRefRecId, which points to the free text invoice record. It stores document class, sales point, taxpayer type, country and state identification, and withholding values.

Table name
LTMCustInvoiceTable
Module
Cross-module and platform
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
LTMCustInvoiceLineIdx1
Key fields
CustInvoiceTableRefRecId
Model
GlobalizationLTM

Fields (57)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustInvoiceTableRefRecIdRecord ID of the customer free text invoice that this row extends.Int64
CustInvoiceTableRefRecId
NoCustInvoiceTable.RecIdLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
AmountMSTInvoice amount in the company's accounting currency.Real
AmountMST
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
BankGroupIdBank group code.String
BankGroupId
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
BeneficiaryName of the person or company that receives the document.String (60)
LTMBeneficiary
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
BussinesNameName or company name of the party that issues the document.String (60)
Name
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
CAICAEAuthorisation (CA) number given for the invoice or a group of invoices.String (50)
LTMCaiCae
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
CaiCaeDueDateDate until which the CA number is valid.Date
SysDate
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
CompleteDocumentNumFull document number. Relates to the customer invoice journal.String (20)
DocumentNum
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
Concept1First free text field for extra information.String (250)
LTMConcept1
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
Concept2Second free text field for extra information.String (250)
LTMConcept2
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
Concept3Third free text field for extra information.String (250)
LTMConcept3
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ControlCodeControl code stored with the document.String (50)
LTMControlCode
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
CountryDocNumIdentification number issued at country level.String (40)
LTMCountryDocNum
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
CountryDocTypeIdType of the country identification document. Points to a fiscal register record.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
CountryRegionIdCountry or region of the settlement.String
AddressCountryRegionId
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
CPDSourceShows whether a check is own or from a third party.Enum
LTMCheckSource (enum)
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoLTMCustInvoiceTableBiEntity
DocumentClassificationIdDocument class the invoice belongs to. Points to a document class record.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
DocumentDateDate of the document.Date
DocumentDate
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
DocumentNumDocument number.String (20)
DocumentNum
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
DueDateDate when payment is due.Date
DueDate
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
HolderAccountNumBank account number of the holder of the security.String (30)
LTMHolderAccountNum
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
LedgerVoucherVoucher number of the ledger entry. Relates to the customer invoice journal.String (20)
Voucher
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListField01Description text for the first list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListField02Description text for the second list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListField03Description text for the third list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListField04Description text for the fourth list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListField05Description text for the fifth list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListField06Description text for the sixth list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListField07Description text for the seventh list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListField08Description text for the eighth list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListField09Description text for the ninth list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListField10Description text for the tenth list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListFieldCode01Reference code for the first list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListFieldCode02Reference code for the second list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListFieldCode03Reference code for the third list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListFieldCode04Reference code for the fourth list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListFieldCode05Reference code for the fifth list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListFieldCode06Reference code for the sixth list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListFieldCode07Reference code for the seventh list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListFieldCode08Reference code for the eighth list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListFieldCode09Reference code for the ninth list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
ListFieldCode10Reference code for the tenth list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrintAfterPostYes/no flag for printing the invoice after posting.Enum
NoYes (enum)
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoLTMCustInvoiceTableBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoLTMCustInvoiceTableBiEntity
SalesPointIdSales point whose prefix is used in the document number.String
LTMSalesPointId
NoLTMSalesPoint.SalesPointIdLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
SalesPointPrefixPrefix text of the sales point.String
LTMSalesPointPrefix
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
StateDocNumIdentification number issued at state level.String (30)
LTMStateDocNum
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
StateDocTypeIdType of the state identification document.String (15)
LTMDocTypeId
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
StateIdJurisdiction where the party is registered.String
LogisticsAddressStateId
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoLTMCustInvoiceTableBiEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxPayerTypeIdTaxpayer type of the party. Points to a taxpayer type record.String (15)
LTMTaxPayerTypeId
NoLTMTaxPayerType.TaxPayerTypeIdLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
WithholdingBaseMSTTaxable amount used for withholding, in the accounting currency.Real
LTMWithholdingAmount
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity
WithholdingEffectiveRateEffective tax rate applied for withholding.Real
LTMEffectiveTaxRate
NoLTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity

Indexes (4)

Relations (6)

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

  • LTMDocumentClassification → LTMDocumentClassification

    Join on LTMDocumentClassification.Inactive = null, DocumentClassificationId = LTMDocumentClassification.DocumentClassificationId

    Many LTMCustInvoiceTable records → zero or one LTMDocumentClassification record

  • LTMFiscalRegister → LTMFiscalRegisterV2

    Join on CountryDocTypeId = LTMFiscalRegisterV2.DocTypeId

    Many LTMCustInvoiceTable records → zero or one LTMFiscalRegisterV2 record

  • LTMSalesPoint → LTMSalesPoint

    Join on SalesPointId = LTMSalesPoint.SalesPointId

    Many LTMCustInvoiceTable records → zero or one LTMSalesPoint record

  • LTMTaxPayerType → LTMTaxPayerType

    Join on TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeId

    Many LTMCustInvoiceTable records → zero or one LTMTaxPayerType record

  • CustInvoiceJour → CustInvoiceJour

    Join on LedgerVoucher = CustInvoiceJour.LedgerVoucher, CompleteDocumentNum = CustInvoiceJour.InvoiceId

    Many LTMCustInvoiceTable records → zero or one CustInvoiceJour record

  • CustInvoiceTable → CustInvoiceTable

    Join on CustInvoiceTableRefRecId = CustInvoiceTable.RecId

    Many LTMCustInvoiceTable records → zero or one CustInvoiceTable record

Get this data out

Tables are not exposed directly. These public entities read from LTMCustInvoiceTable; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk