Data entity
LTMCustInvoiceJourEntity
Latin America extension data for customer invoice journal records, keyed by the record ID of the journal. It holds the document and document number, control code, CA number and due date, and tax identity details. It also holds many description, reference code and free text fields.
- Entity name
LTMCustInvoiceJourEntity- Public entity name
LTMCustInvoiceJour- OData collection
LTMCustInvoiceJour- Category
Reference- Module
LTM- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
RefRecId- Staging table
LTMCustInvoiceJourDataStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/LTMCustInvoiceJour- Dataverse virtual table
mserp_ltmcustinvoicejourentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
LTMCustInvoiceJour· root
Fields (46)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CaiCaeAuthorisation (CA) number given for the invoice or a group of invoices. | String (50)LTMCaiCae | No | Yes | LTMCustInvoiceJour.CaiCae | |
CAICAEDueDateDate until which the CA number is valid. | DateSysDate | No | Yes | LTMCustInvoiceJour.CAICAEDueDate | |
CompleteDocumentNumFull document number, including any prefix and sales point. | String (20)DocumentNum | No | Yes | LTMCustInvoiceJour.CompleteDocumentNum | |
Concept1First free text field for extra information. | String (250)LTMConcept1 | No | Yes | LTMCustInvoiceJour.Concept1 | |
Concept2Second free text field for extra information. | String (250)LTMConcept2 | No | Yes | LTMCustInvoiceJour.Concept2 | |
Concept3Third free text field for extra information. | String (250)LTMConcept3 | No | Yes | LTMCustInvoiceJour.Concept3 | |
ControlCodeControl code stored with the document. | String (50)LTMControlCode | No | Yes | LTMCustInvoiceJour.ControlCode | |
CountryDocNumIdentification number issued at country level. | String (40)LTMCountryDocNum | No | Yes | LTMCustInvoiceJour.CountryDocNum | |
CountryDocTypeIdType of the country identification document. Points to a fiscal register record. | String (15)LTMDocTypeId | No | Yes | LTMFiscalRegisterV2.DocTypeId | LTMCustInvoiceJour.CountryDocTypeId |
DocumentNumDocument number without the prefix and sales point. | String (20)DocumentNum | No | Yes | LTMCustInvoiceJour.DocumentNum | |
ListField01Description text for the first list field. | String (60)LTMListFieldCodeDescription | No | Yes | LTMCustInvoiceJour.ListField01 | |
ListField02Description text for the second list field. | String (60)LTMListFieldCodeDescription | No | Yes | LTMCustInvoiceJour.ListField02 | |
ListField03Description text for the third list field. | String (60)LTMListFieldCodeDescription | No | Yes | LTMCustInvoiceJour.ListField03 | |
ListField04Description text for the fourth list field. | String (60)LTMListFieldCodeDescription | No | Yes | LTMCustInvoiceJour.ListField04 | |
ListField05Description text for the fifth list field. | String (60)LTMListFieldCodeDescription | No | Yes | LTMCustInvoiceJour.ListField05 | |
ListField06Description text for the sixth list field. | String (60)LTMListFieldCodeDescription | No | Yes | LTMCustInvoiceJour.ListField06 | |
ListField07Description text for the seventh list field. | String (60)LTMListFieldCodeDescription | No | Yes | LTMCustInvoiceJour.ListField07 | |
ListField08Description text for the eighth list field. | String (60)LTMListFieldCodeDescription | No | Yes | LTMCustInvoiceJour.ListField08 | |
ListField09Description text for the ninth list field. | String (60)LTMListFieldCodeDescription | No | Yes | LTMCustInvoiceJour.ListField09 | |
ListField10Description text for the tenth list field. | String (60)LTMListFieldCodeDescription | No | Yes | LTMCustInvoiceJour.ListField10 | |
ListFieldCode01Reference code for the first list field. | String (30)LTMListFieldCode | No | Yes | LTMCustInvoiceJour.ListFieldCode01 | |
ListFieldCode02Reference code for the second list field. | String (30)LTMListFieldCode | No | Yes | LTMCustInvoiceJour.ListFieldCode02 | |
ListFieldCode03Reference code for the third list field. | String (30)LTMListFieldCode | No | Yes | LTMCustInvoiceJour.ListFieldCode03 | |
ListFieldCode04Reference code for the fourth list field. | String (30)LTMListFieldCode | No | Yes | LTMCustInvoiceJour.ListFieldCode04 | |
ListFieldCode05Reference code for the fifth list field. | String (30)LTMListFieldCode | No | Yes | LTMCustInvoiceJour.ListFieldCode05 | |
ListFieldCode06Reference code for the sixth list field. | String (30)LTMListFieldCode | No | Yes | LTMCustInvoiceJour.ListFieldCode06 | |
ListFieldCode07Reference code for the seventh list field. | String (30)LTMListFieldCode | No | Yes | LTMCustInvoiceJour.ListFieldCode07 | |
ListFieldCode08Reference code for the eighth list field. | String (30)LTMListFieldCode | No | Yes | LTMCustInvoiceJour.ListFieldCode08 | |
ListFieldCode09Reference code for the ninth list field. | String (30)LTMListFieldCode | No | Yes | LTMCustInvoiceJour.ListFieldCode09 | |
ListFieldCode10Reference code for the tenth list field. | String (30)LTMListFieldCode | No | Yes | LTMCustInvoiceJour.ListFieldCode10 | |
NameName of the party on the document. | String (60)Name | No | Yes | LTMCustInvoiceJour.Name | |
PSEnableYes/no flag that controls whether packing slip information is shown. | Enum
| No | Yes | LTMCustInvoiceJour.PSEnable | |
SalesPointIdSales point whose prefix is used in the document number. | StringLTMSalesPointId | No | Yes | LTMSalesPoint.SalesPointId | LTMCustInvoiceJour.SalesPointId |
SalesPointPrefixPrefix text of the sales point. | StringLTMSalesPointPrefix | No | Yes | LTMCustInvoiceJour.SalesPointPrefix | |
StateDocNumIdentification number issued at state level. | String (30)LTMStateDocNum | No | Yes | LTMCustInvoiceJour.StateDocNum | |
StateDocTypeIdType of the state identification document. Points to a fiscal register record. | String (15)LTMDocTypeId | No | Yes | LTMFiscalRegisterV2.DocTypeId | LTMCustInvoiceJour.StateDocTypeId |
TaxPayerTypeIdTaxpayer type of the party. Points to a taxpayer type record. | String (15)LTMTaxPayerTypeId | No | Yes | LTMTaxPayerType.TaxPayerTypeId | LTMCustInvoiceJour.TaxPayerTypeId |
DocumentClassificationIdDocument class the invoice belongs to. Points to a document class record. | String (15)LTMDocumentClassificationId | No | Yes | LTMDocumentClassification.DocumentClassificationId | LTMCustInvoiceJour.DocumentClassificationId |
CountryRegionIdCountry or region of the settlement. Together with the state, it points to a state record. | StringAddressCountryRegionId | No | Yes | LTMCustInvoiceJour.CountryRegionId | |
DocumentDateDate of the document. | DateDocumentDate | No | Yes | LTMCustInvoiceJour.DocumentDate | |
DueDateDate when payment is due. | DateDueDate | No | Yes | LTMCustInvoiceJour.DueDate | |
LedgerVoucherVoucher number of the ledger entry. | String (20)Voucher | No | Yes | LTMCustInvoiceJour.LedgerVoucher | |
ParmIdParameter ID that links to the sales order update table. | String (20)ParmId | No | Yes | LTMCustInvoiceJour.ParmId | |
SalesIdSales order number linked to the invoice. | String (20)SalesId | No | Yes | LTMCustInvoiceJour.SalesId | |
StateIdJurisdiction where the party is registered. Together with the country, it points to a state record. | StringLogisticsAddressStateId | No | Yes | LogisticsAddressState.StateId | LTMCustInvoiceJour.StateId |
RefRecIdRecord ID of the customer invoice journal that this row extends. | Int64RefRecId | No | Yes | CustInvoiceJour.RecId | LTMCustInvoiceJour.RefRecId |
Foreign keys (7)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
CountryDocTypeId→LTMFiscalRegisterV2.DocTypeId(key of LTMFiscalRegisterV2)Relation also requires LTMFiscalRegisterV2.CountryDocType = null.
Many LTMCustInvoiceJour records → zero or one LTMFiscalRegisterV2 record
LTMFiscalRegisterV2 details: see LTMFiscalRegisterV2Entity
SalesPointId→LTMSalesPoint.SalesPointId(key of LTMSalesPoint)Many LTMCustInvoiceJour records → zero or one LTMSalesPoint record
LTMSalesPoint details: see LTMSalesPointEntity
StateDocTypeId→LTMFiscalRegisterV2.DocTypeId(key of LTMFiscalRegisterV2)Relation also requires LTMFiscalRegisterV2.StateDocType = null.
Many LTMCustInvoiceJour records → zero or one LTMFiscalRegisterV2 record
LTMFiscalRegisterV2 details: see LTMFiscalRegisterV2Entity
TaxPayerTypeId→LTMTaxPayerType.TaxPayerTypeId(key of LTMTaxPayerType)Many LTMCustInvoiceJour records → zero or one LTMTaxPayerType record
LTMTaxPayerType details: see LTMTaxPayerTypeEntity
DocumentClassificationId→LTMDocumentClassification.DocumentClassificationId(key of LTMDocumentClassification)Many LTMCustInvoiceJour records → zero or one LTMDocumentClassification record
LTMDocumentClassification details: see LTMDocumentClassificationEntity
StateId→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
StateId=LogisticsAddressState.StateId,CountryRegionId=LogisticsAddressState.CountryRegionIdMany LTMCustInvoiceJour records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
RefRecId→CustInvoiceJour.RecId(key of CustInvoiceJour)Exactly one LTMCustInvoiceJour record → exactly one CustInvoiceJour record
CustInvoiceJour details: see BusinessDocumentSalesInvoiceBaseEntity, ReturnInvoiceHeaderCDSEntity, SalesInvoiceHeaderV4Entity
Need help with LTMCustInvoiceJourEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.