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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DocumentDateDate of the document.Date
DocumentDate
YesNone
RefRecIdSystem record ID of the related project invoice journal record.Int64
RefRecId
YesProjInvoiceJour.RecIdNone
CompleteDocumentNumFull document number, shown as one value.String (20)
DocumentNum
YesNone
CaiCaeCA number given to the document, issued for a group of invoices or for one invoice.String (50)
LTMCaiCae
NoNone
CAICAEDueDateDate on which the CA number is due.Date
SysDate
NoNone
Concept1First free text line for extra information.String (250)
LTMConcept1
NoNone
Concept2Second free text line for extra information.String (250)
LTMConcept2
NoNone
Concept3Third free text line for extra information.String (250)
LTMConcept3
NoNone
ControlCodeControl code kept with the document.String (50)
LTMControlCode
NoNone
CountryDocNumNumber that identifies the party at country level.String (40)
LTMCountryDocNum
NoNone
CountryDocTypeIdType of country identification document. It points to a record in the fiscal register table.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdNone
CountryRegionIdCountry or region where the party is based. It is used with the state to find the state record.String
AddressCountryRegionId
NoLogisticsAddressState.CountryRegionIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocumentClassificationIdDocument class that the document belongs to. It points to a document class record.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdNone
DocumentNumNumber part of the document, without the prefix and the sales point.String (20)
DocumentNum
NoNone
DueDateDue date of the document.Date
DueDate
NoNone
LineStatusYes or No flag for the line status.low confidenceEnum
NoYes (enum)
NoNone
ListField01Description that goes with reference code 01.String (60)
LTMListFieldCodeDescription
NoNone
ListField02Description that goes with reference code 02.String (60)
LTMListFieldCodeDescription
NoNone
ListField03Description that goes with reference code 03.String (60)
LTMListFieldCodeDescription
NoNone
ListField04Description that goes with reference code 04.String (60)
LTMListFieldCodeDescription
NoNone
ListField05Description that goes with reference code 05.String (60)
LTMListFieldCodeDescription
NoNone
ListField06Description that goes with reference code 06.String (60)
LTMListFieldCodeDescription
NoNone
ListField07Description that goes with reference code 07.String (60)
LTMListFieldCodeDescription
NoNone
ListField08Description that goes with reference code 08.String (60)
LTMListFieldCodeDescription
NoNone
ListField09Description that goes with reference code 09.String (60)
LTMListFieldCodeDescription
NoNone
ListField10Description that goes with reference code 10.String (60)
LTMListFieldCodeDescription
NoNone
ListFieldCode01Reference code 01 stored with the document.String (30)
LTMListFieldCode
NoNone
ListFieldCode02Reference code 02 stored with the document.String (30)
LTMListFieldCode
NoNone
ListFieldCode03Reference code 03 stored with the document.String (30)
LTMListFieldCode
NoNone
ListFieldCode04Reference code 04 stored with the document.String (30)
LTMListFieldCode
NoNone
ListFieldCode05Reference code 05 stored with the document.String (30)
LTMListFieldCode
NoNone
ListFieldCode06Reference code 06 stored with the document.String (30)
LTMListFieldCode
NoNone
ListFieldCode07Reference code 07 stored with the document.String (30)
LTMListFieldCode
NoNone
ListFieldCode08Reference code 08 stored with the document.String (30)
LTMListFieldCode
NoNone
ListFieldCode09Reference code 09 stored with the document.String (30)
LTMListFieldCode
NoNone
ListFieldCode10Reference code 10 stored with the document.String (30)
LTMListFieldCode
NoNone
NameName of the party on the document.String (60)
Name
NoNone
OrigRecIdSystem record ID of the original record this row relates to.Int64
RecId
NoNone
OrigTableIdID of the table that the original record belongs to.Integer
RefTableId
NoNone
ParmIdID of the parameter set used when the invoice was processed.String (20)
ParmId
YesNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjInvoiceProjIdID of the project contract that was invoiced.String (20)
ProjInvoiceProjId
YesNone
ProposalIdID of the project invoice proposal.String (50)
ProjProposalId
NoNone
PSEnableYes or No flag that controls whether packing slip information is shown.Enum
NoYes (enum)
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SalesIdSales order number linked to the invoice.String (20)
SalesId
NoNone
SalesPointIdSales point whose prefix is used in the document numbering. It points to a sales point record.String
LTMSalesPointId
NoLTMSalesPoint.SalesPointIdNone
SalesPointPrefixPrefix text of the sales point.String
LTMSalesPointPrefix
NoNone
StateDocNumNumber that identifies the party at state level.String (30)
LTMStateDocNum
NoNone
StateDocTypeIdType of state identification document. It points to a record in the fiscal register table.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdNone
StateIdState or jurisdiction where the party is registered. It is used with the country or region to find the state record.String
LogisticsAddressStateId
NoLogisticsAddressState.StateIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxPayerTypeIdTaxpayer type of the party. It points to a taxpayer type record.String (15)
LTMTaxPayerTypeId
NoLTMTaxPayerType.TaxPayerTypeIdNone
TDETimbradoLong text holding the stamp value of the document.low confidenceString (-1)
LTMStamped
NoNone

Indexes (2)

Relations (8)

Each relation joins LTMProjInvoiceJour to another table on the fields shown.

  • LTMCountryFiscalRegister → LTMFiscalRegisterV2

    Join on LTMFiscalRegisterV2.CountryDocType = null, CountryDocTypeId = LTMFiscalRegisterV2.DocTypeId

    Many LTMProjInvoiceJour records → zero or one LTMFiscalRegisterV2 record

  • LTMSalesPoint → LTMSalesPoint

    Join on SalesPointId = LTMSalesPoint.SalesPointId

    One or more LTMProjInvoiceJour records → zero or one LTMSalesPoint record

  • LTMStateFiscalRegister → LTMFiscalRegisterV2

    Join on LTMFiscalRegisterV2.StateDocType = null, StateDocTypeId = LTMFiscalRegisterV2.DocTypeId

    Many LTMProjInvoiceJour records → zero or one LTMFiscalRegisterV2 record

  • LTMDocumentClassification → LTMDocumentClassification

    Join on DocumentClassificationId = LTMDocumentClassification.DocumentClassificationId

    Many LTMProjInvoiceJour records → zero or one LTMDocumentClassification record

  • LogisticsAddressState → LogisticsAddressState

    Join on StateId = LogisticsAddressState.StateId, CountryRegionId = LogisticsAddressState.CountryRegionId

    Many LTMProjInvoiceJour records → zero or one LogisticsAddressState record

  • ProjInvoiceJour → ProjInvoiceJour

    Join on RefRecID = ProjInvoiceJour.RecId

    Exactly one LTMProjInvoiceJour record → exactly one ProjInvoiceJour record

  • ProjInvoiceParmTable → ProjInvoiceParmTable

    Join on ProjInvoiceProjId = ProjInvoiceParmTable.ProjInvoiceProjId, ProposalId = ProjInvoiceParmTable.ProposalId

    Many LTMProjInvoiceJour records → zero or one ProjInvoiceParmTable record

  • LTMTaxPayerType → LTMTaxPayerType

    Join on TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeId

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

Email sales@drdynamics.co.uk