Table
LTMCustInvoiceJour
Customer invoice journal
Holds extra fiscal and document details for each posted customer invoice. Each row links to a customer invoice journal record through RefRecId. The key also includes the document date and the complete document number. It also stores document class, sales point, taxpayer type, withholding figures and payment-document details.
- Table name
LTMCustInvoiceJour- 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- Model
GlobalizationLTM
Fields (80)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RefRecIdRecord ID of the customer invoice journal that this row extends. | Int64RefRecId | No | CustInvoiceJour.RecId | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity |
DocumentDateDate of the document. | DateDocumentDate | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
CompleteDocumentNumFull document number, including any prefix and sales point. | String (20)DocumentNum | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
AmountCURInvoice amount in the transaction currency, shown as a debit or credit value. | RealAmountCurDebCred | No | LTMCustInvoiceJourBiEntity | |
AmountMSTInvoice amount in the company's accounting currency. | RealAmountMST | No | LTMCustInvoiceJourBiEntity | |
BankAccountNumIdentification of the bank account. | StringBankAccountID | No | LTMCustInvoiceJourBiEntity | |
BankGroupIdBank group code. | StringBankGroupId | No | LTMCustInvoiceJourBiEntity | |
BeneficiaryName of the person or company that receives the document. | String (60)LTMBeneficiary | No | LTMCustInvoiceJourBiEntity | |
BussinessNameName or company name of the party that issues the document. | String (60)Name | No | LTMCustInvoiceJourBiEntity | |
CaiCaeAuthorisation (CA) number given for the invoice or a group of invoices. | String (50)LTMCaiCae | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
CAICAEDueDateDate until which the CA number is valid. | DateSysDate | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
Concept1First free text field for extra information. | String (250)LTMConcept1 | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
Concept2Second free text field for extra information. | String (250)LTMConcept2 | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
Concept3Third free text field for extra information. | String (250)LTMConcept3 | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ControlCodeControl code stored with the document. | String (50)LTMControlCode | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
CountryDocNumIdentification number issued at country level. | String (40)LTMCountryDocNum | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
CountryDocTypeIdType of the country identification document. Points to a fiscal register record. | String (15)LTMDocTypeId | No | LTMFiscalRegisterV2.DocTypeId | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity |
CountryRegionIdCountry or region of the settlement. Together with the state, it points to a state record. | StringAddressCountryRegionId | No | LogisticsAddressState.CountryRegionId | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity |
CPDActionAction taken on a payment document, such as entry, exit, re-entry, emission, accrual or cancellation. | EnumLTMCollectPaymDocAction (enum) | No | LTMCustInvoiceJourBiEntity | |
CPDSourceShows whether a check is own or from a third party. | EnumLTMCheckSource (enum) | No | LTMCustInvoiceJourBiEntity | |
CPDTRXHistoryIDReference to a related history transaction record, stored as a record ID.low confidence | Int64RefRecId | No | LTMCustInvoiceJourBiEntity | |
CPDTRXOpenIDReference to a related open transaction record, stored as a record ID.low confidence | Int64RefRecId | No | LTMCustInvoiceJourBiEntity | |
CurrencyCodeCurrency code of the invoice. | String (3)CurrencyCode | No | LTMCustInvoiceJourBiEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | LTMCustInvoiceJourBiEntity | |
DocumentClassificationIdDocument class the invoice belongs to. Points to a document class record. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity |
DocumentNumDocument number without the prefix and sales point. | String (20)DocumentNum | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
DueDateDate when payment is due. | DateDueDate | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ExchRateExchange rate of the invoice. | RealExchRate | No | LTMCustInvoiceJourBiEntity | |
HolderAccountNumBank account number of the holder of the security. | String (30)LTMHolderAccountNum | No | LTMCustInvoiceJourBiEntity | |
IsCollectPaymDocShows whether the document class is a payment-values document instead of a standard document. | EnumNoYes (enum) | No | LTMCustInvoiceJourBiEntity | |
IsConceptYes/no flag named Concept. Its exact meaning is not given in the metadata.low confidence | EnumNoYes (enum) | No | LTMCustInvoiceJourBiEntity | |
LedgerJournalTransIdReference to a ledger journal transaction, stored as a record ID.low confidence | Int64RefRecId | No | LTMCustInvoiceJourBiEntity | |
LedgerVoucherVoucher number of the ledger entry. | String (20)Voucher | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListField01Description text for the first list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListField02Description text for the second list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListField03Description text for the third list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListField04Description text for the fourth list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListField05Description text for the fifth list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListField06Description text for the sixth list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListField07Description text for the seventh list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListField08Description text for the eighth list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListField09Description text for the ninth list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListField10Description text for the tenth list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListFieldCode01Reference code for the first list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListFieldCode02Reference code for the second list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListFieldCode03Reference code for the third list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListFieldCode04Reference code for the fourth list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListFieldCode05Reference code for the fifth list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListFieldCode06Reference code for the sixth list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListFieldCode07Reference code for the seventh list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListFieldCode08Reference code for the eighth list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListFieldCode09Reference code for the ninth list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
ListFieldCode10Reference code for the tenth list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
NameName of the party on the document. | String (60)Name | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
OrigRecIdSystem record ID of the original record.low confidence | Int64RecId | No | LTMCustInvoiceJourBiEntity | |
OrigTableIdID of the table that the original record belongs to. | IntegerRefTableId | No | LTMCustInvoiceJourBiEntity | |
ParmIdParameter ID that links to the sales order update table. | String (20)ParmId | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymTermIdPayment terms code. | String (100)PaymTermId | No | LTMCustInvoiceJourBiEntity | |
PreserveNumYes/no flag for keeping the number. Its exact effect is not given in the metadata.low confidence | EnumNoYes (enum) | No | LTMCustInvoiceJourBiEntity | |
PSEnableYes/no flag that controls whether packing slip information is shown. | EnumNoYes (enum) | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | LTMCustInvoiceJourBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | LTMCustInvoiceJourBiEntity | |
RefNumType of source for the invoice: sales order, project, customer, interest or complementary invoice. | EnumRefNum (enum) | No | LTMCustInvoiceJourBiEntity | |
SalesIdSales order number linked to the invoice. | String (20)SalesId | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
SalesPointIdSales point whose prefix is used in the document number. | StringLTMSalesPointId | No | LTMSalesPoint.SalesPointId | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity |
SalesPointPrefixPrefix text of the sales point. | StringLTMSalesPointPrefix | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
SalesTypeType of the sales order, such as journal, subscription, sales order, returned order, item requirements or customer prepayment. | EnumSalesType (enum) | No | LTMCustInvoiceJourBiEntity | |
ShiftIDIdentifier of the shift.low confidence | String (20)LTMShiftID | No | LTMCustInvoiceJourBiEntity | |
StateDocNumIdentification number issued at state level. | String (30)LTMStateDocNum | No | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity | |
StateDocTypeIdType of the state identification document. Points to a fiscal register record. | String (15)LTMDocTypeId | No | LTMFiscalRegisterV2.DocTypeId | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity |
StateIdJurisdiction where the party is registered. Together with the country, it points to a state record. | StringLogisticsAddressStateId | No | LogisticsAddressState.StateId | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | LTMCustInvoiceJourBiEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxPayerTypeIdTaxpayer type of the party. Points to a taxpayer type record. | String (15)LTMTaxPayerTypeId | No | LTMTaxPayerType.TaxPayerTypeId | LTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity |
TDETimbradoLong text holding stamped data for the document.low confidence | String (-1)LTMStamped | No | LTMCustInvoiceJourBiEntity | |
WithholdAccruedAmountMSTCumulative withholding amount in the accounting currency. | RealAmount | No | LTMCustInvoiceJourBiEntity | |
WithholdAccruedBaseMSTCumulative tax base for withholding in the accounting currency. | RealAmount | No | LTMCustInvoiceJourBiEntity | |
WithholdingBaseMSTTaxable amount used for withholding, in the accounting currency. | RealLTMWithholdingAmount | No | LTMCustInvoiceJourBiEntity | |
WithholdingEffectiveRateEffective tax rate applied for withholding. | RealLTMEffectiveTaxRate | No | LTMCustInvoiceJourBiEntity |
Indexes (1)
CustInvoiceJourIdxReplacement keyRefRecId,DocumentDate,CompleteDocumentNumUnique, alternate key.
Relations (8)
Each relation joins LTMCustInvoiceJour to another table on the fields shown.
LTMCountryFiscalRegister→LTMFiscalRegisterV2Join on
LTMFiscalRegisterV2.CountryDocType = null,CountryDocTypeId = LTMFiscalRegisterV2.DocTypeIdMany LTMCustInvoiceJour records → zero or one LTMFiscalRegisterV2 record
LTMSalesPoint→LTMSalesPointJoin on
SalesPointId = LTMSalesPoint.SalesPointIdMany LTMCustInvoiceJour records → zero or one LTMSalesPoint record
LTMStateFiscalRegister→LTMFiscalRegisterV2Join on
LTMFiscalRegisterV2.StateDocType = null,StateDocTypeId = LTMFiscalRegisterV2.DocTypeIdMany LTMCustInvoiceJour records → zero or one LTMFiscalRegisterV2 record
LTMTaxPayerType→LTMTaxPayerTypeJoin on
TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeIdMany LTMCustInvoiceJour records → zero or one LTMTaxPayerType record
LTMDocumentClassification→LTMDocumentClassificationJoin on
DocumentClassificationId = LTMDocumentClassification.DocumentClassificationIdMany LTMCustInvoiceJour records → zero or one LTMDocumentClassification record
CustInvoiceJour→CustInvoiceJourJoin on
RefRecId = CustInvoiceJour.RecIdExactly one LTMCustInvoiceJour record → exactly one CustInvoiceJour record
LogisticsAddressState→LogisticsAddressStateJoin on
StateId = LogisticsAddressState.StateId,CountryRegionId = LogisticsAddressState.CountryRegionIdMany LTMCustInvoiceJour records → zero or one LogisticsAddressState record
SalesParmTable→SalesParmTableJoin on
SalesId = SalesParmTable.SalesId,ParmId = SalesParmTable.ParmIdMany LTMCustInvoiceJour records → zero or one SalesParmTable record
Get this data out
Tables are not exposed directly. These public entities read from LTMCustInvoiceJour; use one of them in Power BI, Power Platform or a data management project.
LTMCustInvoiceJourEntity· 46 fields from this tableLTMCustInvoiceJourBiEntity· 78 fields from this table
Need help with LTMCustInvoiceJour in a report, an integration or a migration? Talk to Dr Dynamics.