Share via


ConceptMainAccount_MX.linkAllOrUnLinkAll Method [AX 2012]

Checks or unchecks all of the main accounts.

Syntax

public boolean linkAllOrUnLinkAll(
    TmpFrmVirtual _tmpFrmVirtual, 
    NoYes _check, 
   [RecId _recid])

Run On

Called

Parameters

Return Value

Type: boolean
true if any net changes were made; otherwise, false.

Remarks

If the _check parameter is set to the NoYes::No enumeration value, all accounts will be unchecked. If the _check parameter is set to the NoYes::Yes enumeration value all accounts will be checked.

This method only reports a change if any of the accounts have had their checked status changed. For example, if all the accounts are already checked and the _check parameter is set to the NoYes::Yes enumeration value, it will report false.

See Also

Reference

ConceptMainAccount_MX Class