RetailVendorSalesPricePointSetup::findInheritedSetup Method [AX 2012]

Finds the specified record in the RetailVendorSalesPricePointSetup table.

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

Run On



Type: VendAccount Extended Data Type
A vendor account number.
Type: EcoResCategoryId Extended Data Type
The retail product category ID.
Type: SalesPrice Extended Data Type
The retail suggested sales price.
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.

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