Table

PurchParmTable

Purchase order - update table

Holds the header-level settings for one purchase order within an update run. Each record is identified by a parameter ID and a line reference. It links to the purchase order, the vendor accounts, payment terms, currency and delivery address. It also has many country-specific fields, for example for Brazil, India and Russia.

Table name
PurchParmTable
Module
Procurement and sourcing
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
ParmTableRefIdx
Replacement key
ParmTableRefIdx
Key fields
ParmId, TableRefId
Model
Foundation

Fields (100)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ParmIdID of the update run. Together with the line reference it forms the key.String (20)
ParmId
YesPurchParmUpdate.ParmIdNone
TableRefIdLine reference that identifies the record within the update run.String (20)
TradeLineRefId
YesNone
BankLCImportLinePoints to the letter of credit shipment line, shown as the shipment number.Int64
BankLCLineRefRecId
NoBankLCImportLine.RecIdNone
BatchAdministrationYes/No flag for batch handling.Enum
BatchAdministration
NoYes (enum)
NoNone
CashDiscCash discount amount for the vendor.Real
VendCashDiscAmount
NoNone
CashDiscCodeCode of the cash discount that applies.String
VendCashDiscCode
NoCashDisc.CashDiscCodeNone
CashDiscDateDate linked to the cash discount.Date
VendCashDiscDate
NoNone
CashDiscPercentDiscount as a percentage.Real
DiscPct
NoNone
ConsignmentNoteNum_INConsignment note number, used for India.String (15)
ConsignmentNum_IN
NoNone
CountyOrigDestCounty of origin or destination, linked to the list of counties.String (30)
AddressCountyOrigDest
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCodeCurrency code of the order.String (3)
VendCurrencyCode
YesCurrency.CurrencyCodeNone
CustomsBillOfEntryNumberTable_INPoints to a bill of entry number record, used for India.Int64
RefRecId
NoCustomsBillOfEntryNumberTable_IN.RecIdNone
CustomsImportInvoiceNumberTable_INPoints to an import invoice number record, used for India.Int64
RefRecId
NoCustomsImportInvoiceNumberTable_IN.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryNameName of the delivery recipient.String (160)
VendName
NoNone
DeliveryPostalAddressPoints to the postal address used for delivery.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
DescriptionFree-text description of the invoice.String (50)
InvoiceDescription
NoNone
DocAutoNumbering_LTYes/No flag used for Lithuania. Its purpose is not clear from the metadata.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
DocumentDateDate shown on the document.Date
DocumentDate
NoNone
DocumentNumNumber shown on the document.String (20)
DocumentNum
NoNone
DocumentOriginWhere the document came from, such as manual entry, a portal or the capture service.Enum
DocumentOrigin (enum)
NoNone
ElectronicInvoice_BRYes/No flag for an electronic fiscal document for services, used for Brazil.Enum
EletronicInvoice_BR
NoYes (enum)
NoNone
EndDateTimeDate and time when the update run ended.UtcDateTime
EndDateTime
NoNone
EndDiscTotal discount amount at order header level.Real
PurchEndDiscAmount
NoNone
EnterpriseNumberEnterprise number used for tax purposes.String (50)
TaxEnterpriseNumber
NoNone
EUROTriangulationYes/No flag showing whether euro triangulation applies.Enum
EUROTriangulation
NoYes (enum)
NoNone
ExchRateExchange rate applied to the order currency.Real
VendExchRate
NoNone
ExchRateSecondarySecond exchange rate held for the order.Real
ExchrateSecondary
NoNone
EXIMPorts_INPoints to an export-import port, used for India.Int64
EXIMPortRecId_IN
NoEximPorts_IN.RecIdNone
FiscalDocumentModel_BRFiscal document model code, used for Brazil.String (3)
FiscalDocumentModel_BR
NoFiscalDocModel_BR.ModelNone
FiscalDocumentSeries_BRSeries of the fiscal document, used for Brazil.String (9)
FiscalDocumentSeries_BR
NoNone
FiscalDocumentSpecie_BRKind of fiscal document, such as NF or CTRC, used for Brazil.Enum
FiscalDocumentSpecie_BR (enum)
NoNone
FiscalDocumentType_BRPoints to the fiscal document type, used for Brazil.Int64
RefRecId
NoFiscalDocumentType_BR.RecIdNone
FixedDueDateA fixed due date for payment.Date
PurchFixedDueDate
NoNone
FixedExchRateYes/No flag showing whether the exchange rate is fixed.Enum
FixedExchRate
NoYes (enum)
NoNone
HoldYes/No flag showing whether the record is on hold.Enum
Hold
NoYes (enum)
NoNone
IgnoreCalculatedSalesTaxYes/No flag to ignore the calculated sales tax.Enum
NoYes (enum)
NoNone
InclTaxYes/No flag showing whether prices include sales tax.Enum
InclTax
NoYes (enum)
NoNone
InventProfileType_RUKind of activity, such as basic or commission agent, used for Russia.Enum
InventProfileType_RU (enum)
NoNone
InvoiceAccountVendor account that receives the invoice.String (20)
VendInvoiceAccount
NoVendTable.AccountNumNone
InvoiceReleaseDateDate and time from which the invoice is released for payment.UtcDateTime
InvoiceReleaseDate
NoNone
InvoiceRoundOffRound-off amount on the invoice.Real
RoundOff
NoNone
LastMatchVarianceResult of the last matching check: not performed, failed or passed.Enum
LastMatchVariance
LastMatchVarianceOptions (enum)
NoNone
LoadIdID of the warehouse load.String (20)
WHSLoadId
NoWHSLoadTable.LoadIdNone
LogLog text recorded for the update.String (255)
LogText
NoNone
NumNumber of the document.String (20)
Num
NoNone
NumberSequenceGroupNumber sequence group that applies.String
NumberSequenceGroupId
NoNumberSequenceGroup.numberSequenceGroupIdNone
OffReportType_RUType of official report, such as cash slip or advance report, used for Russia.Enum
OffReportType_RU (enum)
NoNone
OffSessionId_RUID of the official session, used for Russia.String (20)
OffSessionId_RU
NoNone
OrderAccountVendor account the purchase order is placed with.String (20)
VendAccount
NoVendTable.AccountNumNone
OrderingDocument type the update is for, such as confirmation, packing slip or invoice.Enum
DocumentStatus (enum)
NoNone
PackingSlipIdForUpdate_WPacking slip IDs chosen for the update.String (250)
PackingSlipIdForUpdate_W
NoNone
ParmJobStatusJob status: executed, errors detected or waiting.Enum
ParmJobStatus (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentPayment terms code.String (100)
VendPaymTermId
NoPaymTerm.PaymTermIdNone
PaymentSchedPayment schedule name.String (30)
PaymSchedId
NoPaymSched.NameNone
PaymIdPayment ID.String (200)
PaymId
NoNone
PaymModeMethod of payment for the vendor.String
VendPaymMode
NoVendPaymModeTable.PaymModeNone
PaymSpecPayment specification linked to the method of payment.String
PaymSpec
NoVendPaymModeSpec.SpecificationNone
PortPort code for Intrastat reporting.String
IntrastatPortId
NoIntrastatPort.PortIdNone
PostingProfileVendor posting profile.String
VendPostingProfile
NoVendLedger.PostingProfileNone
PresenceType_BRPresence type of the buyer, such as in person or internet, used for Brazil.Enum
EFDocPresenceType_BR (enum)
NoNone
PSPrefixTRSerial prefix for e-invoice numbering, linked to the e-invoice serial table.String
PSPrefixTR
NoNone
PurchIdPurchase order number.String (20)
PurchId
NoPurchTable.PurchIdNone
PurchNameName on the purchase order.String (60)
PurchName
NoNone
ReasonTableRef_BRPoints to a reason reference, used for Brazil.Int64
ReasonTableRefRecId
NoReasonTableRef.RecIdNone
ReCalculateFlag for recalculation.low confidenceEnum
boolean (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
ReleaseDateCommentComment about the release date.String (60)
ReleaseDateComment
NoNone
RemittanceLocationPoints to the location used for remittance.Int64
RemittanceLocation
NoLogisticsLocation.RecIdNone
ReportingCurrencyExchangeRateExchange rate for the reporting currency.Real
ReportingCurrencyExchRate
NoNone
ServiceCodeOnDlvAddress_BRYes/No flag for service code on the delivery address, used for Brazil.Enum
TaxServiceCodeOnDlvAddress_BR
NoYes (enum)
NoNone
SettleVoucherSettlement type: none, open transactions or designated transactions.Enum
PurchSettlementType
SettlementType (enum)
NoNone
StartDateTimeDate and time when the update run started.UtcDateTime
StartDateTime
NoNone
StatProcIdIntrastat statistics procedure code.String
IntrastatProcId
NoNone
StornoYes/No flag for a credit correction.Enum
NoYes (enum)
NoNone
StornoPhysical_RUYes/No flag for a physical credit correction, used for Russia.Enum
NoYes (enum)
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
SysRowVersionNumberSystem version number of the row.Int64
SysRowVersionNumber
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxGroupSales tax group.String
TaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxInformation_INPoints to the tax information record holding the Tax Account Number (TAN), used for India.Int64
TaxInformationRecId_IN
NoTaxInformation_IN.RecIdNone
TaxRoundOffSales tax rounding amount.Real
TaxAmountCur
NoNone
TransactionCodeIntrastat transaction code.String
IntrastatTransactionCodeId
NoIntrastatTransactionCode.TransactionCodeNone
TransDateDate of the transaction.Date
TransDate
NoNone
TransportIntrastat transport method code.String
IntrastatTransport
NoIntrastatTransportMode.TransPortCodeNone
VarianceApprovedYes/No flag showing that posting is approved despite matching differences.Enum
VarianceApproved
NoYes (enum)
NoNone
VarianceApprovedDateTimeDate and time the variance was approved.UtcDateTime
VarianceApprovedDateTime
NoNone
VarianceCommentComment about the matching variance.String (255)
VarianceComment
NoNone
VATNumTax exempt number.String (20)
VATNumJournal
NoNone
VendBankAccountIDID of the vendor bank account.String
VendBankAccountId
NoVendBankAccount.AccountIDNone
VendFinalUser_BRYes/No flag for final user, used for Brazil.Enum
CustVendFinalUser_BR
NoYes (enum)
NoNone
VendInvoiceGroupInvoice group code.String
VendInvoiceGrouping
NoNone
VendInvoiceSaveStatusSave status of the invoice: new or pending.Enum
VendInvoiceSaveStatus (enum)
NoNone
VendPackingSlipJourPoints to a vendor product receipt.Int64
VendPackingSlipJourRecId
NoVendPackingSlipJour.RecIdNone
VendPaymentGroupPayment group code.String
VendPaymentGrouping
NoNone
WorkflowStateWorkflow state, such as submitted, pending approval or approved.Enum
TradeWorkflowState (enum)
NoNone

Indexes (8)

Relations (35)

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

  • BankLCImportLine → BankLCImportLine

    Join on BankLCImportLine = BankLCImportLine.RecId

    Many PurchParmTable records → zero or one BankLCImportLine record

  • CashDisc → CashDisc

    Join on CashDiscCode = CashDisc.CashDiscCode

    Many PurchParmTable records → zero or one CashDisc record

  • CountyOrigDest → LogisticsAddressCounty

    Join on CountyOrigDest = LogisticsAddressCounty.CountyId

    Many PurchParmTable records → zero or one LogisticsAddressCounty record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many PurchParmTable records → exactly one Currency record

  • CustomsBillOfEntryNumberTable_IN → CustomsBillOfEntryNumberTable_IN

    Join on CustomsBillOfEntryNumberTable_IN = CustomsBillOfEntryNumberTable_IN.RecId

    Many PurchParmTable records → zero or one CustomsBillOfEntryNumberTable_IN record

  • CustomsImportInvoiceNumberTable_IN → CustomsImportInvoiceNumberTable_IN

    Join on CustomsImportInvoiceNumberTable_IN = CustomsImportInvoiceNumberTable_IN.RecId

    Many PurchParmTable records → zero or one CustomsImportInvoiceNumberTable_IN record

  • DeliveryPostalAddress_FK → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many PurchParmTable records → zero or one LogisticsPostalAddress record

  • FiscalDocModel_BR → FiscalDocModel_BR

    Join on FiscalDocumentModel_BR = FiscalDocModel_BR.Model

    Many PurchParmTable records → zero or one FiscalDocModel_BR record

  • FiscalDocumentType_BR → FiscalDocumentType_BR

    Join on FiscalDocumentType_BR = FiscalDocumentType_BR.RecId

    Many PurchParmTable records → zero or one FiscalDocumentType_BR record

  • IntrastatPort → IntrastatPort

    Join on Port = IntrastatPort.PortId

    Many PurchParmTable records → zero or one IntrastatPort record

  • IntrastatStatProc → IntrastatStatProc

    Join on StatProcId = IntrastatStatProc.StatProcId

    Many PurchParmTable records → zero or one IntrastatStatProc record

  • IntrastatTransactionCode → IntrastatTransactionCode

    Join on TransactionCode = IntrastatTransactionCode.TransactionCode

    Many PurchParmTable records → zero or one IntrastatTransactionCode record

  • IntrastatTransportMode → IntrastatTransportMode

    Join on Transport = IntrastatTransportMode.TransPortCode

    Many PurchParmTable records → zero or one IntrastatTransportMode record

  • InvoiceVendor → VendTable

    Join on InvoiceAccount = VendTable.AccountNum

    Many PurchParmTable records → zero or one VendTable record

  • NumberSequenceGroup → NumberSequenceGroup

    Join on NumberSequenceGroup = NumberSequenceGroup.numberSequenceGroupId

    Many PurchParmTable records → zero or one NumberSequenceGroup record

  • OfficialsTrans_RU → OfficialsTrans_RU

    Join on OffSessionId_RU = OfficialsTrans_RU.OffSessionId

    Many PurchParmTable records → zero or one OfficialsTrans_RU record

  • OrderVendor → VendTable

    Join on OrderAccount = VendTable.AccountNum

    Many PurchParmTable records → zero or one VendTable record

  • PaymSched → PaymSched

    Join on PaymentSched = PaymSched.Name

    Many PurchParmTable records → zero or one PaymSched record

  • PaymTerm → PaymTerm

    Join on Payment = PaymTerm.PaymTermId

    Many PurchParmTable records → zero or one PaymTerm record

  • PurchParmTable → PurchParmTable

    Join on ParmId = PurchParmTable.ParmId, TableRefId = PurchParmTable.TableRefId

    Cardinality not set in the metadata.

  • PurchParmUpdate → PurchParmUpdate

    Join on ParmId = PurchParmUpdate.ParmId

    Many PurchParmTable records → exactly one PurchParmUpdate record

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    Many PurchParmTable records → zero or one PurchTable record

  • ReasonTableRef → ReasonTableRef

    Join on ReasonTableRef_BR = ReasonTableRef.RecId

    Zero or one PurchParmTable record → zero or one ReasonTableRef record

  • RemittanceLocation_FK → LogisticsLocation

    Join on RemittanceLocation = LogisticsLocation.RecId

    Many PurchParmTable records → zero or one LogisticsLocation record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many PurchParmTable records → zero or one TaxGroupHeading record

  • TaxInformation_IN → TaxInformation_IN

    Join on TaxInformation_IN = TaxInformation_IN.RecId

    Many PurchParmTable records → zero or one TaxInformation_IN record

  • TaxWorkRegulation → TaxWorkRegulation

    Join on RecId = TaxWorkRegulation.HeadingRecId, TableId = TaxWorkRegulation.HeadingTableId

    Many PurchParmTable records → zero or one TaxWorkRegulation record

  • VendBankAccount → VendBankAccount

    Join on InvoiceAccount = VendBankAccount.VendAccount, VendBankAccountID = VendBankAccount.AccountID

    Many PurchParmTable records → zero or one VendBankAccount record

  • VendLedger → VendLedger

    Join on PostingProfile = VendLedger.PostingProfile

    Many PurchParmTable records → zero or one VendLedger record

  • VendPackingSlipJour → VendPackingSlipJour

    Join on VendPackingSlipJour = VendPackingSlipJour.RecId

    Many PurchParmTable records → zero or one VendPackingSlipJour record

  • VendPaymentModeSpec → VendPaymModeSpec

    Join on PaymSpec = VendPaymModeSpec.Specification, PaymMode = VendPaymModeSpec.PaymMode

    Many PurchParmTable records → zero or one VendPaymModeSpec record

  • VendPaymModeTable → VendPaymModeTable

    Join on PaymMode = VendPaymModeTable.PaymMode

    Many PurchParmTable records → zero or one VendPaymModeTable record

  • WHSLoadTable → WHSLoadTable

    Join on LoadId = WHSLoadTable.LoadId

    Many PurchParmTable records → zero or one WHSLoadTable record

  • EximPorts_IN → EximPorts_IN

    Join on EXIMPorts_IN = EximPorts_IN.RecId

    Many PurchParmTable records → zero or one EximPorts_IN record

  • PSSerialTableTR → PSSerialTableTR

    Join on PSPrefixTR = PSSerialTableTR.Prefix

    Many PurchParmTable records → zero or one PSSerialTableTR record

Get this data out

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

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

Email sales@drdynamics.co.uk