VendProcurementCategoryStatus::findOrCreateVendorCategoryStatus Method
Finds the valid specified record as of the specified date in the VendProcurementCategoryStatus table.
Syntax
client server public static VendProcurementCategoryStatus findOrCreateVendorCategoryStatus(
RecId _vendorCategory,
VendCategoryStatus _vendorCategoryStatus,
[boolean _addVendortoChildren])
Run On
Called
Parameters
- _vendorCategory
Type: RecId Extended Data Type
The record ID of the VendCategory record to find.
- _vendorCategoryStatus
Type: VendCategoryStatus Enumeration
The vendor category status value, which can be preferred or standard.
- _addVendortoChildren
Type: boolean
A Boolean value that indicates whether the specified vendor will be added to all the descendants.
Return Value
Type: VendProcurementCategoryStatus Table
A record in the VendProcurementCategoryStatus table if found; otherwise, an empty buffer.