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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CurrencyCodeCurrency of the line, pointing to a currency record. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | None |
DiscountCash discount amount. | RealDiscAmount | No | None | |
DiscountPercentDiscount as a percentage. | RealDiscPct | No | None | |
DiscountPercentStatusChoice of whether the percentage replaces the existing trade agreement discount or applies in addition to it. | EnumPurchReqConsolidationDiscountStatus (enum) | No | None | |
DiscountStatusChoice of whether the discount amount replaces the existing trade agreement discount or applies in addition to it. | EnumPurchReqConsolidationDiscountStatus (enum) | No | None | |
NewLineAmountNet amount of the line. | RealPurchLineAmount | No | None | |
NewPurchAgreementSystem record ID of the agreement line. | Int64RefRecId | No | AgreementLine.RecId | None |
NewPurchPriceUnit price for the consolidated line. | RealPurchReqPrice | No | None | |
NewPurchQtyQuantity for the consolidated line. | RealInventQty | No | None | |
NewRequestedDateRequested date for the consolidated line. | DatePurchReqRequiredDate | No | None | |
NewVendorVendor account number, pointing to the vendor record. | String (20)VendAccount | No | VendTable.AccountNum | None |
NewVendorDataAreaIdCompany of the vendor record. | StringDataAreaId | No | VendTable.dataAreaId | None |
NewVendorQuoteNumberVendor quotation number for the consolidation. | String (20)VendQuoteNumber | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurchReqConsolidationIdSystem record ID of the consolidation header. | Int64PurchReqConsolidationRefId | No | PurchReqConsolidation.RecId | None |
PurchReqLineIDSystem record ID of the purchase requisition line. | Int64PurchReqConsolidationReqLineId | No | PurchReqLine.RecId | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
FK_PurchReqConsolidationTableNot unique.
FK_PurchReqLineNot unique.
Relations (5)
Each relation joins PurchReqConsolidationLine to another table on the fields shown.
CurrencyCode→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeOne or more PurchReqConsolidationLine records → exactly one Currency record
NewVendor→VendTableJoin on
NewVendorDataAreaId = VendTable.dataAreaId,NewVendor = VendTable.AccountNumMany PurchReqConsolidationLine records → zero or one VendTable record
PurchaseAgreement→AgreementLineJoin on
NewPurchAgreement = AgreementLine.RecIdMany PurchReqConsolidationLine records → zero or one AgreementLine record
PurchReqAggregation→PurchReqConsolidationJoin on
PurchReqConsolidationId = PurchReqConsolidation.RecIdMany PurchReqConsolidationLine records → zero or one PurchReqConsolidation record
PurchReqLine→PurchReqLineJoin on
PurchReqLineID = PurchReqLine.RecIdMany 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.