RPayAEFormController::construct Method [AX 2012]
Constructs the class depending on the document type: vacation, sick list or business trip.
Syntax
client server public static RPayAEFormController construct(RPayAverageEarnEngine _engine)
Run On
Called
Parameters
- _engine
Type: RPayAverageEarnEngine Class
The RPayAverageEarnEngine class associated with the document.
Return Value
Type: RPayAEFormController Class
The instance of RPayAEFormController.
Exceptions
Exception | Condition |
---|---|
Error | Unhandled document type. |