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 descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CaiCaeAuthorisation (CA) number given for the invoice or a group of invoices.String (50)
LTMCaiCae
NoYesLTMCustInvoiceJour.CaiCae
CAICAEDueDateDate until which the CA number is valid.Date
SysDate
NoYesLTMCustInvoiceJour.CAICAEDueDate
CompleteDocumentNumFull document number, including any prefix and sales point.String (20)
DocumentNum
NoYesLTMCustInvoiceJour.CompleteDocumentNum
Concept1First free text field for extra information.String (250)
LTMConcept1
NoYesLTMCustInvoiceJour.Concept1
Concept2Second free text field for extra information.String (250)
LTMConcept2
NoYesLTMCustInvoiceJour.Concept2
Concept3Third free text field for extra information.String (250)
LTMConcept3
NoYesLTMCustInvoiceJour.Concept3
ControlCodeControl code stored with the document.String (50)
LTMControlCode
NoYesLTMCustInvoiceJour.ControlCode
CountryDocNumIdentification number issued at country level.String (40)
LTMCountryDocNum
NoYesLTMCustInvoiceJour.CountryDocNum
CountryDocTypeIdType of the country identification document. Points to a fiscal register record.String (15)
LTMDocTypeId
NoYesLTMFiscalRegisterV2.DocTypeIdLTMCustInvoiceJour.CountryDocTypeId
DocumentNumDocument number without the prefix and sales point.String (20)
DocumentNum
NoYesLTMCustInvoiceJour.DocumentNum
ListField01Description text for the first list field.String (60)
LTMListFieldCodeDescription
NoYesLTMCustInvoiceJour.ListField01
ListField02Description text for the second list field.String (60)
LTMListFieldCodeDescription
NoYesLTMCustInvoiceJour.ListField02
ListField03Description text for the third list field.String (60)
LTMListFieldCodeDescription
NoYesLTMCustInvoiceJour.ListField03
ListField04Description text for the fourth list field.String (60)
LTMListFieldCodeDescription
NoYesLTMCustInvoiceJour.ListField04
ListField05Description text for the fifth list field.String (60)
LTMListFieldCodeDescription
NoYesLTMCustInvoiceJour.ListField05
ListField06Description text for the sixth list field.String (60)
LTMListFieldCodeDescription
NoYesLTMCustInvoiceJour.ListField06
ListField07Description text for the seventh list field.String (60)
LTMListFieldCodeDescription
NoYesLTMCustInvoiceJour.ListField07
ListField08Description text for the eighth list field.String (60)
LTMListFieldCodeDescription
NoYesLTMCustInvoiceJour.ListField08
ListField09Description text for the ninth list field.String (60)
LTMListFieldCodeDescription
NoYesLTMCustInvoiceJour.ListField09
ListField10Description text for the tenth list field.String (60)
LTMListFieldCodeDescription
NoYesLTMCustInvoiceJour.ListField10
ListFieldCode01Reference code for the first list field.String (30)
LTMListFieldCode
NoYesLTMCustInvoiceJour.ListFieldCode01
ListFieldCode02Reference code for the second list field.String (30)
LTMListFieldCode
NoYesLTMCustInvoiceJour.ListFieldCode02
ListFieldCode03Reference code for the third list field.String (30)
LTMListFieldCode
NoYesLTMCustInvoiceJour.ListFieldCode03
ListFieldCode04Reference code for the fourth list field.String (30)
LTMListFieldCode
NoYesLTMCustInvoiceJour.ListFieldCode04
ListFieldCode05Reference code for the fifth list field.String (30)
LTMListFieldCode
NoYesLTMCustInvoiceJour.ListFieldCode05
ListFieldCode06Reference code for the sixth list field.String (30)
LTMListFieldCode
NoYesLTMCustInvoiceJour.ListFieldCode06
ListFieldCode07Reference code for the seventh list field.String (30)
LTMListFieldCode
NoYesLTMCustInvoiceJour.ListFieldCode07
ListFieldCode08Reference code for the eighth list field.String (30)
LTMListFieldCode
NoYesLTMCustInvoiceJour.ListFieldCode08
ListFieldCode09Reference code for the ninth list field.String (30)
LTMListFieldCode
NoYesLTMCustInvoiceJour.ListFieldCode09
ListFieldCode10Reference code for the tenth list field.String (30)
LTMListFieldCode
NoYesLTMCustInvoiceJour.ListFieldCode10
NameName of the party on the document.String (60)
Name
NoYesLTMCustInvoiceJour.Name
PSEnableYes/no flag that controls whether packing slip information is shown.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLTMCustInvoiceJour.PSEnable
SalesPointIdSales point whose prefix is used in the document number.String
LTMSalesPointId
NoYesLTMSalesPoint.SalesPointIdLTMCustInvoiceJour.SalesPointId
SalesPointPrefixPrefix text of the sales point.String
LTMSalesPointPrefix
NoYesLTMCustInvoiceJour.SalesPointPrefix
StateDocNumIdentification number issued at state level.String (30)
LTMStateDocNum
NoYesLTMCustInvoiceJour.StateDocNum
StateDocTypeIdType of the state identification document. Points to a fiscal register record.String (15)
LTMDocTypeId
NoYesLTMFiscalRegisterV2.DocTypeIdLTMCustInvoiceJour.StateDocTypeId
TaxPayerTypeIdTaxpayer type of the party. Points to a taxpayer type record.String (15)
LTMTaxPayerTypeId
NoYesLTMTaxPayerType.TaxPayerTypeIdLTMCustInvoiceJour.TaxPayerTypeId
DocumentClassificationIdDocument class the invoice belongs to. Points to a document class record.String (15)
LTMDocumentClassificationId
NoYesLTMDocumentClassification.DocumentClassificationIdLTMCustInvoiceJour.DocumentClassificationId
CountryRegionIdCountry or region of the settlement. Together with the state, it points to a state record.String
AddressCountryRegionId
NoYesLTMCustInvoiceJour.CountryRegionId
DocumentDateDate of the document.Date
DocumentDate
NoYesLTMCustInvoiceJour.DocumentDate
DueDateDate when payment is due.Date
DueDate
NoYesLTMCustInvoiceJour.DueDate
LedgerVoucherVoucher number of the ledger entry.String (20)
Voucher
NoYesLTMCustInvoiceJour.LedgerVoucher
ParmIdParameter ID that links to the sales order update table.String (20)
ParmId
NoYesLTMCustInvoiceJour.ParmId
SalesIdSales order number linked to the invoice.String (20)
SalesId
NoYesLTMCustInvoiceJour.SalesId
StateIdJurisdiction where the party is registered. Together with the country, it points to a state record.String
LogisticsAddressStateId
NoYesLogisticsAddressState.StateIdLTMCustInvoiceJour.StateId
RefRecIdRecord ID of the customer invoice journal that this row extends.Int64
RefRecId
NoYesCustInvoiceJour.RecIdLTMCustInvoiceJour.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.CountryRegionId

    Many 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.

Email sales@drdynamics.co.uk