PurchReqSourcingHoldByVendorRule::findByCategory Method
Finds the specified record in the PurchReqSourcingHoldByVendorRule table.
Syntax
client server public static PurchReqSourcingHoldByVendorRule findByCategory(
RefRecId _purchReqSourcingHoldRuleId,
PurchReqLineType _purchReqSourcingItemType,
RefRecId _procurementCategory,
[boolean _forUpdate])
Run On
Called
Parameters
- _purchReqSourcingHoldRuleId
Type: RefRecId Extended Data Type
The record ID in the PurchReqSourcingHoldRule table.
- _purchReqSourcingItemType
Type: PurchReqLineType Enumeration
An enumeration value that specifies the type of the item type for the purchase order creation.
- _procurementCategory
Type: RefRecId Extended Data Type
The record ID in the EcoResCategory table.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: PurchReqSourcingHoldByVendorRule Table
A record of the PurchReqSourcingHoldByVendorRule table if found; otherwise, an empty buffer.