Table
LTMProjInvoiceJour
Project Invoice Journal
Holds the Latin America (LATAM) fiscal details stored with a posted project invoice. The key is document date, reference record and complete document number. RefRecId points to the project invoice journal record (ProjInvoiceJour). Other fields link to the sales point, fiscal register, taxpayer type, document class and state.
- Table name
LTMProjInvoiceJour- Module
Cross-module and platform- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
RefRecId- Replacement key
ProjInvoiceJour- Key fields
DocumentDate, RefRecId, CompleteDocumentNum- Model
GlobalizationLTM
Fields (56)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DocumentDateDate of the document. | DateDocumentDate | Yes | None | |
RefRecIdSystem record ID of the related project invoice journal record. | Int64RefRecId | Yes | ProjInvoiceJour.RecId | None |
CompleteDocumentNumFull document number, shown as one value. | String (20)DocumentNum | Yes | None | |
CaiCaeCA number given to the document, issued for a group of invoices or for one invoice. | String (50)LTMCaiCae | No | None | |
CAICAEDueDateDate on which the CA number is due. | DateSysDate | No | None | |
Concept1First free text line for extra information. | String (250)LTMConcept1 | No | None | |
Concept2Second free text line for extra information. | String (250)LTMConcept2 | No | None | |
Concept3Third free text line for extra information. | String (250)LTMConcept3 | No | None | |
ControlCodeControl code kept with the document. | String (50)LTMControlCode | No | None | |
CountryDocNumNumber that identifies the party at country level. | String (40)LTMCountryDocNum | No | None | |
CountryDocTypeIdType of country identification document. It points to a record in the fiscal register table. | String (15)LTMDocTypeId | No | LTMFiscalRegisterV2.DocTypeId | None |
CountryRegionIdCountry or region where the party is based. It is used with the state to find the state record. | StringAddressCountryRegionId | No | LogisticsAddressState.CountryRegionId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DocumentClassificationIdDocument class that the document belongs to. It points to a document class record. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | None |
DocumentNumNumber part of the document, without the prefix and the sales point. | String (20)DocumentNum | No | None | |
DueDateDue date of the document. | DateDueDate | No | None | |
LineStatusYes or No flag for the line status.low confidence | EnumNoYes (enum) | No | None | |
ListField01Description that goes with reference code 01. | String (60)LTMListFieldCodeDescription | No | None | |
ListField02Description that goes with reference code 02. | String (60)LTMListFieldCodeDescription | No | None | |
ListField03Description that goes with reference code 03. | String (60)LTMListFieldCodeDescription | No | None | |
ListField04Description that goes with reference code 04. | String (60)LTMListFieldCodeDescription | No | None | |
ListField05Description that goes with reference code 05. | String (60)LTMListFieldCodeDescription | No | None | |
ListField06Description that goes with reference code 06. | String (60)LTMListFieldCodeDescription | No | None | |
ListField07Description that goes with reference code 07. | String (60)LTMListFieldCodeDescription | No | None | |
ListField08Description that goes with reference code 08. | String (60)LTMListFieldCodeDescription | No | None | |
ListField09Description that goes with reference code 09. | String (60)LTMListFieldCodeDescription | No | None | |
ListField10Description that goes with reference code 10. | String (60)LTMListFieldCodeDescription | No | None | |
ListFieldCode01Reference code 01 stored with the document. | String (30)LTMListFieldCode | No | None | |
ListFieldCode02Reference code 02 stored with the document. | String (30)LTMListFieldCode | No | None | |
ListFieldCode03Reference code 03 stored with the document. | String (30)LTMListFieldCode | No | None | |
ListFieldCode04Reference code 04 stored with the document. | String (30)LTMListFieldCode | No | None | |
ListFieldCode05Reference code 05 stored with the document. | String (30)LTMListFieldCode | No | None | |
ListFieldCode06Reference code 06 stored with the document. | String (30)LTMListFieldCode | No | None | |
ListFieldCode07Reference code 07 stored with the document. | String (30)LTMListFieldCode | No | None | |
ListFieldCode08Reference code 08 stored with the document. | String (30)LTMListFieldCode | No | None | |
ListFieldCode09Reference code 09 stored with the document. | String (30)LTMListFieldCode | No | None | |
ListFieldCode10Reference code 10 stored with the document. | String (30)LTMListFieldCode | No | None | |
NameName of the party on the document. | String (60)Name | No | None | |
OrigRecIdSystem record ID of the original record this row relates to. | Int64RecId | No | None | |
OrigTableIdID of the table that the original record belongs to. | IntegerRefTableId | No | None | |
ParmIdID of the parameter set used when the invoice was processed. | String (20)ParmId | Yes | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjInvoiceProjIdID of the project contract that was invoiced. | String (20)ProjInvoiceProjId | Yes | None | |
ProposalIdID of the project invoice proposal. | String (50)ProjProposalId | No | None | |
PSEnableYes or 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 | |
SalesIdSales order number linked to the invoice. | String (20)SalesId | No | None | |
SalesPointIdSales point whose prefix is used in the document numbering. It points to a sales point record. | StringLTMSalesPointId | No | LTMSalesPoint.SalesPointId | None |
SalesPointPrefixPrefix text of the sales point. | StringLTMSalesPointPrefix | No | None | |
StateDocNumNumber that identifies the party at state level. | String (30)LTMStateDocNum | No | None | |
StateDocTypeIdType of state identification document. It points to a record in the fiscal register table. | String (15)LTMDocTypeId | No | LTMFiscalRegisterV2.DocTypeId | None |
StateIdState or jurisdiction where the party is registered. It is used with the country or region to find the state record. | StringLogisticsAddressStateId | No | LogisticsAddressState.StateId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxPayerTypeIdTaxpayer type of the party. It points to a taxpayer type record. | String (15)LTMTaxPayerTypeId | No | LTMTaxPayerType.TaxPayerTypeId | None |
TDETimbradoLong text holding the stamp value of the document.low confidence | String (-1)LTMStamped | No | None |
Indexes (2)
RefRecIdPrimary indexUnique, alternate key.
ProjInvoiceJourReplacement keyDocumentDate,RefRecId,CompleteDocumentNumUnique, alternate key.
Relations (8)
Each relation joins LTMProjInvoiceJour to another table on the fields shown.
LTMCountryFiscalRegister→LTMFiscalRegisterV2Join on
LTMFiscalRegisterV2.CountryDocType = null,CountryDocTypeId = LTMFiscalRegisterV2.DocTypeIdMany LTMProjInvoiceJour records → zero or one LTMFiscalRegisterV2 record
LTMSalesPoint→LTMSalesPointJoin on
SalesPointId = LTMSalesPoint.SalesPointIdOne or more LTMProjInvoiceJour records → zero or one LTMSalesPoint record
LTMStateFiscalRegister→LTMFiscalRegisterV2Join on
LTMFiscalRegisterV2.StateDocType = null,StateDocTypeId = LTMFiscalRegisterV2.DocTypeIdMany LTMProjInvoiceJour records → zero or one LTMFiscalRegisterV2 record
LTMDocumentClassification→LTMDocumentClassificationJoin on
DocumentClassificationId = LTMDocumentClassification.DocumentClassificationIdMany LTMProjInvoiceJour records → zero or one LTMDocumentClassification record
LogisticsAddressState→LogisticsAddressStateJoin on
StateId = LogisticsAddressState.StateId,CountryRegionId = LogisticsAddressState.CountryRegionIdMany LTMProjInvoiceJour records → zero or one LogisticsAddressState record
ProjInvoiceJour→ProjInvoiceJourJoin on
RefRecID = ProjInvoiceJour.RecIdExactly one LTMProjInvoiceJour record → exactly one ProjInvoiceJour record
ProjInvoiceParmTable→ProjInvoiceParmTableJoin on
ProjInvoiceProjId = ProjInvoiceParmTable.ProjInvoiceProjId,ProposalId = ProjInvoiceParmTable.ProposalIdMany LTMProjInvoiceJour records → zero or one ProjInvoiceParmTable record
LTMTaxPayerType→LTMTaxPayerTypeJoin on
TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeIdMany LTMProjInvoiceJour records → zero or one LTMTaxPayerType record
Get this data out
No public entity reads from LTMProjInvoiceJour. Its data is only reachable through the application, a custom entity or a database export.
Need help with LTMProjInvoiceJour in a report, an integration or a migration? Talk to Dr Dynamics.