Compartir a través de


PayrollTaxGroup::canEnableForPostingDefinition Method

Determines whether posting definition can be enabled for a tax group.

Syntax

client server public static boolean canEnableForPostingDefinition(PayrollTaxGroupRecId _currentTaxGroupRecId, Array _listOfTaxCodes)

Run On

Called

Parameters

  • _listOfTaxCodes
    Type: Array Class
    An array for passing out a list of tax code(s) belonging to other posting definition enabled tax group(s).

Return Value

Type: boolean
true if posting definition can be enabled; otherwise, false.

Remarks

Posting definition can be enabled for a tax group if there is no tax code of the tax group belonging to any other posting definition enabled tax group(s). Otherwise posting definition cannot be enabled.

See Also

Reference

PayrollTaxGroup Table