Table

LTMCustInvoiceTableHistory

LTMCustInvoiceTable history data

Stores historical copies of the extra document details attached to customer free text invoices. Each record is keyed by the invoice reference record ID and company. It holds numbering, tax payer, state and country identifiers, free text, withholding values and a print-after-post flag.

Table name
LTMCustInvoiceTableHistory
Module
Cross-module and platform
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
LTMCustInvoiceLineIdx
Key fields
CustInvoiceTableRefRecId, DataAreaId, Partition
Model
GlobalizationLTM

Fields (56)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustInvoiceTableRefRecIdSystem record ID of the customer invoice record this history row belongs to. It is part of the key.Int64
CustInvoiceTableRefRecId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
AmountMSTDocument amount in the accounting currency.Real
AmountMST
NoNone
BankGroupIdCode of the bank group.String
BankGroupId
NoNone
BeneficiaryName of the person or company that receives the document.String (60)
LTMBeneficiary
NoNone
BussinesNameName or company name of the party that issues the document.String (60)
Name
NoNone
CAICAEAuthorisation (CA) number assigned by the legal entity to a group of invoices or to one invoice.String (50)
LTMCaiCae
NoNone
CaiCaeDueDateDate until which the CA number is valid.Date
SysDate
NoNone
CompleteDocumentNumFull document number.String (20)
DocumentNum
NoNone
Concept1First free text field for extra information.String (250)
LTMConcept1
NoNone
Concept2Second free text field for extra information.String (250)
LTMConcept2
NoNone
Concept3Third free text field for extra information.String (250)
LTMConcept3
NoNone
ControlCodeControl code linked to the document.String (50)
LTMControlCode
NoNone
CountryDocNumIdentification number issued for the country.String (40)
LTMCountryDocNum
NoNone
CountryDocTypeIdCode for the type of country identification document.String (15)
LTMDocTypeId
NoNone
CountryRegionIdCountry or region of settlement.String
AddressCountryRegionId
NoNone
CPDSourceShows whether the check is the company's own or from a third party.Enum
LTMCheckSource (enum)
NoNone
DocumentClassificationIdCode of the document class that the document belongs to.String (15)
LTMDocumentClassificationId
NoNone
DocumentDateDate of the document.Date
DocumentDate
NoNone
DocumentNumDocument number.String (20)
DocumentNum
NoNone
DueDateDate when payment is due.Date
DueDate
NoNone
HolderAccountNumBank account of the holder that issued the securities.String (30)
LTMHolderAccountNum
NoNone
LedgerVoucherVoucher number of the ledger entry.String (20)
Voucher
NoNone
ListField01Description text for reference code 1.String (60)
LTMListFieldCodeDescription
NoNone
ListField02Description text for reference code 2.String (60)
LTMListFieldCodeDescription
NoNone
ListField03Description text for reference code 3.String (60)
LTMListFieldCodeDescription
NoNone
ListField04Description text for reference code 4.String (60)
LTMListFieldCodeDescription
NoNone
ListField05Description text for reference code 5.String (60)
LTMListFieldCodeDescription
NoNone
ListField06Description text for reference code 6.String (60)
LTMListFieldCodeDescription
NoNone
ListField07Description text for reference code 7.String (60)
LTMListFieldCodeDescription
NoNone
ListField08Description text for reference code 8.String (60)
LTMListFieldCodeDescription
NoNone
ListField09Description text for reference code 9.String (60)
LTMListFieldCodeDescription
NoNone
ListField10Description text for reference code 10.String (60)
LTMListFieldCodeDescription
NoNone
ListFieldCode01Reference code in slot 1.String (30)
LTMListFieldCode
NoNone
ListFieldCode02Reference code in slot 2.String (30)
LTMListFieldCode
NoNone
ListFieldCode03Reference code in slot 3.String (30)
LTMListFieldCode
NoNone
ListFieldCode04Reference code in slot 4.String (30)
LTMListFieldCode
NoNone
ListFieldCode05Reference code in slot 5.String (30)
LTMListFieldCode
NoNone
ListFieldCode06Reference code in slot 6.String (30)
LTMListFieldCode
NoNone
ListFieldCode07Reference code in slot 7.String (30)
LTMListFieldCode
NoNone
ListFieldCode08Reference code in slot 8.String (30)
LTMListFieldCode
NoNone
ListFieldCode09Reference code in slot 9.String (30)
LTMListFieldCode
NoNone
ListFieldCode10Reference code in slot 10.String (30)
LTMListFieldCode
NoNone
PrintAfterPostYes/No flag for printing the document after it is posted.Enum
NoYes (enum)
NoNone
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
SalesPointIdSales point code, used as a legal prefix in the document number.String
LTMSalesPointId
NoNone
SalesPointPrefixPrefix text of the sales point.String
LTMSalesPointPrefix
NoNone
StateDocNumState identification number. It must follow the mask of the chosen document type.String (30)
LTMStateDocNum
NoNone
StateDocTypeIdCode for the type of state identification document.String (15)
LTMDocTypeId
NoNone
StateIdCode of the registered jurisdiction (state).String
LogisticsAddressStateId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxPayerTypeIdCode for the taxpayer type.String (15)
LTMTaxPayerTypeId
NoNone
WithholdingBaseMSTTaxable amount used for withholding, in the accounting currency.Real
LTMWithholdingAmount
NoNone
WithholdingEffectiveRateEffective withholding tax rate.Real
LTMEffectiveTaxRate
NoNone

Indexes (1)

Get this data out

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

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

Email sales@drdynamics.co.uk