PayrollW2ReportDP.addLocalLine Method [AX 2012]

Adds the given information to the list of local lines.

If the local line is a political sub-division (PSD) line, the list is searched to see if any existing local lines share the same first two digits.

If none exist, or if the line is not a PSD line, the local line is added to the list normally.

private void addLocalLine(
    List _localLines, 
    AmountCur _localWages, 
    AmountCur _localTaxes, 
    str _localityName, 
    PayrollW2Box20Label _w2Box20LabelType)

Run On

Server

Parameters

_localLines
Type: List Class
List of containers of local line values.
_localWages
Type: AmountCur Extended Data Type
Wages for the given local tax
_localTaxes
Type: AmountCur Extended Data Type
Taxes for the given local tax
_localityName
Type: str
Locality name to display on the W2
_w2Box20LabelType
Type: PayrollW2Box20Label Enumeration
Type of W2 box label to determine if existing lines are PSD lines.

Community Additions

ADD
Show: