Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds the specified record in the PurchReqSourcingHoldByVendorRule table.
Syntax
client server public static PurchReqSourcingHoldByVendorRule findByVendAccount(
RefRecId _purchReqSourcingHoldRuleId,
PurchReqLineType _purchReqSourcingItemType,
RefRecId _procurementCategory,
VendAccount _vendAccount,
DataAreaId _vendAccountDataAreaId,
[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 creation of a purchase order.
- _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.
- _vendAccountDataAreaId
Type: DataAreaId Extended Data Type
- _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.