LeanCost::construct Method [AX 2012]

Creates an instance of a subclass of the LeanCost class.

server public static LeanCost construct(LeanCostWorkType _workType, LeanCostingFacadeBase _leanCostingFacade)

Run On

Server

Parameters

_workType
Type: LeanCostWorkType Enumeration
The type of subclass to create.
_leanCostingFacade
Type: LeanCostingFacadeBase Class
An instance of the LeanCostingFacade class to pass to the new instance created by this method.

Return Value

Type: LeanCost Class
The new instance of the LeanCost class.

ExceptionCondition
Error

The specified type of subclass to create is not implemented.

Show: