Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _currentTaxGroupRecId
Type: PayrollTaxGroupRecId Extended Data Type
The record ID of the PayrollTaxGroup record.
- _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.