RetrieveEEFormCountOnHistoryType

Retrieve Employee Form Count Based on History Type

Minor Business Rule

Object Name: N0700640

Parent DLL: CHRM

Location: Client/Server

Language: NER

Data Structure

D0700640 - Retrieve Employee Form Count Based on History Type

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDateYrDTEYMATH_NUMERICREQINPUT

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

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.

szTaxIdentificationNoTAXXcharREQINPUT

A number that identifies your company to the tax authority. This number can include the tax ID number for an individual, a federal or state 
corporate tax ID, a sales tax number, and so on. This number has specifically been established for the Payroll system to handle the 
requirements of taxing authorities that require more than 9 positions for the tax identification number. Do not enter hyphens (dashes), slashes, spaces, or 
other punctuation in the tax identification number.

szCompanyCOcharREQINPUT

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

cTypeOfFormTPFMcharREQINPUT

A code which specifies the various types of year end forms that are available.

cTypeOfW2TPW2charOPTINPUT

This code identifies the type of employee for W-2/1099 history purposes.        NOTE: Information from history types "blank", "1", and "4" will 
be combined on        a single Form W-3 Transmittal of Wage and Tax Statements.                

jdCorrectionFormDateDTCFJDEDATEOPTINPUT

For W2 or W2c, this is the date of the new W2c.

mnNumberW2W2NMATH_NUMERICOPTOUTPUT

The total number of W-2 forms to be printed. If more than one company is reported under a parent company's tax ID, this number includes 
all employees for those companies.

Related Functions

None

Related Tables

None