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