ProdUpdHistoricalCost Class [AX 2012]

The ProdUpdHistoricalCost class is used for ending the production order.

class ProdUpdHistoricalCost extends ProdUpd

Run On

Server

  MethodDescription
Gg862202.pubmethod(en-us,AX.60).gif addCreatedRec (Inherited from UpdateBase.)
Gg862202.pubmethod(en-us,AX.60).gif addDeletedRec (Inherited from UpdateBase.)
Gg862202.pubmethod(en-us,AX.60).gif addUpdateRec (Inherited from UpdateBase.)
Gg862202.protmethod(en-us,AX.60).gif allocationPercentMainItem
Gg862202.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg862202.pubmethod(en-us,AX.60).gif createdRecs (Inherited from UpdateBase.)
Gg862202.pubmethod(en-us,AX.60).gif deletedRecs (Inherited from UpdateBase.)
Gg862202.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg862202.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg862202.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg862202.pubmethod(en-us,AX.60).gif initProdTable Initializes the prodTable variable with a value from the parameter table. (Inherited from ProdUpd.)
Gg862202.pubmethod(en-us,AX.60).gif initProdTableJour
Gg862202.pubmethod(en-us,AX.60).gif mergeCreatedRecs (Inherited from UpdateBase.)
Gg862202.pubmethod(en-us,AX.60).gif mergeDeletedRecs (Inherited from UpdateBase.)
Gg862202.pubmethod(en-us,AX.60).gif mergeRecs (Inherited from UpdateBase.)
Gg862202.pubmethod(en-us,AX.60).gif mergeUpdateRecs (Inherited from UpdateBase.)
Gg862202.pubmethod(en-us,AX.60).gif new Initializes a new instance of the ProdUpdHistoricalCost class. (Overrides the new Method.)
Gg862202.pubmethod(en-us,AX.60).gif newLedgerVoucher
Gg862202.pubmethod(en-us,AX.60).gif newLedgerVoucherObject
Gg862202.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.)
Gg862202.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.)
Gg862202.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg862202.protmethod(en-us,AX.60).gif onUpdateProdCalculation Provides the possibility to perform additional actions when the production order was calculated.
Gg862202.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg862202.pubmethod(en-us,AX.60).gif packCreatedRecs (Inherited from UpdateBase.)
Gg862202.pubmethod(en-us,AX.60).gif parmParmBuffer Gets or sets the ParmBuffer parameter. (Overrides the parmParmBuffer Method.)
Gg862202.pubmethod(en-us,AX.60).gif postScrap
Gg862202.protmethod(en-us,AX.60).gif postUpdateProdJobType Performs actions after update.
Gg862202.pubmethod(en-us,AX.60).gif prodTable Returns the value of the prodTable variable, specifying which production order will be updated. (Inherited from ProdUpd.)
Gg862202.privmethod(en-us,AX.60).gif projEnd
Gg862202.pubmethod(en-us,AX.60).gif resetCalcValues
Gg862202.pubmethod(en-us,AX.60).gif run Starts the end of production order. (Overrides the run Method.)
Gg862202.pubmethod(en-us,AX.60).gif setParameters
Gg862202.protmethod(en-us,AX.60).gif setProdStandardVarianceList Creates an instance of the inventCostTransVarianceList class that will be passed to the inventory movement of the production order financial update.
Gg862202.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg862202.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg862202.pubmethod(en-us,AX.60).gif updateBOMConsumption Makes the cost accounting for BOM component.
Gg862202.pubmethod(en-us,AX.60).gif updateBOMUnderconsumption Creates inventory transactions when parent production orders underconsume their subproduction items.
Gg862202.pubmethod(en-us,AX.60).gif updateCalcBOM Updates the cost calculation for a BOM.
Gg862202.pubmethod(en-us,AX.60).gif updateCalcProduction Calculates total achieved cost amount for a production order.
Gg862202.pubmethod(en-us,AX.60).gif updateCalcRefProduction
Gg862202.pubmethod(en-us,AX.60).gif updatedRecs (Inherited from UpdateBase.)
Gg862202.pubmethod(en-us,AX.60).gif updateIndirectCost Updates the indirect cost records, reverts the indirect WIP and posts the realized amounts to the absorption accounts.
Gg862202.pubmethod(en-us,AX.60).gif updateJobJournal (Inherited from UpdateBase.)
Gg862202.pubmethod(en-us,AX.60).gif updateProduction Makes the cost accounting for a production order.
Gg862202.privmethod(en-us,AX.60).gif updateProjBOMConsumption
Gg862202.privmethod(en-us,AX.60).gif updateProjProduction
Gg862202.privmethod(en-us,AX.60).gif updateProjProductionSplit
Gg862202.pubmethod(en-us,AX.60).gif updateRelease_RU
Gg862202.pubmethod(en-us,AX.60).gif updateRouteConsumption Runs the cost accounting for operations from production route.
Gg862202.pubmethod(en-us,AX.60).gif updateWIPProduction_RU
Gg862202.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.)
Gg862202.pubmethod(en-us,AX.60).gif validate (Overrides the validate Method.)
Gg862202.pubmethod(en-us,AX.60).gif validateSFC
Gg862202.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg862202.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg862202.pubmethod(en-us,AX.60).gif Gg862202.static(en-us,AX.60).gif ::checkNoProdEndBeforeConsumption Checks that the financial update of the production order does not occur before any physical updates of the inventory or route transactions related to the production order.
Gg862202.pubmethod(en-us,AX.60).gif Gg862202.static(en-us,AX.60).gif ::construct Initializes a new instance of the ProdUpdHistoricalCost class.
Gg862202.pubmethod(en-us,AX.60).gif Gg862202.static(en-us,AX.60).gif ::newParmBuffer Specifies parameters for the end of production.
Gg862202.pubmethod(en-us,AX.60).gif Gg862202.static(en-us,AX.60).gif ::runPreviousJob
Top

When production is ended, all transactions for the production will be financially updated, and then the obtained cost amount will be calculated. The production order should have a status of Report as Finished before it will be ended.

void endProduction(ProdParmHistoricalCost _prodParmHistoricalCost) 
{ 
    ProdUpdHistoricalCost prodUpdHistoricalCost =  
        ProdUpdHistoricalCost::newParmBuffer(_prodParmHistoricalCost); 
 
    prodUpdHistoricalCost.run(); 
}

Object Class
  UpdateBase Class
    ProdUpd Class
      ProdUpdHistoricalCost Class
        ProdUpdHistoricalCost_Process Class

Community Additions

ADD
Show: