Table

LTMPurchParmTableJour

Purchase parm table

Holds extra LATAM tax and document details for a vendor invoice while it is being processed. Each row is identified by a line reference and a parameter ID, which together link to the vendor invoice record (VendInvoiceInfoTable). It also links to sales point, taxpayer type, document class and withholding group setup. It is used by the vendor invoice header entity.

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

Fields (57)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TableRefIdLine reference that links the row to a vendor invoice record. Used together with the parameter ID.String (20)
TradeLineRefId
YesVendInvoiceInfoTable.TableRefIdNone
ParmIdParameter ID that links the row to a vendor invoice record. Used together with the line reference.String (20)
ParmId
NoVendInvoiceInfoTable.ParmIdNone
CaiCaeAuthorisation number (CA) given for a batch of invoices or a single invoice.String (50)
LTMCaiCae
NoNone
CaiCaeDueDateDate on which the CA number expires.Date
SysDate
NoNone
CompleteDocumentNumFull document number, linked to the vendor invoice journal.String (50)
LTMCompleteDocumentNum
NoNone
Concept1First free-text field for extra notes.String (250)
LTMConcept1
NoNone
Concept2Second free-text field for extra notes.String (250)
LTMConcept2
NoNone
Concept3Third free-text field for extra notes.String (250)
LTMConcept3
NoNone
ControlCodeControl code stored with the document.String (50)
LTMControlCode
NoNone
CountryDocNumIdentification number issued at country level.String (40)
LTMCountryDocNum
NoNone
CountryDocTypeIdCode for the type of country-level identification document.String (15)
LTMDocTypeId
NoNone
CountryRegionIdCountry or region where the issuer is based.String
AddressCountryRegionId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocumentClassificationIdDocument class the document belongs to. Points to a document class record.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdVendorInvoiceHeaderEntity
DocumentDateDate shown on the document.Date
DocumentDate
NoNone
DocumentNumPlain document number, without the prefix or sales point.String (20)
DocumentNum
NoVendorInvoiceHeaderEntity
DTECommentComment recording a disagreement about the DTE.String (256)
LTMDTEComment
NoNone
DTEDigestDigest value of the DTE.String (28)
LTMDTEDigest
NoVendorInvoiceHeaderEntity
DTEFileNameFile name of the DTE.String (80)
LTMDTEFilename
NoVendorInvoiceHeaderEntity
DTEResultAcceptance status of the electronic invoice: pending, accepted, accepted with discrepancies or rejected.Enum
LTMDTEResult (enum)
NoNone
DTEShipmentIDShipment identifier of the DTE.String (80)
LTMDTEShipmentID
NoVendorInvoiceHeaderEntity
DueDateDate by which the document is due.Date
DueDate
NoNone
LedgerVoucherVoucher number linked to the document.String (20)
Voucher
NoNone
ListField01Description text for the first reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField02Description text for the second reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField03Description text for the third reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField04Description text for the fourth reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField05Description text for the fifth reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField06Description text for the sixth reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField07Description text for the seventh reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField08Description text for the eighth reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField09Description text for the ninth reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField10Description text for the tenth reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListFieldCode01First reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode02Second reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode03Third reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode04Fourth reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode05Fifth reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode06Sixth reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode07Seventh reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode08Eighth reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode09Ninth reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode10Tenth reference code.String (30)
LTMListFieldCode
NoNone
NameName of the person or company that issued 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
PurchIdPurchase order number related to the invoice.String (20)
PurchId
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. Points to a sales point record.String
LTMSalesPointId
NoLTMSalesPoint.SalesPointIdNone
SalesPointPrefixPrefix text of the sales point.String
LTMSalesPointPrefix
NoNone
StateDocNumIdentification number issued at state level.String (30)
LTMStateDocNum
NoNone
StateDocTypeIdCode for the type of state-level identification document.String (15)
LTMDocTypeId
NoNone
StateIdRegistered state or jurisdiction of the issuer.String
LogisticsAddressStateId
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxPayerTypeIdTaxpayer type of the document issuer. Points to a taxpayer type record.String (15)
LTMTaxPayerTypeId
NoLTMTaxPayerType.TaxPayerTypeIdNone
WithholdingSetIDWithholding tax group that applies to the document. Points to a withholding set record.String (30)
LTMWithholdingSetID
NoLTMWithholdingSet.WithholdingSetIDVendorInvoiceHeaderEntity

Indexes (2)

Relations (6)

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

  • LTMSalesPoint → LTMSalesPoint

    Join on SalesPointId = LTMSalesPoint.SalesPointId

    Many LTMPurchParmTableJour records → zero or one LTMSalesPoint record

  • LTMTaxPayerType → LTMTaxPayerType

    Join on TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeId

    Many LTMPurchParmTableJour records → zero or one LTMTaxPayerType record

  • LTMDocumentClassification → LTMDocumentClassification

    Join on DocumentClassificationId = LTMDocumentClassification.DocumentClassificationId

    Many LTMPurchParmTableJour records → zero or one LTMDocumentClassification record

  • LTMWithholdingSet → LTMWithholdingSet

    Join on WithholdingSetID = LTMWithholdingSet.WithholdingSetID

    Many LTMPurchParmTableJour records → zero or one LTMWithholdingSet record

  • VendInvoiceInfoTable → VendInvoiceInfoTable

    Join on TableRefId = VendInvoiceInfoTable.TableRefId, ParmId = VendInvoiceInfoTable.ParmId

    Zero or one LTMPurchParmTableJour record → exactly one VendInvoiceInfoTable record

  • VendInvoiceJour → VendInvoiceJour

    Join on CompleteDocumentNum = VendInvoiceJour.InvoiceId, PurchId = VendInvoiceJour.PurchId

    Many LTMPurchParmTableJour records → zero or one VendInvoiceJour record

Get this data out

Tables are not exposed directly. These public entities read from LTMPurchParmTableJour; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk