Table
LTMVendInvoiceJour
The vendor invoice jour table for LATAM
Holds extra LATAM-specific data for vendor invoice journal records. It is identified by the complete document number, document date, number sequence group and a record reference. It links to the standard vendor invoice journal, and to document classification, fiscal register, sales point, taxpayer type and state records.
- Table name
LTMVendInvoiceJour- Module
Cross-module and platform- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
RefRecId- Replacement key
VendInvoiceJourIdx- Key fields
CompleteDocumentNum, DocumentDate, NumberSequenceGroupId, RefRecId- Model
GlobalizationLTM
Fields (79)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CompleteDocumentNumFull document number. | String (50)LTMCompleteDocumentNum | Yes | LTMVendInvoiceJourEntity | |
DocumentDateDate shown on the document. | DateDocumentDate | Yes | LTMVendInvoiceJourEntity | |
NumberSequenceGroupIdNumber sequence group used for the document. | StringNumberSequenceGroupId | No | None | |
RefRecIdSystem record ID of the related vendor invoice journal record. | Int64RefRecId | Yes | VendInvoiceJour.RecId | LTMVendInvoiceJourEntity |
AmountCURAmount in the transaction currency, as debit or credit. | RealAmountCurDebCred | No | None | |
AmountMSTAmount in the company currency. | RealAmountMST | No | None | |
BankAccountNumBank account identification. | StringBankAccountID | No | None | |
BankGroupIdBank group code. | StringBankGroupId | No | None | |
BeneficiaryName of the person or company that receives the document. | String (60)LTMBeneficiary | No | None | |
BussinessNameName of the person or company that issues the document, shown as the company name. | String (60)Name | No | None | |
CaiCaeAuthorisation number (CA) given for a batch of invoices or a single invoice. | String (50)LTMCaiCae | No | LTMVendInvoiceJourEntity | |
CAICAEDueDateDate on which the CA number expires. | DateSysDate | No | LTMVendInvoiceJourEntity | |
Concept1First free-text field for extra notes. | String (250)LTMConcept1 | No | LTMVendInvoiceJourEntity | |
Concept2Second free-text field for extra notes. | String (250)LTMConcept2 | No | LTMVendInvoiceJourEntity | |
Concept3Third free-text field for extra notes. | String (250)LTMConcept3 | No | LTMVendInvoiceJourEntity | |
ControlCodeControl code stored with the document. | String (50)LTMControlCode | No | LTMVendInvoiceJourEntity | |
CountryDocNumIdentification number issued at country level. | String (40)LTMCountryDocNum | No | LTMVendInvoiceJourEntity | |
CountryDocTypeIdCode for the type of country-level identification document. Points to a fiscal register record. | String (15)LTMDocTypeId | No | LTMFiscalRegisterV2.DocTypeId | LTMVendInvoiceJourEntity |
CountryRegionIdCountry or region of the document. Together with the state, points to a state record. | StringAddressCountryRegionId | No | LogisticsAddressState.CountryRegionId | LTMVendInvoiceJourEntity |
CPDActionAction for a collection or payment document, such as entry, exit, re-entry, emission, accrual or cancellation. | EnumLTMCollectPaymDocAction (enum) | No | None | |
CPDSourceWhether the check is own or from a third party. | EnumLTMCheckSource (enum) | No | None | |
CPDTRXHistoryIDReference to a collection document history record.low confidence | Int64RefRecId | No | None | |
CPDTRXOpenIDReference to an open collection document transaction.low confidence | Int64RefRecId | No | None | |
CurrencyCodeCurrency code of the document. | String (3)CurrencyCode | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DocumentClassificationIdDocument class the document belongs to. Points to a document class record. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | LTMVendInvoiceJourEntity |
DocumentNumPlain document number, without the prefix or sales point. | String (20)DocumentNum | No | LTMVendInvoiceJourEntity | |
DueDateDate by which the document is due. | DateDueDate | No | LTMVendInvoiceJourEntity | |
ExchRateExchange rate recorded on the document. | RealExchRate | No | None | |
HolderAccountNumBank account number of the holder of the document. | String (30)LTMHolderAccountNum | No | None | |
IsCollectPaymDocYes or No flag showing whether the document class is a value document rather than a standard document. | EnumNoYes (enum) | No | None | |
IsConceptYes or No flag for concept. Meaning is not stated further.low confidence | EnumNoYes (enum) | No | None | |
LedgerJournalTransIdReference to a ledger journal transaction.low confidence | Int64RefRecId | No | None | |
LedgerVoucherVoucher number linked to the document. | String (20)Voucher | No | LTMVendInvoiceJourEntity | |
ListField01Description text for the first reference code. | String (60)LTMListFieldCodeDescription | No | LTMVendInvoiceJourEntity | |
ListField02Description text for the second reference code. | String (60)LTMListFieldCodeDescription | No | LTMVendInvoiceJourEntity | |
ListField03Description text for the third reference code. | String (60)LTMListFieldCodeDescription | No | LTMVendInvoiceJourEntity | |
ListField04Description text for the fourth reference code. | String (60)LTMListFieldCodeDescription | No | LTMVendInvoiceJourEntity | |
ListField05Description text for the fifth reference code. | String (60)LTMListFieldCodeDescription | No | LTMVendInvoiceJourEntity | |
ListField06Description text for the sixth reference code. | String (60)LTMListFieldCodeDescription | No | LTMVendInvoiceJourEntity | |
ListField07Description text for the seventh reference code. | String (60)LTMListFieldCodeDescription | No | LTMVendInvoiceJourEntity | |
ListField08Description text for the eighth reference code. | String (60)LTMListFieldCodeDescription | No | LTMVendInvoiceJourEntity | |
ListField09Description text for the ninth reference code. | String (60)LTMListFieldCodeDescription | No | LTMVendInvoiceJourEntity | |
ListField10Description text for the tenth reference code. | String (60)LTMListFieldCodeDescription | No | LTMVendInvoiceJourEntity | |
ListFieldCode01First reference code. | String (30)LTMListFieldCode | No | LTMVendInvoiceJourEntity | |
ListFieldCode02Second reference code. | String (30)LTMListFieldCode | No | LTMVendInvoiceJourEntity | |
ListFieldCode03Third reference code. | String (30)LTMListFieldCode | No | LTMVendInvoiceJourEntity | |
ListFieldCode04Fourth reference code. | String (30)LTMListFieldCode | No | LTMVendInvoiceJourEntity | |
ListFieldCode05Fifth reference code. | String (30)LTMListFieldCode | No | LTMVendInvoiceJourEntity | |
ListFieldCode06Sixth reference code. | String (30)LTMListFieldCode | No | LTMVendInvoiceJourEntity | |
ListFieldCode07Seventh reference code. | String (30)LTMListFieldCode | No | LTMVendInvoiceJourEntity | |
ListFieldCode08Eighth reference code. | String (30)LTMListFieldCode | No | LTMVendInvoiceJourEntity | |
ListFieldCode09Ninth reference code. | String (30)LTMListFieldCode | No | LTMVendInvoiceJourEntity | |
ListFieldCode10Tenth reference code. | String (30)LTMListFieldCode | No | LTMVendInvoiceJourEntity | |
NameName of the party on the document. | String (60)Name | No | LTMVendInvoiceJourEntity | |
OrigRecIdSystem record ID of the original record. | Int64RecId | No | None | |
OrigTableIdID of the table that the original record belongs to. | IntegerRefTableId | No | None | |
ParmIdParameter ID linked to the purchase order update table. | String (20)ParmId | No | LTMVendInvoiceJourEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymTermIdTerms of payment code. | String (100)PaymTermId | No | None | |
PreserveNumYes or No flag for preserving the number. Meaning is not stated further.low confidence | EnumNoYes (enum) | No | None | |
PSEnableYes or No flag for showing packing slip information. | EnumNoYes (enum) | No | None | |
PurchaseTypeKind of purchase: journal, purchase order or returned order. | EnumPurchaseType (enum) | No | None | |
PurchIdPurchase order number related to the invoice. | String (20)PurchId | No | LTMVendInvoiceJourEntity | |
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 | |
SalesPointIdSales point whose prefix is used in the document numbering. Points to a sales point record. | StringLTMSalesPointId | No | LTMSalesPoint.SalesPointId | LTMVendInvoiceJourEntity |
SalesPointPrefixPrefix text of the sales point. | StringLTMSalesPointPrefix | No | LTMVendInvoiceJourEntity | |
ShiftIDIdentifier of the shift. | String (20)LTMShiftID | No | None | |
StateDocNumIdentification number issued at state level. | String (30)LTMStateDocNum | No | LTMVendInvoiceJourEntity | |
StateDocTypeIdCode for the type of state-level identification document. Points to a fiscal register record. | String (15)LTMDocTypeId | No | LTMFiscalRegisterV2.DocTypeId | LTMVendInvoiceJourEntity |
StateIdRegistered state or jurisdiction. Together with the country or region, points to a state record. | StringLogisticsAddressStateId | No | LogisticsAddressState.StateId | LTMVendInvoiceJourEntity |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxPayerTypeIdTaxpayer type of the document issuer. Points to a taxpayer type record. | String (15)LTMTaxPayerTypeId | No | LTMTaxPayerType.TaxPayerTypeId | LTMVendInvoiceJourEntity |
WithholdAccruedAmountMSTCumulative amount, in company currency, used for withholding. | RealAmount | No | None | |
WithholdAccruedBaseMSTCumulative tax base amount, in company currency, used for withholding. | RealAmount | No | None | |
WithholdingBaseMSTTaxable amount for withholding, in company currency. | RealLTMWithholdingAmount | No | None | |
WithholdingEffectiveRateEffective withholding tax rate. | RealLTMEffectiveTaxRate | No | None | |
WithholdingSetIDWithholding tax group for the document. | String (30)LTMWithholdingSetID | No | LTMVendInvoiceJourEntity |
Indexes (2)
RefRecIdPrimary indexUnique, alternate key.
VendInvoiceJourIdxReplacement keyCompleteDocumentNum,DocumentDate,NumberSequenceGroupId,RefRecIdUnique, alternate key.
Relations (8)
Each relation joins LTMVendInvoiceJour to another table on the fields shown.
LTMCountryFiscalRegister→LTMFiscalRegisterV2Join on
LTMFiscalRegisterV2.CountryDocType = NoYes::Yes,CountryDocTypeId = LTMFiscalRegisterV2.DocTypeIdMany LTMVendInvoiceJour records → zero or one LTMFiscalRegisterV2 record
LTMSalesPoint→LTMSalesPointJoin on
SalesPointId = LTMSalesPoint.SalesPointIdMany LTMVendInvoiceJour records → zero or one LTMSalesPoint record
LTMStateFiscalRegister→LTMFiscalRegisterV2Join on
LTMFiscalRegisterV2.StateDocType = NoYes::Yes,StateDocTypeId = LTMFiscalRegisterV2.DocTypeIdMany LTMVendInvoiceJour records → zero or one LTMFiscalRegisterV2 record
LTMTaxPayerType→LTMTaxPayerTypeJoin on
TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeIdMany LTMVendInvoiceJour records → zero or one LTMTaxPayerType record
LTMDocumentClassification→LTMDocumentClassificationJoin on
DocumentClassificationId = LTMDocumentClassification.DocumentClassificationIdMany LTMVendInvoiceJour records → zero or one LTMDocumentClassification record
LogisticsAddressState→LogisticsAddressStateJoin on
StateId = LogisticsAddressState.StateId,CountryRegionId = LogisticsAddressState.CountryRegionIdMany LTMVendInvoiceJour records → zero or one LogisticsAddressState record
PurchParmTable→PurchParmTableJoin on
ParmId = PurchParmTable.ParmId,PurchId = PurchParmTable.PurchIdMany LTMVendInvoiceJour records → zero or one PurchParmTable record
VendInvoiceJour→VendInvoiceJourJoin on
RefRecId = VendInvoiceJour.RecIdMany LTMVendInvoiceJour records → zero or one VendInvoiceJour record
Get this data out
Tables are not exposed directly. These public entities read from LTMVendInvoiceJour; use one of them in Power BI, Power Platform or a data management project.
LTMVendInvoiceJourEntity· 46 fields from this table
Need help with LTMVendInvoiceJour in a report, an integration or a migration? Talk to Dr Dynamics.