PurchCalcItem Class [AX 2012]

The PurchCalcItem class is used to calculate the total purchase cost of an item.

This includes the base cost - purchase price or trade agreement price - as well as the purchase overheads set up in the system.

class PurchCalcItem extends BOMCalcItem

Run On

Called

  MethodDescription
Gg924115.pubmethod(en-us,AX.60).gif addListProdFlowResourcesUsage (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif addListProdFlowSubcontServicesUsage Registers the quantities of subcontracted service items that are used for producing the specified quantity of an item. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif addTotalItemConsumption (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif allowNonBOMFormula (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif bomCalcGroup Gets the calculation group settings. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif bufferCalcTrans (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif calc Calculates the purchase cost. (Overrides the calc Method.)
Gg924115.protmethod(en-us,AX.60).gif calcCostSheet Calculates the applied overheads. (Overrides the calcCostSheet Method.)
Gg924115.protmethod(en-us,AX.60).gif calcProdFlowResourcesUsage (Inherited from BOMCalcItem.)
Gg924115.protmethod(en-us,AX.60).gif calcProdFlowSubcontractedServicesUsage Calculates the cost of the used subcontracted service items. (Inherited from BOMCalcItem.)
Gg924115.protmethod(en-us,AX.60).gif calcProductionFlow Calculates the costs that are related to production flows. (Inherited from BOMCalcItem.)
Gg924115.protmethod(en-us,AX.60).gif calcRoute Calculates the cost for the route. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif calcTradeAgreements (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg924115.protmethod(en-us,AX.60).gif constructCostCalcTransData Constructs a new instance of the CostCalcTransData class for this item. (Inherited from BOMCalcItem.)
Gg924115.protmethod(en-us,AX.60).gif constructLeanCostingFacade (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg924115.protmethod(en-us,AX.60).gif getItemCalcType Returns the value of the ItemCalcType enumeration that corresponds to this object. (Overrides the getItemCalcType Method.)
Gg924115.pubmethod(en-us,AX.60).gif getLineNum (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg924115.pubmethod(en-us,AX.60).gif getTotalItemConsumption (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg924115.pubmethod(en-us,AX.60).gif hasTradeAgreements (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif incProgressTotals (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif init Initializes a new instance of the PurchCalcItem class. (Overrides the init Method.)
Gg924115.protmethod(en-us,AX.60).gif initBOMRoutePhantomData Initializes the BOMRoutePhantomExpand class for this calculation. (Inherited from BOMCalcItem.)
Gg924115.protmethod(en-us,AX.60).gif initListBOM Initializes the list of sublines. (Overrides the initListBOM Method.)
Gg924115.protmethod(en-us,AX.60).gif initListRoute Creates a list of route operations for the current production order. (Inherited from BOMCalcItem.)
Gg924115.protmethod(en-us,AX.60).gif initParameters (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif initProgressBar (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif initSeriesSize (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif insertBOMCalcTable Inserts an initialized BOMCalcTable record. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif insertBOMCalcTrans (Inherited from BOMCalcItem.)
Gg924115.protmethod(en-us,AX.60).gif key1 Retrieves the ItemId value. (Inherited from BOMCalcItem.)
Gg924115.protmethod(en-us,AX.60).gif key2 Retrieves the InventDimId value. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif new Initializes a new instance of the BOMCalcItem class. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg924115.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg924115.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg924115.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg924115.pubmethod(en-us,AX.60).gif parmActualConsumptionInventQty Gets or sets the ActualConsumptionInventQty parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmActualNetWeightConsumptionInventQty Gets or sets the ActualNetWeightConsumptionInventQty parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmBOM Gets or sets the BOM parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmBomCalcExplosionMode Gets or sets the BomCalcExplosionMode parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmBOMCalcFallBack Gets or sets the BOMCalcFallBack parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmBOMCalcTable Gets or sets the BOMCalcTable parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmBOMCalcTrans Gets or sets the BOMCalcTrans parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmBOMCalcType Gets or sets the BOMCalcType parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmBOMId Gets or sets the BOMId parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmBOMRouteVersionSelect Gets or sets the BOMRouteVersionSelect parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmCalcConsumptionInventQty Gets or sets the CalcConsumptionInventQty parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmCalcCostingVersionUpdate Gets or sets the CalcCostingVersionUpdate parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmCalcDate Gets or sets the CalcDate parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmCheckAgeCostPrice Gets or sets the CheckAgeCostPrice parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmCheckMinContribution Gets or sets the CheckMinContribution parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmCheckMissingUpdates Gets or sets the CheckMissingUpdates parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmCheckNoBOM Gets or sets the CheckNoBOM parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmCheckNoConsump Gets or sets the CheckNoConsump parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmCheckNoCostPrice Gets or sets the CheckNoCostPrice parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmCheckNoResource Gets or sets the CheckNoResource parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmCheckNoRoute Gets or sets the CheckNoRoute parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmCheckUseFallBack Gets or sets the CheckUseFallBack parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmCostCalcTransData Gets or sets the CostCalcTransData parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmCostingVersionId Gets or sets the CostingVersionId parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmCostPriceModel Gets or sets the CostPriceModel parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmCostPriceTransfer Gets or sets the CostPriceTransfer parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmExceptionType Gets or sets the ExceptionType parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmExistTradeAgreements Gets or sets the ExistTradeAgreements parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmFallBackVersionId Gets or sets the FallBackVersionId parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmInventDim Gets or sets the InventDim parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmInventDimId Gets or sets the InventDimId parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmInventTable Gets or sets the InventTable parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmInventUnitId Gets or sets the InventUnitId parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmItemId Gets or sets the ItemId parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmItemProcurementMode Gets or sets the ItemProcurementMode parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmLeanCostingFacade Gets or sets the LeanCostingFacade parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmLevel Gets or sets the Level parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmOverrideGroupWarnings Gets or sets the OverrideGroupWarnings parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmParentBOMCalc Gets or sets the ParentBOMCalc parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmPdsComdPricingRun Gets or sets the PdsComdPricingRun parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmPmfBomVersion Gets or sets the BOMVersion record that will be used for the calculation. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmPmfCostAllocationPct Gets or sets the PmfCostAllocationPct parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmPmfFormulaCoBy Gets or sets the PmfFormulaCoBy parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmPmfFormulaSeriesSize Gets or sets the PmfFormulaSeriesSize parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmPmfParentCalcId Gets or sets the PmfParentCalcId parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmPmfYieldPct Gets or sets the PmfYieldPct parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmPriceCalcId Gets or sets the PriceCalcId parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmProductionFlowReferenceRecId Gets or sets the ProductionFlowReferenceRecId parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmProfitSet Gets or sets the ProfitSet parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmProgressBar Gets or sets the ProgressBar parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmPurchPriceModel Gets or sets the PurchPriceModel parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmRouteId Gets or sets the RouteId parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmSalesPriceTransfer Gets or sets the SalesPriceTransfer parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmSeriesSize Gets or sets the SeriesSize parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmShowProgress Gets or sets the ShowProgress parameter. (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif parmSiteId Gets or sets the SiteId parameter. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif parmUseStandardQty Gets or sets the UseStandardQty parameter. (Inherited from BOMCalcBase.)
Gg924115.protmethod(en-us,AX.60).gif pmfCalcBurden Performs the burden calculation. (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif recalcBOM Recalculates the cost of the BOM tree. (Overrides the recalcBOM Method.)
Gg924115.pubmethod(en-us,AX.60).gif setExistTradeAgreements (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif setLineNum (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif setProgressTotals (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg924115.pubmethod(en-us,AX.60).gif showInfolog (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif topParentQty (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg924115.pubmethod(en-us,AX.60).gif updateActualPrices (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif updateBOMCalcTrans (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif updateCalcPrices (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif updateConsumption (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif updateCostCalcTransData (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif updateNumOfSeries (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif updateParent (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif updateProgress (Inherited from BOMCalcBase.)
Gg924115.pubmethod(en-us,AX.60).gif updateWarnings Updates the warnings that are generated by the calculation. (Overrides the updateWarnings Method.)
Gg924115.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg924115.pubmethod(en-us,AX.60).gif validate (Inherited from BOMCalcItem.)
Gg924115.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg924115.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg924115.pubmethod(en-us,AX.60).gif Gg924115.static(en-us,AX.60).gif ::construct Initializes a new instance of the PurchCalcItem class.
Gg924115.pubmethod(en-us,AX.60).gif Gg924115.static(en-us,AX.60).gif ::newBOM Creates and initializes an instance of the PurchCalcItem class by using a line in a bill of materials.
Gg924115.pubmethod(en-us,AX.60).gif Gg924115.static(en-us,AX.60).gif ::newItem Creates and initializes an instance of the PurchCalcItem class.
Top

It will always contain one PurchCalcItemLine object that has the same item ID, inventory dimensions, and quantity, that represents the base price of the item. The base price can come from either the costing version purchase price or trade agreements.

Object Class
  BOMCalcBase Class
    BOMCalcItem Class
      PurchCalcItem Class

Community Additions

ADD
Show: