Share via


RetailVendorSalesPriceMarginSetup::findInheritedSetup Method

Finds the specified record in the RetailVendorSalesPriceMarginSetup table.

Syntax

client server public static RetailVendorSalesPriceMarginSetup findInheritedSetup(
    VendAccount _vendAccount, 
    EcoResCategoryId _retailCategoryId, 
   [boolean _forUpdate])

Run On

Called

Parameters

  • _forUpdate
    Type: boolean
    A Boolean value that indicates whether to read the record for update; optional.

Return Value

Type: RetailVendorSalesPriceMarginSetup Table
A RetailVendorSalesPriceMarginSetup record if found; otherwise, an empty record.

Remarks

When we do not find a RetailVendorSalesPriceMarginSetup record for the specified product category we try to find a setup for the parent category.

See Also

Reference

RetailVendorSalesPriceMarginSetup Table