ProdStatusType.runCostEstimation Method [AX 2012]

Performs a cost estimation of 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 runCostEstimation(
            ProdParmCostEstimation _prodParmCostEstimation, 
           [boolean _ask, 
            ProdPurch _prodPurch, 
            RunbaseRecsMapable _multi, 
            boolean _runningPreviousJob])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public boolean runCostEstimation(
            ProdParmCostEstimation _prodParmCostEstimation, 
           [boolean _ask, 
            ProdPurch _prodPurch, 
            RunbaseRecsMapable _multi])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public boolean runCostEstimation(
            ProdParmCostEstimation _prodParmCostEstimation, 
           [boolean _ask, 
            ProdPurch _prodPurch, 
            RunbaseRecsMapable _multi])

  Microsoft Dynamics AX 2012 (FPK)
          public boolean runCostEstimation(
            ProdParmCostEstimation _prodParmCostEstimation, 
           [boolean _ask, 
            ProdPurch _prodPurch, 
            RunbaseRecsMapable _multi])

  Microsoft Dynamics AX 2012 (SYS)
          public boolean runCostEstimation(
            ProdParmCostEstimation _prodParmCostEstimation, 
           [boolean _ask, 
            ProdPurch _prodPurch, 
            RunbaseRecsMapable _multi])

Run On

Called

Parameters

_prodParmCostEstimation
Type: ProdParmCostEstimation Table
The production cost estimation parameter that is used to perform a cost estimation.
_ask
Type: boolean
A value of TRUE indicates that method will only check whether cost estimation is allowed. A value of FALSE indicates that the method will also perform the cost estimation.; optional
_prodPurch
Type: ProdPurch Class
The ProdPurch table buffer used to perform cost estimation; optional.
_multi
Type: RunbaseRecsMapable Interface
A parameter that is used to perform a cost estimation of 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 cost estimation is allowed for a production order status; otherwise, false.

Community Additions

ADD
Show: