ProdStatusType.runRelease Method [AX 2012]

Releases 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 runRelease(
            ProdParmRelease _prodParmRelease, 
           [boolean _ask, 
            ProdPurch _prodPurch, 
            RunbaseRecsMapable _multi, 
            boolean _runningPreviousJob])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public boolean runRelease(
            ProdParmRelease _prodParmRelease, 
           [boolean _ask, 
            ProdPurch _prodPurch, 
            RunbaseRecsMapable _multi])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public boolean runRelease(
            ProdParmRelease _prodParmRelease, 
           [boolean _ask, 
            ProdPurch _prodPurch, 
            RunbaseRecsMapable _multi])

  Microsoft Dynamics AX 2012 (FPK)
          public boolean runRelease(
            ProdParmRelease _prodParmRelease, 
           [boolean _ask, 
            ProdPurch _prodPurch, 
            RunbaseRecsMapable _multi])

  Microsoft Dynamics AX 2012 (SYS)
          public boolean runRelease(
            ProdParmRelease _prodParmRelease, 
           [boolean _ask, 
            ProdPurch _prodPurch, 
            RunbaseRecsMapable _multi])

Run On

Called

Parameters

_prodParmRelease
Type: ProdParmRelease Table
The parameters to use to release the production order.
_ask
Type: boolean
A value of TRUE indicates that method will only check whether releasing is allowed. A value of FALSE indicates that the method will also perform the release.; optional
_prodPurch
Type: ProdPurch Class
The ProdPurch table buffer to use to release a production order; optional.
_multi
Type: RunbaseRecsMapable Interface
A Boolean value that indicates whether to release multiple production orders 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 releasing is allowed for a production order status; otherwise, false.

Community Additions

ADD
Show: