CalculatePayrollCalendarDates

Calculate Payroll/Calendar Dates

Minor Business Rule

Object Name: N0700004

Parent DLL: CPAY

Location: Client/Server

Language: NER


Data Structure

DN0700004 - DS for Calculate Payroll/Calendar Dates

Parameter NameData ItemData TypeReq/OptI/O/Both
jdDatePayPeriodEnding_PPEDPPEDJDEDATEOPTINPUT

The last day of a processing period (pay period, month, quarter or year).

jdDatePayCheck_CKDTCKDTJDEDATEOPTINPUT

The date associated with the various types of net pay instructions. This date relates to a payroll check, an interim payment, a bank 
automatic-deposit advice slip, a payslip (cash), or a claim reimbursement.

mnPayrollPeriodHMOMATH_NUMERICOPTNONE

The number of the month in which the history files were updated.

mnPayrollYearYRMATH_NUMERICOPTNONE

The calendar year for this calendar.

mnPayrollQuarterBeginMonthPNFMATH_NUMERICOPTNONE

This period number allows you to specify a default financial reporting date different from the actual accounting period.  Because financial 
report preparation often lags behind the actual closing of books, this facility allows you to close a month without having to finish all financial 
statements. By changing this single parameter, you can execute any prior period financial statement.

mnPayrollQuarterEndMonthPNMATH_NUMERICOPTNONE

A number indicating the current accounting period.  This number, used in conjunction with the Company Constants table (F0010) and the 
General Constants table (F0009), allows the user to define up to 14 accounting periods. See General Ledger Date.  The current period number 
is used to determine posted before and posted after cut off warning messages.  It is also used as the default accounting period in the 
preparation of financial reports.

mnCalendarPeriodMADDMATH_NUMERICOPTNONE

The number of months to add to or subtract from the date specified in the Based on Date field (DABS) to determine the discount due date or 
net due date. The system uses this field in conjunction with the Fixed Days field (DYFX] and Days to Add (DADD) field to calculate the due 
date.  For example, if you enter 20 in the Fixed Days field and 1 in the Months to Add field, and the Based on Date is 1 (invoice date), the 
system calculates the due date as the 20th day of the month following the date specified for the invoice date. 

mnCalendarYearYROMATH_NUMERICOPTNONE

The calender year.

mnCalendarQuarterBeginMonthPNCMATH_NUMERICOPTNONE

A number (from 1 to 14) that identifies the current accounting period . The system uses this number to generate error messages, such as 
PBCO (posted before cut off) and PACO (posted after cut off).

mnCalendarQuarterEndMonthPNKMATH_NUMERICOPTNONE

A number indicating the current accounting period.  This number, used in conjunction with the Company Constants file (F0010) and the 
General Accounting Constants (F0009), allows the user to define up to 53 accounting periods. See General Ledger Date.  The current period 
number is used to determine posted before and posted after cut off warning messages.  It is also used as the default accounting period in the 
preparation of financial reports.

mnPaymentYearYRMATH_NUMERICOPTNONE

The calendar year for this calendar.

cPayrollErrorFlagEV01charOPTNONE

An option that specifies the type of processing for an event.

cCalendarErrorFlagEV01charOPTNONE

An option that specifies the type of processing for an event.

mnPayrollCenturyCTRYMATH_NUMERICOPTNONE

The calendar century associated with the year. Enter is the first two digits of the year. For example, 19 indicates any year beginning with 19 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

mnCalendarCenturyCTRYMATH_NUMERICOPTNONE

The calendar century associated with the year. Enter is the first two digits of the year. For example, 19 indicates any year beginning with 19 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

Related Functions

None

Related Tables

None