CatalogManager.setCatalogState Method [AX 2012]

Sets the state of the catalog.

public boolean setCatalogState(CatalogState _targetState, [boolean _forceAction])

Run On

Server

Parameters

_targetState
Type: CatalogState Enumeration
The desired state of the catalog.
_forceAction
Type: boolean
A value that indicates whether to force the transition from the current state.

Return Value

Type: boolean
true if the action is successful; otherwise, false.

The method validates whether the transition is valid. If _forceAction is true, the transition validation is ignored.

However, only some transitions can be forced. See the canForceTransition method.

Community Additions

ADD
Show: