Table
LTMCustInvoiceJourHistory
LTMCustInvoiceJour history data
Stores historical copies of customer invoice journal data, together with the extra document details held by the LTM extension. Each record is identified by the reference record ID, document date, complete document number and company. It holds document numbering, tax payer and state identifiers, free text, withholding amounts and a few payment-document (values) flags.
- Table name
LTMCustInvoiceJourHistory- Module
Cross-module and platform- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
CustInvoiceJourIdx- Key fields
RefRecId, DocumentDate, CompleteDocumentNum, DataAreaId, Partition- Model
GlobalizationLTM
Fields (80)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RefRecIdSystem record ID of the record this history row refers to. It is part of the key. | Int64RefRecId | No | None | |
DocumentDateDate of the document. | DateDocumentDate | No | None | |
CompleteDocumentNumFull document number, as stored for the document. | String (20)DocumentNum | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
AmountCURDocument amount in the transaction currency, shown as a debit or credit value. | RealAmountCurDebCred | No | None | |
AmountMSTDocument amount in the accounting currency. | RealAmountMST | No | None | |
BankAccountNumIdentification of the bank account. | StringBankAccountID | 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 | |
BussinessNameName 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 a single invoice. | String (50)LTMCaiCae | No | None | |
CAICAEDueDateDate until which the CA number is valid. | DateSysDate | 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, such as a national tax or ID number. | String (40)LTMCountryDocNum | No | None | |
CountryDocTypeIdCode for the type of country identification document. | String (15)LTMDocTypeId | No | None | |
CountryRegionIdCountry or region of settlement. | StringAddressCountryRegionId | No | None | |
CPDActionAction taken on a collected or paid document. Values include entry, exit, re-entry, emission, accrual and cancellation. | EnumLTMCollectPaymDocAction (enum) | No | None | |
CPDSourceShows whether the check is the company's own or from a third party. | EnumLTMCheckSource (enum) | No | None | |
CPDTRXHistoryIDReference to a history transaction record, by record ID.low confidence | Int64RefRecId | No | None | |
CPDTRXOpenIDReference to an open transaction record, by record ID.low confidence | Int64RefRecId | No | None | |
CurrencyCodeCurrency code of the document. | String (3)CurrencyCode | No | None | |
DocumentClassificationIdCode of the document class that the document belongs to. | String (15)LTMDocumentClassificationId | No | None | |
DocumentNumDocument number without the prefix and without the sales point. | String (20)DocumentNum | No | None | |
DueDateDate when payment is due. | DateDueDate | No | None | |
ExchRateExchange rate applied to the document. | RealExchRate | No | None | |
HolderAccountNumBank account of the holder that issued the securities. | String (30)LTMHolderAccountNum | No | None | |
IsCollectPaymDocShows whether the document class is a payment-document (values module) type rather than a standard one. | EnumNoYes (enum) | No | None | |
IsConceptYes/No flag called Concept. Its exact meaning is not stated in the metadata.low confidence | EnumNoYes (enum) | No | None | |
LedgerJournalTransIdReference to a ledger journal line, by record ID.low confidence | Int64RefRecId | 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 | |
NameName of the party on the document. | String (60)Name | No | None | |
OrigRecIdSystem record ID of the original record. No label is given.low confidence | Int64RecId | No | None | |
OrigTableIdID of the table that the original record comes from. | IntegerRefTableId | No | None | |
ParmIdParameter ID that groups related posting data. | String (20)ParmId | No | None | |
PaymTermIdPayment terms code. | String (100)PaymTermId | No | None | |
PreserveNumYes/No flag called preserve number. Its exact effect is not stated in the metadata.low confidence | EnumNoYes (enum) | No | None | |
PSEnableYes/No flag that controls whether packing slip information is shown. | 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 | |
RefNumKind of source the invoice relates to: sales order, project, customer, interest or complementary invoice. | EnumRefNum (enum) | No | None | |
SalesIdSales order number. | String (20)SalesId | No | None | |
SalesPointIdSales point code, used as a legal prefix in the document number. | StringLTMSalesPointId | No | None | |
SalesPointPrefixPrefix text of the sales point. | StringLTMSalesPointPrefix | No | None | |
SalesTypeType of order, such as journal, subscription, sales order, returned order, item requirements or customer prepayment. | EnumSalesType (enum) | No | None | |
ShiftIDIdentifier of the shift.low confidence | String (20)LTMShiftID | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxPayerTypeIdCode for the taxpayer type. | String (15)LTMTaxPayerTypeId | No | None | |
TDETimbradoLong text holding the stamp information for the document.low confidence | String (-1)LTMStamped | No | None | |
WithholdAccruedAmountMSTCumulative withholding amount, in the accounting currency. | RealAmount | No | None | |
WithholdAccruedBaseMSTCumulative tax base amount for withholding, in the accounting currency. | RealAmount | No | None | |
WithholdingBaseMSTTaxable amount used for withholding, in the accounting currency. | RealLTMWithholdingAmount | No | None | |
WithholdingEffectiveRateEffective withholding tax rate. | RealLTMEffectiveTaxRate | No | None |
Indexes (1)
CustInvoiceJourIdxReplacement keyRefRecId,DocumentDate,CompleteDocumentNum,DataAreaId,PartitionUnique, alternate key.
Get this data out
No public entity reads from LTMCustInvoiceJourHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with LTMCustInvoiceJourHistory in a report, an integration or a migration? Talk to Dr Dynamics.