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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ParmIdID of the update run. Together with the line reference it forms the key. | String (20)ParmId | Yes | PurchParmUpdate.ParmId | None |
TableRefIdLine reference that identifies the record within the update run. | String (20)TradeLineRefId | Yes | None | |
BankLCImportLinePoints to the letter of credit shipment line, shown as the shipment number. | Int64BankLCLineRefRecId | No | BankLCImportLine.RecId | None |
BatchAdministrationYes/No flag for batch handling. | EnumBatchAdministrationNoYes (enum) | No | None | |
CashDiscCash discount amount for the vendor. | RealVendCashDiscAmount | No | None | |
CashDiscCodeCode of the cash discount that applies. | StringVendCashDiscCode | No | CashDisc.CashDiscCode | None |
CashDiscDateDate linked to the cash discount. | DateVendCashDiscDate | No | None | |
CashDiscPercentDiscount as a percentage. | RealDiscPct | No | None | |
ConsignmentNoteNum_INConsignment note number, used for India. | String (15)ConsignmentNum_IN | No | None | |
CountyOrigDestCounty of origin or destination, linked to the list of counties. | String (30)AddressCountyOrigDest | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CurrencyCodeCurrency code of the order. | String (3)VendCurrencyCode | Yes | Currency.CurrencyCode | None |
CustomsBillOfEntryNumberTable_INPoints to a bill of entry number record, used for India. | Int64RefRecId | No | CustomsBillOfEntryNumberTable_IN.RecId | None |
CustomsImportInvoiceNumberTable_INPoints to an import invoice number record, used for India. | Int64RefRecId | No | CustomsImportInvoiceNumberTable_IN.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeliveryNameName of the delivery recipient. | String (160)VendName | No | None | |
DeliveryPostalAddressPoints to the postal address used for delivery. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
DescriptionFree-text description of the invoice. | String (50)InvoiceDescription | No | None | |
DocAutoNumbering_LTYes/No flag used for Lithuania. Its purpose is not clear from the metadata.low confidence | EnumNoYesIdNoYes (enum) | No | None | |
DocumentDateDate shown on the document. | DateDocumentDate | No | None | |
DocumentNumNumber shown on the document. | String (20)DocumentNum | No | None | |
DocumentOriginWhere the document came from, such as manual entry, a portal or the capture service. | EnumDocumentOrigin (enum) | No | None | |
ElectronicInvoice_BRYes/No flag for an electronic fiscal document for services, used for Brazil. | EnumEletronicInvoice_BRNoYes (enum) | No | None | |
EndDateTimeDate and time when the update run ended. | UtcDateTimeEndDateTime | No | None | |
EndDiscTotal discount amount at order header level. | RealPurchEndDiscAmount | No | None | |
EnterpriseNumberEnterprise number used for tax purposes. | String (50)TaxEnterpriseNumber | No | None | |
EUROTriangulationYes/No flag showing whether euro triangulation applies. | EnumEUROTriangulationNoYes (enum) | No | None | |
ExchRateExchange rate applied to the order currency. | RealVendExchRate | No | None | |
ExchRateSecondarySecond exchange rate held for the order. | RealExchrateSecondary | No | None | |
EXIMPorts_INPoints to an export-import port, used for India. | Int64EXIMPortRecId_IN | No | EximPorts_IN.RecId | None |
FiscalDocumentModel_BRFiscal document model code, used for Brazil. | String (3)FiscalDocumentModel_BR | No | FiscalDocModel_BR.Model | None |
FiscalDocumentSeries_BRSeries of the fiscal document, used for Brazil. | String (9)FiscalDocumentSeries_BR | No | None | |
FiscalDocumentSpecie_BRKind of fiscal document, such as NF or CTRC, used for Brazil. | EnumFiscalDocumentSpecie_BR (enum) | No | None | |
FiscalDocumentType_BRPoints to the fiscal document type, used for Brazil. | Int64RefRecId | No | FiscalDocumentType_BR.RecId | None |
FixedDueDateA fixed due date for payment. | DatePurchFixedDueDate | No | None | |
FixedExchRateYes/No flag showing whether the exchange rate is fixed. | EnumFixedExchRateNoYes (enum) | No | None | |
HoldYes/No flag showing whether the record is on hold. | EnumHoldNoYes (enum) | No | None | |
IgnoreCalculatedSalesTaxYes/No flag to ignore the calculated sales tax. | EnumNoYes (enum) | No | None | |
InclTaxYes/No flag showing whether prices include sales tax. | EnumInclTaxNoYes (enum) | No | None | |
InventProfileType_RUKind of activity, such as basic or commission agent, used for Russia. | EnumInventProfileType_RU (enum) | No | None | |
InvoiceAccountVendor account that receives the invoice. | String (20)VendInvoiceAccount | No | VendTable.AccountNum | None |
InvoiceReleaseDateDate and time from which the invoice is released for payment. | UtcDateTimeInvoiceReleaseDate | No | None | |
InvoiceRoundOffRound-off amount on the invoice. | RealRoundOff | No | None | |
LastMatchVarianceResult of the last matching check: not performed, failed or passed. | EnumLastMatchVarianceLastMatchVarianceOptions (enum) | No | None | |
LoadIdID of the warehouse load. | String (20)WHSLoadId | No | WHSLoadTable.LoadId | None |
LogLog text recorded for the update. | String (255)LogText | No | None | |
NumNumber of the document. | String (20)Num | No | None | |
NumberSequenceGroupNumber sequence group that applies. | StringNumberSequenceGroupId | No | NumberSequenceGroup.numberSequenceGroupId | None |
OffReportType_RUType of official report, such as cash slip or advance report, used for Russia. | EnumOffReportType_RU (enum) | No | None | |
OffSessionId_RUID of the official session, used for Russia. | String (20)OffSessionId_RU | No | None | |
OrderAccountVendor account the purchase order is placed with. | String (20)VendAccount | No | VendTable.AccountNum | None |
OrderingDocument type the update is for, such as confirmation, packing slip or invoice. | EnumDocumentStatus (enum) | No | None | |
PackingSlipIdForUpdate_WPacking slip IDs chosen for the update. | String (250)PackingSlipIdForUpdate_W | No | None | |
ParmJobStatusJob status: executed, errors detected or waiting. | EnumParmJobStatus (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentPayment terms code. | String (100)VendPaymTermId | No | PaymTerm.PaymTermId | None |
PaymentSchedPayment schedule name. | String (30)PaymSchedId | No | PaymSched.Name | None |
PaymIdPayment ID. | String (200)PaymId | No | None | |
PaymModeMethod of payment for the vendor. | StringVendPaymMode | No | VendPaymModeTable.PaymMode | None |
PaymSpecPayment specification linked to the method of payment. | StringPaymSpec | No | VendPaymModeSpec.Specification | None |
PortPort code for Intrastat reporting. | StringIntrastatPortId | No | IntrastatPort.PortId | None |
PostingProfileVendor posting profile. | StringVendPostingProfile | No | VendLedger.PostingProfile | None |
PresenceType_BRPresence type of the buyer, such as in person or internet, used for Brazil. | EnumEFDocPresenceType_BR (enum) | No | None | |
PSPrefixTRSerial prefix for e-invoice numbering, linked to the e-invoice serial table. | StringPSPrefixTR | No | None | |
PurchIdPurchase order number. | String (20)PurchId | No | PurchTable.PurchId | None |
PurchNameName on the purchase order. | String (60)PurchName | No | None | |
ReasonTableRef_BRPoints to a reason reference, used for Brazil. | Int64ReasonTableRefRecId | No | ReasonTableRef.RecId | None |
ReCalculateFlag for recalculation.low confidence | Enumboolean (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 | |
ReleaseDateCommentComment about the release date. | String (60)ReleaseDateComment | No | None | |
RemittanceLocationPoints to the location used for remittance. | Int64RemittanceLocation | No | LogisticsLocation.RecId | None |
ReportingCurrencyExchangeRateExchange rate for the reporting currency. | RealReportingCurrencyExchRate | No | None | |
ServiceCodeOnDlvAddress_BRYes/No flag for service code on the delivery address, used for Brazil. | EnumTaxServiceCodeOnDlvAddress_BRNoYes (enum) | No | None | |
SettleVoucherSettlement type: none, open transactions or designated transactions. | EnumPurchSettlementTypeSettlementType (enum) | No | None | |
StartDateTimeDate and time when the update run started. | UtcDateTimeStartDateTime | No | None | |
StatProcIdIntrastat statistics procedure code. | StringIntrastatProcId | No | None | |
StornoYes/No flag for a credit correction. | EnumNoYes (enum) | No | None | |
StornoPhysical_RUYes/No flag for a physical credit correction, used for Russia. | EnumNoYes (enum) | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
SysRowVersionNumberSystem version number of the row. | Int64SysRowVersionNumber | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxGroupSales tax group. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | None |
TaxInformation_INPoints to the tax information record holding the Tax Account Number (TAN), used for India. | Int64TaxInformationRecId_IN | No | TaxInformation_IN.RecId | None |
TaxRoundOffSales tax rounding amount. | RealTaxAmountCur | No | None | |
TransactionCodeIntrastat transaction code. | StringIntrastatTransactionCodeId | No | IntrastatTransactionCode.TransactionCode | None |
TransDateDate of the transaction. | DateTransDate | No | None | |
TransportIntrastat transport method code. | StringIntrastatTransport | No | IntrastatTransportMode.TransPortCode | None |
VarianceApprovedYes/No flag showing that posting is approved despite matching differences. | EnumVarianceApprovedNoYes (enum) | No | None | |
VarianceApprovedDateTimeDate and time the variance was approved. | UtcDateTimeVarianceApprovedDateTime | No | None | |
VarianceCommentComment about the matching variance. | String (255)VarianceComment | No | None | |
VATNumTax exempt number. | String (20)VATNumJournal | No | None | |
VendBankAccountIDID of the vendor bank account. | StringVendBankAccountId | No | VendBankAccount.AccountID | None |
VendFinalUser_BRYes/No flag for final user, used for Brazil. | EnumCustVendFinalUser_BRNoYes (enum) | No | None | |
VendInvoiceGroupInvoice group code. | StringVendInvoiceGrouping | No | None | |
VendInvoiceSaveStatusSave status of the invoice: new or pending. | EnumVendInvoiceSaveStatus (enum) | No | None | |
VendPackingSlipJourPoints to a vendor product receipt. | Int64VendPackingSlipJourRecId | No | VendPackingSlipJour.RecId | None |
VendPaymentGroupPayment group code. | StringVendPaymentGrouping | No | None | |
WorkflowStateWorkflow state, such as submitted, pending approval or approved. | EnumTradeWorkflowState (enum) | No | None |
Indexes (8)
PurchIdxNot unique.
ParmIdPurchIdIdxNot unique.
ParmTableRefIdxPrimary indexReplacement keyUnique, alternate key.
TaxInformation_INIdxNot unique.
CustomsBillOfEntryNumberTable_INIdxCustomsBillOfEntryNumberTable_INNot unique.
CustomsImportInvoiceNumberTable_INIdxCustomsImportInvoiceNumberTable_INNot unique.
VendPackingSlipJourIdxNot unique.
FiscalDocumentType_BRIdxNot unique.
Relations (35)
Each relation joins PurchParmTable to another table on the fields shown.
BankLCImportLine→BankLCImportLineJoin on
BankLCImportLine = BankLCImportLine.RecIdMany PurchParmTable records → zero or one BankLCImportLine record
CashDisc→CashDiscJoin on
CashDiscCode = CashDisc.CashDiscCodeMany PurchParmTable records → zero or one CashDisc record
CountyOrigDest→LogisticsAddressCountyJoin on
CountyOrigDest = LogisticsAddressCounty.CountyIdMany PurchParmTable records → zero or one LogisticsAddressCounty record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany PurchParmTable records → exactly one Currency record
CustomsBillOfEntryNumberTable_IN→CustomsBillOfEntryNumberTable_INJoin on
CustomsBillOfEntryNumberTable_IN = CustomsBillOfEntryNumberTable_IN.RecIdMany PurchParmTable records → zero or one CustomsBillOfEntryNumberTable_IN record
CustomsImportInvoiceNumberTable_IN→CustomsImportInvoiceNumberTable_INJoin on
CustomsImportInvoiceNumberTable_IN = CustomsImportInvoiceNumberTable_IN.RecIdMany PurchParmTable records → zero or one CustomsImportInvoiceNumberTable_IN record
DeliveryPostalAddress_FK→LogisticsPostalAddressJoin on
DeliveryPostalAddress = LogisticsPostalAddress.RecIdMany PurchParmTable records → zero or one LogisticsPostalAddress record
FiscalDocModel_BR→FiscalDocModel_BRJoin on
FiscalDocumentModel_BR = FiscalDocModel_BR.ModelMany PurchParmTable records → zero or one FiscalDocModel_BR record
FiscalDocumentType_BR→FiscalDocumentType_BRJoin on
FiscalDocumentType_BR = FiscalDocumentType_BR.RecIdMany PurchParmTable records → zero or one FiscalDocumentType_BR record
IntrastatPort→IntrastatPortJoin on
Port = IntrastatPort.PortIdMany PurchParmTable records → zero or one IntrastatPort record
IntrastatStatProc→IntrastatStatProcJoin on
StatProcId = IntrastatStatProc.StatProcIdMany PurchParmTable records → zero or one IntrastatStatProc record
IntrastatTransactionCode→IntrastatTransactionCodeJoin on
TransactionCode = IntrastatTransactionCode.TransactionCodeMany PurchParmTable records → zero or one IntrastatTransactionCode record
IntrastatTransportMode→IntrastatTransportModeJoin on
Transport = IntrastatTransportMode.TransPortCodeMany PurchParmTable records → zero or one IntrastatTransportMode record
InvoiceVendor→VendTableJoin on
InvoiceAccount = VendTable.AccountNumMany PurchParmTable records → zero or one VendTable record
NumberSequenceGroup→NumberSequenceGroupJoin on
NumberSequenceGroup = NumberSequenceGroup.numberSequenceGroupIdMany PurchParmTable records → zero or one NumberSequenceGroup record
OfficialsTrans_RU→OfficialsTrans_RUJoin on
OffSessionId_RU = OfficialsTrans_RU.OffSessionIdMany PurchParmTable records → zero or one OfficialsTrans_RU record
OrderVendor→VendTableJoin on
OrderAccount = VendTable.AccountNumMany PurchParmTable records → zero or one VendTable record
PaymSched→PaymSchedJoin on
PaymentSched = PaymSched.NameMany PurchParmTable records → zero or one PaymSched record
PaymTerm→PaymTermJoin on
Payment = PaymTerm.PaymTermIdMany PurchParmTable records → zero or one PaymTerm record
PurchParmTable→PurchParmTableJoin on
ParmId = PurchParmTable.ParmId,TableRefId = PurchParmTable.TableRefIdCardinality not set in the metadata.
PurchParmUpdate→PurchParmUpdateJoin on
ParmId = PurchParmUpdate.ParmIdMany PurchParmTable records → exactly one PurchParmUpdate record
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdMany PurchParmTable records → zero or one PurchTable record
ReasonTableRef→ReasonTableRefJoin on
ReasonTableRef_BR = ReasonTableRef.RecIdZero or one PurchParmTable record → zero or one ReasonTableRef record
RemittanceLocation_FK→LogisticsLocationJoin on
RemittanceLocation = LogisticsLocation.RecIdMany PurchParmTable records → zero or one LogisticsLocation record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany PurchParmTable records → zero or one TaxGroupHeading record
TaxInformation_IN→TaxInformation_INJoin on
TaxInformation_IN = TaxInformation_IN.RecIdMany PurchParmTable records → zero or one TaxInformation_IN record
TaxWorkRegulation→TaxWorkRegulationJoin on
RecId = TaxWorkRegulation.HeadingRecId,TableId = TaxWorkRegulation.HeadingTableIdMany PurchParmTable records → zero or one TaxWorkRegulation record
VendBankAccount→VendBankAccountJoin on
InvoiceAccount = VendBankAccount.VendAccount,VendBankAccountID = VendBankAccount.AccountIDMany PurchParmTable records → zero or one VendBankAccount record
VendLedger→VendLedgerJoin on
PostingProfile = VendLedger.PostingProfileMany PurchParmTable records → zero or one VendLedger record
VendPackingSlipJour→VendPackingSlipJourJoin on
VendPackingSlipJour = VendPackingSlipJour.RecIdMany PurchParmTable records → zero or one VendPackingSlipJour record
VendPaymentModeSpec→VendPaymModeSpecJoin on
PaymSpec = VendPaymModeSpec.Specification,PaymMode = VendPaymModeSpec.PaymModeMany PurchParmTable records → zero or one VendPaymModeSpec record
VendPaymModeTable→VendPaymModeTableJoin on
PaymMode = VendPaymModeTable.PaymModeMany PurchParmTable records → zero or one VendPaymModeTable record
WHSLoadTable→WHSLoadTableJoin on
LoadId = WHSLoadTable.LoadIdMany PurchParmTable records → zero or one WHSLoadTable record
EximPorts_IN→EximPorts_INJoin on
EXIMPorts_IN = EximPorts_IN.RecIdMany PurchParmTable records → zero or one EximPorts_IN record
PSSerialTableTR→PSSerialTableTRJoin on
PSPrefixTR = PSSerialTableTR.PrefixMany 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.