W2AllocateFederalWages

W2 Allocate Federal Wages

Major Business Rule

Object Name: B0700560

Parent DLL: CHRM

Location: Client/Server

Language: C

Data Structure

D0700560 - Data Structure for W2 Allocate Federal Wages

Parameter NameData ItemData TypeReq/OptI/O/Both
szYearEndIDIDYEcharREQINPUT

A value you assign to each year-end workfile build. The ID must be unique within each calendar year or information can be overwritten and 
lost. The year-end ID identifies a group of records to be processed for year-end purposes. The year-end ID can also be used to identify 
records for a particular company if the workfile build for that particular ID included employees from only one company.

mnDateYrDTEYMATH_NUMERICREQINPUT

A two-digit number that specifies the applicable year. If you leave this field blank, the program uses the system date.

cAllocateFederalWageW2AWcharREQINPUT

A code specifying whether the the federal wages, tips and other compensation amount should be allocated to each state where the 
employee had earnings. This field applies if you have multiple W-2s for employees. Valid values are:    N Do not allocate the federal wages, tips 
and other compensation to the states. All federal information will print on the W-2             that contains the base state information unless you 
answered Y to Print Federal Information on all forms. In this case, you         will receive the same federal information on all W-2s for the employee.    
Y Allocate the federal wages, tips and other compensation between each state in which the employee has wages. The        allocation will look 
at total state wages and determine each state's percentage of the total. An equal percentage of federal         wages will be allocated to the 
different states.

jdDateUpdatedUPMJJDEDATEREQINPUT

The date that specifies the last update to the file record.

mnTimeLastUpdatedUPMTMATH_NUMERICREQINPUT

The time that specifies when the program executed the last update to this record.

szProgramIdPIDcharREQINPUT

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szWorkStationIdJOBNcharREQINPUT

The code that identifies the work station ID that executed a particular job.

szUserIdUSERcharREQINPUT

The code that identifies a user profile.

Related Functions

None

Related Tables

None