Share via


PdsComdPricingRunLine::findForPricing Method

Finds a PdsPricingRunLine for pricing an item.

Syntax

client server public static PdsComdPricingRunLine findForPricing(
    PdsComdPricingRunId _run, 
    ItemId _item, 
   [InventSiteId _site, 
    InventLocationId _warehouse, 
    InventSiteId _newSite])

Run On

Called

Parameters

Return Value

Type: PdsComdPricingRunLine Table
The PdsPricingRunLine specified by the parameters; otherwise, an empty record.

Remarks

This method finds the line that matches the parameter values, including warehouse. If none is found and the InventLocationId value (warehouse) is not blank, then it finds a line that matches the run and item ID with a blank warehouse.

See Also

Reference

PdsComdPricingRunLine Table