PayrollCalculatePayStatementTaxes.isResident Method [AX 2012]

Determines whether it is a resident by comparing the worker's resident tax region with the inherent location values that are passed in for the tax code.

public boolean isResident(
    str _taxCode, 
    PayrollTaxCodeSegment _segmentNumber, 
    str _residentLocation)

Run On

Server

Parameters

_taxCode
Type: str
The value of the tax code to extract from.
_segmentNumber
Type: PayrollTaxCodeSegment Enumeration
The segment number that indicates the level of residency that is desired: state, county, or city.
_residentLocation
Type: str
The worker's resident location to compare with.

Return Value

Type: boolean
true if it is a resident; otherwise, false.

Community Additions

ADD
Show: