Table

PurchParmLine

Purchase order line - update table

Update table that holds the purchase order line values used when a document such as a receipt or invoice is updated. Each record is tied to a parameter ID, a line reference, the original purchase order and a line number. It carries quantities, prices, discounts, tax groups and country-specific data for Brazil, India and Russia.

Table name
PurchParmLine
Module
Procurement and sourcing
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
ParmTableRefIdx
Replacement key
None
Key fields
ParmId, TableRefId, OrigPurchId, PurchaseLineLineNumber, LineNum, RecId
Model
Foundation

Fields (77)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ParmIdParameter ID that groups the update records. It links to the header update tables.String (20)
ParmId
YesPurchParmSubTable.ParmIdPurchParmTable.ParmIdNone
TableRefIdLine reference within the update. It links to the header update tables.String (20)
TradeLineRefId
YesPurchParmSubTable.TableRefIdPurchParmTable.TableRefIdNone
OrigPurchIdOriginal purchase order.String (20)
PurchIdOrig
YesPurchTable.PurchIdNone
PurchaseLineLineNumberLine number of the purchase line, stored as a whole number.Int64
TradeLineNumber
NoNone
LineNumLine number.Real
LineNum
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
AcceptedQty_INAccepted quantity, used for India.Real
Qty
NoNone
AssessableValue_INAssessable value, used for India.Real
AmountCur
NoNone
CFOPTable_BRSystem record ID of the CFOP code, used for Brazil.Int64
RefRecId
NoCFOPTable_BR.RecIdNone
changedManuallyYes/no flag showing that the quantity was changed by hand.Enum
NoYes (enum)
NoNone
closedYes/no flag to close the line for receipt.Enum
NoYes (enum)
NoNone
currencyCodeCurrency of the line.String (3)
VendCurrencyCode
NoCurrency.CurrencyCodeNone
CustomsBillOfEntryNumberTable_INSystem record ID of a customs bill of entry number, used for India.Int64
RefRecId
NoNone
CustomsImportInvoiceNumberTable_INSystem record ID of a customs import invoice number, used for India.Int64
RefRecId
NoNone
CustomsInvoiceRegnRecId_INSystem record ID of a customs invoice registration, used for India.Int64
RefRecId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryNameName of the delivery party.String (100)
LogisticsDeliveryName
NoNone
DeliveryPostalAddressSystem record ID of the delivery postal address.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
DescriptionDescription of the line.String (1000)
InvoiceLineDescription
NoNone
DeviationQty_RUDeviation quantity, used for Russia.Real
PurchDeviationQty_RU
NoNone
DocumentOriginWhere the document came from, for example manual entry, service, portal or capture service.Enum
DocumentOrigin (enum)
NoNone
InventDimIdInventory dimension number of the line.String (20)
InventDimId
NoInventDim.inventDimIdNone
InventNowQuantity to update, in the inventory unit.Real
InventQty
NoNone
InventProfileType_RUKind of activity, such as commission agent or bailee, used for Russia.Enum
InventProfileType_RU (enum)
NoNone
InventTransIdLot ID of the purchase order line.String (20)
TradeInventTransId
NoInventTransOrigin.InventTransIdNone
InvoiceAccountVendor account for invoicing.String (20)
VendInvoiceAccount
NoVendTable.AccountNumNone
ItemIdItem number of the line.String (20)
ItemId
NoInventTable.ItemIdNone
LineAmountNet amount of the line.Real
AmountCur
NoNone
LineDiscDiscount amount on the line.Real
PurchLineDisc
NoNone
LinePercentDiscount percentage on the line.Real
PurchLinePercent
NoNone
MaximumRetailPrice_INMaximum retail price, used for India.Real
MaximumRetailPrice_IN
NoNone
MultiLnDiscMultiline discount amount.Real
PurchMultiLnDisc
NoNone
MultiLnPercentMultiline discount percentage.Real
PurchMultiLnPercent
NoNone
OrderAccountVendor account of the order.String (20)
VendAccount
NoVendTable.AccountNumNone
OrderingDocument type being updated, for example confirmation, packing slip or invoice.Enum
DocumentStatus (enum)
NoNone
PackedExtensionsContainer that stores extension data in packed form.Container
SysExtensionSerializerPackedContainer
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsCountryOfOrigin1First country or region of origin.String
PdsCountryOfOrigin1
NoLogisticsAddressCountryRegion.CountryRegionIdNone
PdsCountryOfOrigin2Second country or region of origin.String
PdsCountryOfOrigin2
NoLogisticsAddressCountryRegion.CountryRegionIdNone
PdsCWPreviousReceiveNowPrevious catch weight quantity.Real
PdsCWInventQty
NoNone
PdsCWReceiveNowCatch weight quantity to update.Real
PdsCWInventQty
NoNone
PdsCWRemainAfterInventCatch weight remainder to deliver after the update.Real
PdsCWInventQty
NoNone
PdsCWRemainBeforeInventCatch weight quantity remaining before the update.Real
PdsCWInventQty
NoNone
PdsUseVendBatchDateYes/no flag to use the vendor batch date as the manufacturing date.Enum
PdsUseVendBatchDate
NoYes (enum)
NoNone
PdsUseVendBatchExpYes/no flag to use the vendor expiry date as the expiration date.Enum
PdsUseVendBatchExp
NoYes (enum)
NoNone
PdsVendBatchDateBatch date given by the vendor.Date
PdsVendBatchDate
NoNone
PdsVendBatchIdBatch number given by the vendor.String (20)
PdsVendBatchId
NoNone
PdsVendExpiryDateExpiry date given by the vendor.Date
PdsVendExpiryDate
NoNone
PostingProfile_RUVendor posting profile, used for Russia.String
VendPostingProfile
NoVendLedger.PostingProfileNone
PreviousDeviationQtyPrevious deviation quantity.Real
PurchDeviationQty_RU
NoNone
PreviousInventNowPrevious quantity in the inventory unit.Real
InventQty
NoNone
PreviousReceiveNowPrevious quantity in the purchase unit.Real
PurchQty
NoNone
PriceUnitNumber of units that the price applies to.Real
PriceUnit
NoNone
ProcurementCategorySystem record ID of the procurement category.Int64
PurchCategory
NoEcoResCategory.RecIdNone
ProjSubContractLineNumberSubcontract line number linked to a project.String (20)
ProjSubcontractLine
NoNone
PurchLineRecIdSystem record ID of the purchase order line.Int64
PurchLineRefRecId
NoPurchLine.RecIdNone
PurchMarkupCharges added to the purchase.Real
PurchMarkup
NoNone
PurchPriceUnit price of the line.Real
PurchPrice
NoNone
ReasonTableRefSystem record ID of the reason reference.Int64
ReasonRefRecID
NoReasonTableRef.RecIdNone
ReceivedQty_INReceived quantity, used for India.Real
Qty
NoNone
ReceiveNowQuantity to update, in the purchase unit.Real
PurchQty
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RejectedQty_INRejected quantity, used for India.Real
Qty
NoNone
RemainAfterQuantity left to deliver after the update, in the purchase unit.Real
PurchQty
NoNone
RemainAfterInventQuantity left to deliver after the update, in the inventory unit.Real
InventQty
NoNone
RemainBeforeQuantity remaining before the update, in the purchase unit.Real
PurchQty
NoNone
RemainBeforeInventQuantity remaining before the update, in the inventory unit.Real
InventQty
NoNone
RemainBeforeInventPhysicalOriginal quantity left to deliver, in the inventory unit.Real
TradeRemainBeforeInventPhysical
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
Tax1099AmountAmount reported for 1099.Real
Tax1099Amount
NoNone
Tax1099FieldsSystem record ID of the 1099 box code.Int64
Tax1099FieldsRecId
NoTax1099Fields.RecIdNone
Tax1099StateState used for 1099 reporting.String
Tax1099State
NoNone
Tax1099StateAmountState amount reported for 1099.Real
Tax1099StateAmount
NoNone
TaxGroupSales tax group of the line.String
TaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxItemGroupItem sales tax group of the line.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
TaxServiceCode_BRService code, used for Brazil.String
TaxServiceCodeId_BR
NoNone

