BOMCalcCost_Commodity Class [AX 2012]
The BomCalcCost_Commodity class provides commodity pricing for a requested item.
Syntax
class BOMCalcCost_Commodity extends BOMCalcCost
Run On
Called
Methods
Method | Description | |
---|---|---|
addToStdCostBreakdown | (Inherited from BOMCalcCost.) | |
calc | (Inherited from BOMCalcCost.) | |
calcAlternativeCostModel | (Inherited from BOMCalcCost.) | |
calcCostModel | Retrieves the commodity price as the cost. (Overrides the calcCostModel Method.) | |
calcPrimaryCostModel | (Inherited from BOMCalcCost.) | |
calcSalesModel | (Inherited from BOMCalcCost.) | |
calcSalesPrice | (Inherited from BOMCalcCost.) | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
cleanUpCostPrice | Clears the cost price calculation. (Inherited from BOMCalcCost.) | |
cleanUpSalesPrice | (Inherited from BOMCalcCost.) | |
convertPrices | (Inherited from BOMCalcCost.) | |
costAmount | (Inherited from BOMCalcCost.) | |
costFound | (Inherited from BOMCalcCost.) | |
costMarkup | (Inherited from BOMCalcCost.) | |
costMarkupSecCur_RU | (Inherited from BOMCalcCost.) | |
costPrice | (Inherited from BOMCalcCost.) | |
costPriceDate | (Inherited from BOMCalcCost.) | |
costPriceFallBackVersion | (Inherited from BOMCalcCost.) | |
costPriceSecCur_RU | (Inherited from BOMCalcCost.) | |
costPriceUnit | (Inherited from BOMCalcCost.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
findInventItemPrice | (Inherited from BOMCalcCost.) | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
initCalc | (Inherited from BOMCalcCost.) | |
initValue | Ensures that the PdsPricingRun property has been set. (Overrides the initValue Method.) | |
inventDim | Gets the current InventDim record. | |
new | Creates a new instance the BOMCalcCost_Commodity class. (Overrides the new Method.) | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
parmCostPriceModel | Gets or sets the CostPriceModel parameter. (Inherited from BOMCalcCost.) | |
parmInventDimId | Gets or sets the InventDimId parameter. (Inherited from BOMCalcCost.) | |
parmItemId | Gets or sets the ItemId parameter. (Inherited from BOMCalcCost.) | |
parmPdsComdPricingRun | Gets or sets the PdsPricingRun property. | |
parmPmfRMCostAllocationPct | Gets or sets the PmfRMCostAllocationPct parameter. (Inherited from BOMCalcCost.) | |
parmPriceCalcIdOfPriceUsed | Gets the identifier for the price used for calculating the cost price. (Inherited from BOMCalcCost.) | |
parmPriceVersionId | Gets or sets the PriceVersionId parameter. (Inherited from BOMCalcCost.) | |
parmProfitSet | Gets or sets the ProfitSet parameter. (Inherited from BOMCalcCost.) | |
parmResourceConsumption | Gets or sets the ResourceConsumption parameter. (Inherited from BOMCalcCost.) | |
salesAmount | (Inherited from BOMCalcCost.) | |
salesMarkup | (Inherited from BOMCalcCost.) | |
salesPrice | (Inherited from BOMCalcCost.) | |
salesPriceFallBackVersion | (Inherited from BOMCalcCost.) | |
salesPriceUnit | (Inherited from BOMCalcCost.) | |
setBurden | Sets the burden related options. (Inherited from BOMCalcCost.) | |
setFallBackVersion | Registers the costing version that was used as fallback. (Inherited from BOMCalcCost.) | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
stdCostBreakdown | (Inherited from BOMCalcCost.) | |
stdCostBreakdownAmount | (Inherited from BOMCalcCost.) | |
stdCostBreakdownCalcRollup | (Inherited from BOMCalcCost.) | |
stdCostBreakDownCalcRollupExt | (Inherited from BOMCalcCost.) | |
subBomWarningLink | (Inherited from BOMCalcCost.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
validate | (Inherited from BOMCalcCost.) | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::construct | Constructs a new instance of the BOMCalcCost_Commodity class. |
Top
Remarks
This class can be used instead of the base BOMCalcCost class in case you have to get commodity prices for an item instead of regular prices. If an item does not have commodity prices, the regular price will be given.
Inheritance Hierarchy
Object Class
BOMCalcCost Class
BOMCalcCost_Commodity Class