ProdStatusType_Completed.runSplit Method [AX 2012]

Splits a completed production order.

public boolean runSplit(
    ProdParmSplit _prodParmSplit, 
   [boolean _ask, 
    RunbaseRecsMapable _multi])

Run On

Called

Parameters

_prodParmSplit
Type: ProdParmSplit Table
The production split parameter. This parameter is disregarded by the method.
_ask
Type: boolean
A Boolean value that indicates whether the method is only asked if splitting is allowed; optional.
_multi
Type: RunbaseRecsMapable Interface
A RunbaseRecsMapable parameter. This parameter is disregarded by the method; optional.

Return Value

Type: boolean
false if the _ask parameter is true; otherwise, throws an exception.

ExceptionCondition
Error

A completed production order does not allow splitting.

When splitting is being performed for a completed production order, this method always throws an exception, because as soon as the production order is completed, splitting is no longer allowed.

Community Additions

ADD
Show: