GetPayPeriodBeginEndDates

Get Pay Period Begin/End Dates

Minor Business Rule

Object Name: N0701410

Parent DLL: CHRM

Location: Client/Server

Language: NER

N0701410 Get Pay Period Begin/End Dates from F069066

Input:

• Pay Cycle Code (required)
• Pay Period Number
• Date or System Date (required)
• 'b7'b7'b7
Output

• Pay Period Begin Date
• Pay Period End Date
• Error Code
• 'b7'b7'b7
Blank:No Error

1:Pay Period Begin Date not found (No prior records in F069066)

2:Pay Cycle Code/ Period Number not found for the given date

3:Pay Cycle Code not found for the given date


Data Structure

DN0701410 - Get Pay Period Begin/End Dates

This Business Function is to find Pay Period Begin and End dates from F069066 Pay Cycle Constant Table.

Input

Pay Cycle Code (required)

Pay Period Number

System Date or Input and Pay Period End Date(jdDate) 


Output

Pay Period Begin Date falls in current pay cycle within system date or Input Date

Pay Period End Date falls in current pay cycle within system date or Input Date


Note: Pay cycle Code is required, one of the following must be passed:

1   Pay Period Number 

2   Pay Period End Date or System Date 

Parameter NameData ItemData TypeReq/OptI/O/Both
jdSystemDateUPMJJDEDATEOPTNONE

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

jdPayPeriodEndDateUPMJJDEDATEOPTOUTPUT

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

jdPayPeriodBeginDateUPMJJDEDATEOPTOUTPUT

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

szPayCycleCodePCCDcharREQINPUT

A code that identifies the values for a master payroll cycle.

cReturnErrorEV01charOPTOUTPUT

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

szPayPeriodNumberPPNBcharOPTNONE

The number of the pay period from the beginning of the year. For instance, a monthly payroll cycle beginning in January has a total of 12 
periods with October being the 10th period. Typical values are:        001-052 (Weekly Payroll Cycle)        001-026 (Biweekly Payroll Cycle)        
001-024 (Semimonthly Payroll Cycle)        001-012 (Monthly Payroll Cycle)        001-004 (Quarterly Payroll Cycle)        001-001 (Annual Payroll Cycle)

Related Functions

None

Related Tables

None