Table

PurchReqConsolidationHoldByVendorRule

Purchase requisition to purchase order consolidation rule

Part of a rule that sets conditions for consolidating purchase requisitions into purchase orders. Each row ties a vendor and a buying legal entity to a category rule row. It has no key in the metadata.

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

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BuyingLegalEntitySystem record ID of the buying legal entity.Int64
RefRecId
YesCompanyInfo.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchReqConsolidationHoldByCategoryRuleSystem record ID of the related category rule row.Int64
RefRecId
NoPurchReqConsolidationHoldByCategoryRule.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
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
VendAccountNumVendor account number, pointing to the vendor record.String (20)
VendAccount
YesVendTable.AccountNumNone
VendDataAreaIdCompany of the vendor record.String
DataAreaId
NoVendTable.dataAreaIdNone

Indexes (2)

Relations (3)

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

  • CompanyInfo → CompanyInfo

    Join on BuyingLegalEntity = CompanyInfo.RecId

    Many PurchReqConsolidationHoldByVendorRule records → exactly one CompanyInfo record

  • PurchReqConsolidationHoldByCategpryRule → PurchReqConsolidationHoldByCategoryRule

    Join on PurchReqConsolidationHoldByCategoryRule = PurchReqConsolidationHoldByCategoryRule.RecId

    Many PurchReqConsolidationHoldByVendorRule records → zero or one PurchReqConsolidationHoldByCategoryRule record

  • VendTable → VendTable

    Join on VendDataAreaId = VendTable.dataAreaId, VendAccountNum = VendTable.AccountNum

    Many PurchReqConsolidationHoldByVendorRule records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk