RouteCostCategory.costPrice Method
Looks up the cost price for a specific inventory site ID.
Syntax
public CostPrice costPrice([InventSiteId _inventSiteId])
Run On
Called
Parameters
- _inventSiteId
Type: InventSiteId Extended Data Type
The inventory site ID for which the cost price should be looked up; optional.
Return Value
Type: CostPrice Extended Data Type
The cost price for a specific site.
Remarks
This method should be used to determine the cost price for a specific site. It will use the price specified in the RouteCostCategoryPrice for the specified site.If no RouteCostCategoryPrice record is found it will revert to the cost price in the RouteCostCategory.