RetailVendorSalesPricePointSetup::findInheritedSetup Method
Finds the specified record in the RetailVendorSalesPricePointSetup table.
Syntax
client server public static RetailVendorSalesPricePointSetup findInheritedSetup(
VendAccount _vendAccount,
EcoResCategoryId _retailCategoryId,
SalesPrice _suggestedRetailPrice,
[boolean _forUpdate])
Run On
Called
Parameters
- _vendAccount
Type: VendAccount Extended Data Type
A vendor account number.
- _retailCategoryId
Type: EcoResCategoryId Extended Data Type
The retail product category ID.
- _suggestedRetailPrice
Type: SalesPrice Extended Data Type
The retail suggested sales price.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: RetailVendorSalesPricePointSetup Table
A RetailVendorSalesPricePointSetup record; otherwise, an empty record.
Remarks
If we do not find a RetailVendorSalesPricePointSetup record for the specified product category we try to find a setup for the parent category.