ProdStatusType_ReportedFinished.runSplit Method [AX 2012]

Splits a finished 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 enabled; optional.
_multi
Type: RunbaseRecsMapable Interface
The 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 finished production order does not enable splitting.

When splitting is being performed for a finished production order this method always throws an exception because when the production order is reported as finished, splitting is no longer enabled.

Community Additions

ADD
Show: