PayrollTaxGroup::findPostingDefEnabledTaxGroupByTaxCode Method
Gets a posting definition enabled record in the PayrollTaxGroup table using the given record ID value of a tax code.
Syntax
client server public static PayrollTaxGroup findPostingDefEnabledTaxGroupByTaxCode(
PayrollTaxCodeRecId _taxCodeRecId,
[boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _taxCodeRecId
Type: PayrollTaxCodeRecId Extended Data Type
The record ID of the PayrollTaxCode table record.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
The concurrency model option to use when the record is read; optional.
Return Value
Type: PayrollTaxGroup Table
A record in the PayrollTaxGroup table; otherwise, an empty record.
Remarks
A tax code cannot belong to more than one posting definition enabled tax group.