PayrollSetup::refreshWorkerTaxRegionTaxes Method [AX 2012]

Ensures that the specified worker has all tax codes and their parameter values that are applicable to the specified tax region.

server public static container refreshWorkerTaxRegionTaxes(
    PayrollWorkerTaxRegion _workerTaxRegion, 
   [date _applicableDate, 
    boolean _returnList])

Run On

Server

Parameters

_workerTaxRegion
Type: PayrollWorkerTaxRegion Table
The PayrollWorkerTaxRegion record that specifies the HcmWorker for which to refresh tax code assignments and parameters based on the inferred PayrollTaxRegion.
_applicableDate
Type: date
The date the tax engine will use to determine tax applicability. This paramter is optional and defaults to the current date.
_returnList
Type: boolean
Specifies if a container should be returned of the tax codes added; optional.

Return Value

Type: container
A container containing the string values representing the tax codes and parameter values added by the method.
Show: