CalculateOccurrenceFromDate

Calculate Occurrence From Date

Minor Business Rule

Object Name: N40R0410

Parent DLL: CDMDSCH

Location: Client/Server

Language: NER

Data Structure

D40R0410A - Calculate Occurrence From Date

Parameter NameData ItemData TypeReq/OptI/O/Both
jdBaseDateBASEDJJDEDATEREQINPUT

The date from which a process or operation begins.

cDayOfWeekOccuranceDOWOCCcharOPTOUTPUT

A number that identifies the specific occurrence of a weekday within a calendar month. Valid values are: 1 First occurrence in a calendar 
month 2 Second occurrence in a calendar month 3 Third occurrence in a calendar month 4 Fourth occurrence in a calendar month 5 Fifth occurrence 
in a calendar month

cSpecificDayOfTheWeekSPDWcharOPTOUTPUT

A code that indicates the day of the week in certified payroll processing and reporting. Valid values are:    0   Sunday    1   Monday    2   
Tuesday    3   Wednesday    4   Thursday    5   Friday    6   Saturday 

cLastOccuranceLSTOCCcharOPTOUTPUT

An option that indicates whether the day of the week that is contained in beginning and end dates is the last occurrence of that particular 
day in the month.

cSuppressErrorMessageSUPPScharREQINPUT

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorCodeDTAIcharOPTOUTPUT

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

Related Functions

None

Related Tables

None