Indexes (5)

Relations (21)

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

  • CFOPTable_BR → CFOPTable_BR

    Join on CFOPTable_BR = CFOPTable_BR.RecId

    Many PurchParmLine records → zero or one CFOPTable_BR record

  • Currency → Currency

    Join on currencyCode = Currency.CurrencyCode

    Many PurchParmLine records → zero or one Currency record

  • DeliveryPostalAddress → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many PurchParmLine records → zero or one LogisticsPostalAddress record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many PurchParmLine records → zero or one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many PurchParmLine records → zero or one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many PurchParmLine records → zero or one InventTransOrigin record

  • InvoiceVendor → VendTable

    Join on InvoiceAccount = VendTable.AccountNum

    Many PurchParmLine records → zero or one VendTable record

  • OrderVendor → VendTable

    Join on OrderAccount = VendTable.AccountNum

    Many PurchParmLine records → zero or one VendTable record

  • PdsCountryOfOrigin1 → LogisticsAddressCountryRegion

    Join on PdsCountryOfOrigin1 = LogisticsAddressCountryRegion.CountryRegionId

    Many PurchParmLine records → zero or one LogisticsAddressCountryRegion record

  • PdsCountryOfOrigin2 → LogisticsAddressCountryRegion

    Join on PdsCountryOfOrigin2 = LogisticsAddressCountryRegion.CountryRegionId

    Many PurchParmLine records → zero or one LogisticsAddressCountryRegion record

  • ProcurementCategory → EcoResCategory

    Join on ProcurementCategory = EcoResCategory.RecId

    Many PurchParmLine records → zero or one EcoResCategory record

  • PurchLine → PurchLine

    Join on PurchLineRecId = PurchLine.RecId

    Many PurchParmLine records → zero or one PurchLine record

  • PurchParmSubTable → PurchParmSubTable

    Join on ParmId = PurchParmSubTable.ParmId, TableRefId = PurchParmSubTable.TableRefId, OrigPurchId = PurchParmSubTable.OrigPurchId

    Many PurchParmLine records → exactly one PurchParmSubTable record

  • PurchParmTable → PurchParmTable

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

    Many PurchParmLine records → exactly one PurchParmTable record

  • PurchTable → PurchTable

    Join on OrigPurchId = PurchTable.PurchId

    Many PurchParmLine records → exactly one PurchTable record

  • ReasonTableRef → ReasonTableRef

    Join on ReasonTableRef = ReasonTableRef.RecId

    Many PurchParmLine records → zero or one ReasonTableRef record

  • Tax1099Fields → Tax1099Fields

    Join on Tax1099Fields = Tax1099Fields.RecId

    Many PurchParmLine records → zero or one Tax1099Fields record

  • Tax1099State → LogisticsAddressState

    Join on Tax1099State = LogisticsAddressState.StateId

    Many PurchParmLine records → zero or one LogisticsAddressState record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many PurchParmLine records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many PurchParmLine records → zero or one TaxItemGroupHeading record

  • VendLedger → VendLedger

    Join on PostingProfile_RU = VendLedger.PostingProfile

    Many PurchParmLine records → exactly one VendLedger record

Get this data out

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

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

Email sales@drdynamics.co.uk