Table

PurchReqSourcingHoldByVendorRule

Purchase requisition to purchase order hold rule

Holds a vendor entry under a category hold rule for turning purchase requisitions into purchase orders. It names a vendor account and company, and can name a buying legal entity.

Table name
PurchReqSourcingHoldByVendorRule
Module
Procurement and sourcing
Table group
Main
Table type
Regular
Data per company
No
Configuration key
PurchReq
Primary index
None
Replacement key
VendTableIdx
Key fields
PurchReqSourcingHoldByCategoryRule, VendDataAreaId, VendAccountNum
Model
Foundation

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchReqSourcingHoldByCategoryRulePoints to the category hold rule this vendor entry belongs to.Int64
RefRecId
NoPurchReqSourcingHoldByCategoryRule.RecIdNone
VendDataAreaIdCompany that the vendor account belongs to.String
DataAreaId
NoVendTable.dataAreaIdNone
VendAccountNumAccount number of the vendor in the vendor table.String (20)
VendAccount
YesVendTable.AccountNumNone
BuyingLegalEntityPoints to the legal entity that does the buying.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
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

Indexes (1)

Relations (3)

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

  • CompanyInfo → CompanyInfo

    Join on BuyingLegalEntity = CompanyInfo.RecId

    Many PurchReqSourcingHoldByVendorRule records → exactly one CompanyInfo record

  • PurchReqSourcingHoldByCategoryRule → PurchReqSourcingHoldByCategoryRule

    Join on PurchReqSourcingHoldByCategoryRule = PurchReqSourcingHoldByCategoryRule.RecId

    Many PurchReqSourcingHoldByVendorRule records → zero or one PurchReqSourcingHoldByCategoryRule record

  • VendTable → VendTable

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

    Many PurchReqSourcingHoldByVendorRule records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk