CatDisplayCategoryTable::findCategoryForVendorOnSite Method
Finds any active display category with which the specified vendor is associated.
Syntax
client server public static RefRecId findCategoryForVendorOnSite(
DataAreaId _vendorDataAreaId,
VendAccount _vendorAccountNum,
RefRecId _displayCategoryRecId)
Run On
Called
Parameters
- _vendorDataAreaId
Type: DataAreaId Extended Data Type
The data area of the vendor for which to find the display category.
- _vendorAccountNum
Type: VendAccount Extended Data Type
The account number of the vendor for which to find the display category.
- _displayCategoryRecId
Type: RefRecId Extended Data Type
The record ID of any display category which points to the catalog record under which to look for a display category that is associated with the specified vendor.
Return Value
Type: RefRecId Extended Data Type
The record ID of the first display category that is both under the catalog to which the given display category points and is associated with the specified vendor.