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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PurchReqSourcingHoldByCategoryRulePoints to the category hold rule this vendor entry belongs to. | Int64RefRecId | No | PurchReqSourcingHoldByCategoryRule.RecId | None |
VendDataAreaIdCompany that the vendor account belongs to. | StringDataAreaId | No | VendTable.dataAreaId | None |
VendAccountNumAccount number of the vendor in the vendor table. | String (20)VendAccount | Yes | VendTable.AccountNum | None |
BuyingLegalEntityPoints to the legal entity that does the buying. | Int64RefRecId | Yes | CompanyInfo.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | 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 |
Indexes (1)
VendTableIdxReplacement keyPurchReqSourcingHoldByCategoryRule,VendDataAreaId,VendAccountNumUnique, alternate key.
Relations (3)
Each relation joins PurchReqSourcingHoldByVendorRule to another table on the fields shown.
CompanyInfo→CompanyInfoJoin on
BuyingLegalEntity = CompanyInfo.RecIdMany PurchReqSourcingHoldByVendorRule records → exactly one CompanyInfo record
PurchReqSourcingHoldByCategoryRule→PurchReqSourcingHoldByCategoryRuleJoin on
PurchReqSourcingHoldByCategoryRule = PurchReqSourcingHoldByCategoryRule.RecIdMany PurchReqSourcingHoldByVendorRule records → zero or one PurchReqSourcingHoldByCategoryRule record
VendTable→VendTableJoin on
VendDataAreaId = VendTable.dataAreaId,VendAccountNum = VendTable.AccountNumMany 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.