InfAdjValidation_MX::isMainAccountClosed Method [AX 2012]
Indicates whether the Closed checkbox cannot be marked when the main account is marked for inflation adjustment.
Syntax
client server public static boolean isMainAccountClosed(NoYes _isClosed, NoYes _isInflationAdjustment)
Run On
Called
Parameters
- _isClosed
Type: NoYes Enumeration
The value of the Closed checkbox in the main account.
- _isInflationAdjustment
Type: NoYes Enumeration
The value of the B-10 adjustment checkbox in the main account.
Return Value
Type: boolean
true if the validation is successful; otherwise, false.
Remarks
This validation is used when both the Closed and the B-10 adjustment checkboxes are marked.