Share via


InventItemPriceSim.initFromCostingVersion Method

Copies the restrictions from a costing version to the price.

Syntax

public void initFromCostingVersion(
    CostingVersion _costingVersion, 
   [InventSiteId _siteId, 
    CostingVersionId _costingVersionId, 
    CostingVersionFromDate _fromDate])

Run On

Called

Parameters

  • _costingVersion
    Type: CostingVersion Table
    The costing version from which to apply the restrictions.
  • _siteId
    Type: InventSiteId Extended Data Type
    The ID of the new site, if it needs to be changed. If there is a site specified in the costing version, that will overrule this value; optional.

See Also

Reference

InventItemPriceSim Table