Table

LTMProjInvoiceParmTableV2

Project invoice

A second version of the Latin America (LATAM) project invoice processing table. It holds the same fiscal fields, but the key also includes the invoice proposal ID: parameter ID, project contract ID and proposal ID. It links to the sales point, taxpayer type, document class and fiscal register.

Table name
LTMProjInvoiceParmTableV2
Module
Cross-module and platform
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
LTMProjInvoiceParmTableIdx
Key fields
ParmId, ProjInvoiceProjId, ProposalId
Model
GlobalizationLTM

Fields (51)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ParmIdID of the parameter set used to process the invoice.String (20)
ParmId
YesNone
ProjInvoiceProjIdID of the project contract that is invoiced.String (20)
ProjInvoiceProjId
YesNone
ProposalIdID of the project invoice proposal. It is part of the key.String (50)
ProjProposalId
NoNone
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
CompleteDocumentNumFull document number, shown as one value.String (20)
DocumentNum
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.String
AddressCountryRegionId
NoNone
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
DocumentDateDate of the document.Date
DocumentDate
NoNone
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
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
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.String (15)
LTMDocTypeId
NoNone
StateIdState or jurisdiction where the party is registered.String
LogisticsAddressStateId
NoNone
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

Indexes (2)

Relations (6)

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

  • LTMFiscalRegister → LTMFiscalRegisterV2

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

    Many LTMProjInvoiceParmTableV2 records → zero or one LTMFiscalRegisterV2 record

  • LTMSalesPoint → LTMSalesPoint

    Join on SalesPointId = LTMSalesPoint.SalesPointId

    Many LTMProjInvoiceParmTableV2 records → zero or one LTMSalesPoint record

  • LTMTaxPayerType → LTMTaxPayerType

    Join on TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeId

    Many LTMProjInvoiceParmTableV2 records → zero or one LTMTaxPayerType record

  • LTMDocumentClassification → LTMDocumentClassification

    Join on DocumentClassificationId = LTMDocumentClassification.DocumentClassificationId

    Many LTMProjInvoiceParmTableV2 records → zero or one LTMDocumentClassification record

  • ProjInvoiceParmTable → ProjInvoiceParmTable

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

    Many LTMProjInvoiceParmTableV2 records → zero or one ProjInvoiceParmTable record

  • LTMSalesParmTablePS → LTMSalesParmTablePS

    Join on ProposalId = LTMSalesParmTablePS.ProposalId, ProjInvoiceProjId = LTMSalesParmTablePS.ProjInvoiceProjId

    Many LTMProjInvoiceParmTableV2 records → zero or one LTMSalesParmTablePS record

Get this data out

No public entity reads from LTMProjInvoiceParmTableV2. Its data is only reachable through the application, a custom entity or a database export.

Need help with LTMProjInvoiceParmTableV2 in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk