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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ParmIdParameter ID that groups the update records. It links to the header update tables. | String (20)ParmId | Yes | PurchParmSubTable.ParmIdPurchParmTable.ParmId | None |
TableRefIdLine reference within the update. It links to the header update tables. | String (20)TradeLineRefId | Yes | PurchParmSubTable.TableRefIdPurchParmTable.TableRefId | None |
OrigPurchIdOriginal purchase order. | String (20)PurchIdOrig | Yes | PurchTable.PurchId | None |
PurchaseLineLineNumberLine number of the purchase line, stored as a whole number. | Int64TradeLineNumber | No | None | |
LineNumLine number. | RealLineNum | 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 | |
AcceptedQty_INAccepted quantity, used for India. | RealQty | No | None | |
AssessableValue_INAssessable value, used for India. | RealAmountCur | No | None | |
CFOPTable_BRSystem record ID of the CFOP code, used for Brazil. | Int64RefRecId | No | CFOPTable_BR.RecId | None |
changedManuallyYes/no flag showing that the quantity was changed by hand. | EnumNoYes (enum) | No | None | |
closedYes/no flag to close the line for receipt. | EnumNoYes (enum) | No | None | |
currencyCodeCurrency of the line. | String (3)VendCurrencyCode | No | Currency.CurrencyCode | None |
CustomsBillOfEntryNumberTable_INSystem record ID of a customs bill of entry number, used for India. | Int64RefRecId | No | None | |
CustomsImportInvoiceNumberTable_INSystem record ID of a customs import invoice number, used for India. | Int64RefRecId | No | None | |
CustomsInvoiceRegnRecId_INSystem record ID of a customs invoice registration, used for India. | Int64RefRecId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeliveryNameName of the delivery party. | String (100)LogisticsDeliveryName | No | None | |
DeliveryPostalAddressSystem record ID of the delivery postal address. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
DescriptionDescription of the line. | String (1000)InvoiceLineDescription | No | None | |
DeviationQty_RUDeviation quantity, used for Russia. | RealPurchDeviationQty_RU | No | None | |
DocumentOriginWhere the document came from, for example manual entry, service, portal or capture service. | EnumDocumentOrigin (enum) | No | None | |
InventDimIdInventory dimension number of the line. | String (20)InventDimId | No | InventDim.inventDimId | None |
InventNowQuantity to update, in the inventory unit. | RealInventQty | No | None | |
InventProfileType_RUKind of activity, such as commission agent or bailee, used for Russia. | EnumInventProfileType_RU (enum) | No | None | |
InventTransIdLot ID of the purchase order line. | String (20)TradeInventTransId | No | InventTransOrigin.InventTransId | None |
InvoiceAccountVendor account for invoicing. | String (20)VendInvoiceAccount | No | VendTable.AccountNum | None |
ItemIdItem number of the line. | String (20)ItemId | No | InventTable.ItemId | None |
LineAmountNet amount of the line. | RealAmountCur | No | None | |
LineDiscDiscount amount on the line. | RealPurchLineDisc | No | None | |
LinePercentDiscount percentage on the line. | RealPurchLinePercent | No | None | |
MaximumRetailPrice_INMaximum retail price, used for India. | RealMaximumRetailPrice_IN | No | None | |
MultiLnDiscMultiline discount amount. | RealPurchMultiLnDisc | No | None | |
MultiLnPercentMultiline discount percentage. | RealPurchMultiLnPercent | No | None | |
OrderAccountVendor account of the order. | String (20)VendAccount | No | VendTable.AccountNum | None |
OrderingDocument type being updated, for example confirmation, packing slip or invoice. | EnumDocumentStatus (enum) | No | None | |
PackedExtensionsContainer that stores extension data in packed form. | ContainerSysExtensionSerializerPackedContainer | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsCountryOfOrigin1First country or region of origin. | StringPdsCountryOfOrigin1 | No | LogisticsAddressCountryRegion.CountryRegionId | None |
PdsCountryOfOrigin2Second country or region of origin. | StringPdsCountryOfOrigin2 | No | LogisticsAddressCountryRegion.CountryRegionId | None |
PdsCWPreviousReceiveNowPrevious catch weight quantity. | RealPdsCWInventQty | No | None | |
PdsCWReceiveNowCatch weight quantity to update. | RealPdsCWInventQty | No | None | |
PdsCWRemainAfterInventCatch weight remainder to deliver after the update. | RealPdsCWInventQty | No | None | |
PdsCWRemainBeforeInventCatch weight quantity remaining before the update. | RealPdsCWInventQty | No | None | |
PdsUseVendBatchDateYes/no flag to use the vendor batch date as the manufacturing date. | EnumPdsUseVendBatchDateNoYes (enum) | No | None | |
PdsUseVendBatchExpYes/no flag to use the vendor expiry date as the expiration date. | EnumPdsUseVendBatchExpNoYes (enum) | No | None | |
PdsVendBatchDateBatch date given by the vendor. | DatePdsVendBatchDate | No | None | |
PdsVendBatchIdBatch number given by the vendor. | String (20)PdsVendBatchId | No | None | |
PdsVendExpiryDateExpiry date given by the vendor. | DatePdsVendExpiryDate | No | None | |
PostingProfile_RUVendor posting profile, used for Russia. | StringVendPostingProfile | No | VendLedger.PostingProfile | None |
PreviousDeviationQtyPrevious deviation quantity. | RealPurchDeviationQty_RU | No | None | |
PreviousInventNowPrevious quantity in the inventory unit. | RealInventQty | No | None | |
PreviousReceiveNowPrevious quantity in the purchase unit. | RealPurchQty | No | None | |
PriceUnitNumber of units that the price applies to. | RealPriceUnit | No | None | |
ProcurementCategorySystem record ID of the procurement category. | Int64PurchCategory | No | EcoResCategory.RecId | None |
ProjSubContractLineNumberSubcontract line number linked to a project. | String (20)ProjSubcontractLine | No | None | |
PurchLineRecIdSystem record ID of the purchase order line. | Int64PurchLineRefRecId | No | PurchLine.RecId | None |
PurchMarkupCharges added to the purchase. | RealPurchMarkup | No | None | |
PurchPriceUnit price of the line. | RealPurchPrice | No | None | |
ReasonTableRefSystem record ID of the reason reference. | Int64ReasonRefRecID | No | ReasonTableRef.RecId | None |
ReceivedQty_INReceived quantity, used for India. | RealQty | No | None | |
ReceiveNowQuantity to update, in the purchase unit. | RealPurchQty | 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 | |
RejectedQty_INRejected quantity, used for India. | RealQty | No | None | |
RemainAfterQuantity left to deliver after the update, in the purchase unit. | RealPurchQty | No | None | |
RemainAfterInventQuantity left to deliver after the update, in the inventory unit. | RealInventQty | No | None | |
RemainBeforeQuantity remaining before the update, in the purchase unit. | RealPurchQty | No | None | |
RemainBeforeInventQuantity remaining before the update, in the inventory unit. | RealInventQty | No | None | |
RemainBeforeInventPhysicalOriginal quantity left to deliver, in the inventory unit. | RealTradeRemainBeforeInventPhysical | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
Tax1099AmountAmount reported for 1099. | RealTax1099Amount | No | None | |
Tax1099FieldsSystem record ID of the 1099 box code. | Int64Tax1099FieldsRecId | No | Tax1099Fields.RecId | None |
Tax1099StateState used for 1099 reporting. | StringTax1099State | No | None | |
Tax1099StateAmountState amount reported for 1099. | RealTax1099StateAmount | No | None | |
TaxGroupSales tax group of the line. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | None |
TaxItemGroupItem sales tax group of the line. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | None |
TaxServiceCode_BRService code, used for Brazil. | StringTaxServiceCodeId_BR | No | None |
Indexes (5)
parmIdOrigPurchIdxParmId,OrigPurchId,InventTransIdNot unique.
ParmTableRefIdxPrimary indexParmId,TableRefId,OrigPurchId,PurchaseLineLineNumber,LineNum,RecIdUnique.
InventTransIdxNot unique.
Tax1099FieldsIdxNot unique.
CFOPTable_BRIdxNot unique.
Relations (21)
Each relation joins PurchParmLine to another table on the fields shown.
CFOPTable_BR→CFOPTable_BRJoin on
CFOPTable_BR = CFOPTable_BR.RecIdMany PurchParmLine records → zero or one CFOPTable_BR record
Currency→CurrencyJoin on
currencyCode = Currency.CurrencyCodeMany PurchParmLine records → zero or one Currency record
DeliveryPostalAddress→LogisticsPostalAddressJoin on
DeliveryPostalAddress = LogisticsPostalAddress.RecIdMany PurchParmLine records → zero or one LogisticsPostalAddress record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany PurchParmLine records → zero or one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany PurchParmLine records → zero or one InventTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany PurchParmLine records → zero or one InventTransOrigin record
InvoiceVendor→VendTableJoin on
InvoiceAccount = VendTable.AccountNumMany PurchParmLine records → zero or one VendTable record
OrderVendor→VendTableJoin on
OrderAccount = VendTable.AccountNumMany PurchParmLine records → zero or one VendTable record
PdsCountryOfOrigin1→LogisticsAddressCountryRegionJoin on
PdsCountryOfOrigin1 = LogisticsAddressCountryRegion.CountryRegionIdMany PurchParmLine records → zero or one LogisticsAddressCountryRegion record
PdsCountryOfOrigin2→LogisticsAddressCountryRegionJoin on
PdsCountryOfOrigin2 = LogisticsAddressCountryRegion.CountryRegionIdMany PurchParmLine records → zero or one LogisticsAddressCountryRegion record
ProcurementCategory→EcoResCategoryJoin on
ProcurementCategory = EcoResCategory.RecIdMany PurchParmLine records → zero or one EcoResCategory record
PurchLine→PurchLineJoin on
PurchLineRecId = PurchLine.RecIdMany PurchParmLine records → zero or one PurchLine record
PurchParmSubTable→PurchParmSubTableJoin on
ParmId = PurchParmSubTable.ParmId,TableRefId = PurchParmSubTable.TableRefId,OrigPurchId = PurchParmSubTable.OrigPurchIdMany PurchParmLine records → exactly one PurchParmSubTable record
PurchParmTable→PurchParmTableJoin on
ParmId = PurchParmTable.ParmId,TableRefId = PurchParmTable.TableRefIdMany PurchParmLine records → exactly one PurchParmTable record
PurchTable→PurchTableJoin on
OrigPurchId = PurchTable.PurchIdMany PurchParmLine records → exactly one PurchTable record
ReasonTableRef→ReasonTableRefJoin on
ReasonTableRef = ReasonTableRef.RecIdMany PurchParmLine records → zero or one ReasonTableRef record
Tax1099Fields→Tax1099FieldsJoin on
Tax1099Fields = Tax1099Fields.RecIdMany PurchParmLine records → zero or one Tax1099Fields record
Tax1099State→LogisticsAddressStateJoin on
Tax1099State = LogisticsAddressState.StateIdMany PurchParmLine records → zero or one LogisticsAddressState record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany PurchParmLine records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany PurchParmLine records → zero or one TaxItemGroupHeading record
VendLedger→VendLedgerJoin on
PostingProfile_RU = VendLedger.PostingProfileMany 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.