ProdStatusType.runReportFinished Method [AX 2012]

Reports a production order as finished.

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 runReportFinished(
            ProdParmReportFinished _prodParmReportFinished, 
           [boolean _ask, 
            RunbaseRecsMapable _multi, 
            boolean _runningPreviousJob])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public boolean runReportFinished(
            ProdParmReportFinished _prodParmReportFinished, 
           [boolean _ask, 
            RunbaseRecsMapable _multi])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public boolean runReportFinished(
            ProdParmReportFinished _prodParmReportFinished, 
           [boolean _ask, 
            RunbaseRecsMapable _multi])

  Microsoft Dynamics AX 2012 (FPK)
          public boolean runReportFinished(
            ProdParmReportFinished _prodParmReportFinished, 
           [boolean _ask, 
            RunbaseRecsMapable _multi])

  Microsoft Dynamics AX 2012 (SYS)
          public boolean runReportFinished(
            ProdParmReportFinished _prodParmReportFinished, 
           [boolean _ask, 
            RunbaseRecsMapable _multi])

Run On

Called

Parameters

_prodParmReportFinished
Type: ProdParmReportFinished Table
The parameters to use to report a production order as finished.
_ask
Type: boolean
A value of TRUE indicates that method will only check whether reporting as finished is allowed. A value of FALSE indicates that the method will also perform the report as finished.; optional
_multi
Type: RunbaseRecsMapable Interface
A Boolean value that indicates whether to report multiple production orders as finished at once; 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 reporting as finished is allowed for a production order status; otherwise, false.

Community Additions

ADD
Show: