Table

PurchReqConsolidationLine

Purchase requisition consolidation line

Line of a purchase requisition consolidation. Each row links a requisition line to a consolidation and holds the new vendor, price, quantity, discount and requested date. It can also link to a trade agreement line. It has no key in the metadata.

Table name
PurchReqConsolidationLine
Module
Procurement and sourcing
Table group
WorksheetLine
Table type
Regular
Data per company
No
Configuration key
PurchReqConsolidation
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CurrencyCodeCurrency of the line, pointing to a currency record.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
DiscountCash discount amount.Real
DiscAmount
NoNone
DiscountPercentDiscount as a percentage.Real
DiscPct
NoNone
DiscountPercentStatusChoice of whether the percentage replaces the existing trade agreement discount or applies in addition to it.Enum
PurchReqConsolidationDiscountStatus (enum)
NoNone
DiscountStatusChoice of whether the discount amount replaces the existing trade agreement discount or applies in addition to it.Enum
PurchReqConsolidationDiscountStatus (enum)
NoNone
NewLineAmountNet amount of the line.Real
PurchLineAmount
NoNone
NewPurchAgreementSystem record ID of the agreement line.Int64
RefRecId
NoAgreementLine.RecIdNone
NewPurchPriceUnit price for the consolidated line.Real
PurchReqPrice
NoNone
NewPurchQtyQuantity for the consolidated line.Real
InventQty
NoNone
NewRequestedDateRequested date for the consolidated line.Date
PurchReqRequiredDate
NoNone
NewVendorVendor account number, pointing to the vendor record.String (20)
VendAccount
NoVendTable.AccountNumNone
NewVendorDataAreaIdCompany of the vendor record.String
DataAreaId
NoVendTable.dataAreaIdNone
NewVendorQuoteNumberVendor quotation number for the consolidation.String (20)
VendQuoteNumber
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchReqConsolidationIdSystem record ID of the consolidation header.Int64
PurchReqConsolidationRefId
NoPurchReqConsolidation.RecIdNone
PurchReqLineIDSystem record ID of the purchase requisition line.Int64
PurchReqConsolidationReqLineId
NoPurchReqLine.RecIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (5)

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

  • CurrencyCode → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    One or more PurchReqConsolidationLine records → exactly one Currency record

  • NewVendor → VendTable

    Join on NewVendorDataAreaId = VendTable.dataAreaId, NewVendor = VendTable.AccountNum

    Many PurchReqConsolidationLine records → zero or one VendTable record

  • PurchaseAgreement → AgreementLine

    Join on NewPurchAgreement = AgreementLine.RecId

    Many PurchReqConsolidationLine records → zero or one AgreementLine record

  • PurchReqAggregation → PurchReqConsolidation

    Join on PurchReqConsolidationId = PurchReqConsolidation.RecId

    Many PurchReqConsolidationLine records → zero or one PurchReqConsolidation record

  • PurchReqLine → PurchReqLine

    Join on PurchReqLineID = PurchReqLine.RecId

    Many PurchReqConsolidationLine records → zero or one PurchReqLine record

Get this data out

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

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

Email sales@drdynamics.co.uk