ProdStatusType.runHistoricalCost Method [AX 2012]

Using the historical cost parameters, completes a production order.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          public boolean runHistoricalCost(
            ProdParmHistoricalCost _prodParmHistoricalCost, 
           [boolean _ask, 
            RunbaseRecsMapable _multi, 
            boolean _runningPreviousJob])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public boolean runHistoricalCost(
            ProdParmHistoricalCost _prodParmHistoricalCost, 
           [boolean _ask, 
            RunbaseRecsMapable _multi])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public boolean runHistoricalCost(
            ProdParmHistoricalCost _prodParmHistoricalCost, 
           [boolean _ask, 
            RunbaseRecsMapable _multi])

  Microsoft Dynamics AX 2012 (FPK)
          public boolean runHistoricalCost(
            ProdParmHistoricalCost _prodParmHistoricalCost, 
           [boolean _ask, 
            RunbaseRecsMapable _multi])

  Microsoft Dynamics AX 2012 (SYS)
          public boolean runHistoricalCost(
            ProdParmHistoricalCost _prodParmHistoricalCost, 
           [boolean _ask, 
            RunbaseRecsMapable _multi])

Run On

Called

Parameters

_prodParmHistoricalCost
Type: ProdParmHistoricalCost Table
The production historical cost parameters that are used to complete a production order.
_ask
Type: boolean
A value of TRUE indicates that method will only check whether completion is allowed. A value of FALSE indicates that the method will also perform the completion.; optional
_multi
Type: RunbaseRecsMapable Interface
A parameter that is used to complete the multiple production orders at the same time; optional.
_runningPreviousJob
Type: boolean
Indicates if this method has been triggered by a change to a higher status: optional.

Return Value

Type: boolean
true if completion is allowed for a production order status; otherwise, false.

Community Additions

ADD
Show: