VerifyWCCalendar

Verify WC Calendar

Minor Business Rule

Object Name: B3001360

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

, WDCT, WDCK1.Functional Description

1.1Purpose

This business function will verify that a F0007  Work Day Calendar Record exists for a given MMCU, 

YR, MT, and SHFT.


1.2Setup Notes and Prerequisites

• None.

1.3Special Logic

None.


2.Technical Specifications


2.4Processing 


Get F0007 Row for a given MMCU, YR, MT, SHFT , WDCT, WDCK using F0007 Key 1

If found

     CalendarFoundYN = 'Y'

else

    CalendarFoundYN = 'N'

  




Data Structure

D3001360 - Verify WC Calendar

Parameter NameData ItemData TypeReq/OptI/O/Both
szBranchMMCUcharNONENONE

A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which 
represent lower-level business units, subordinate to it. For example:     o Branch/Plant (MMCU)     o Dept A (MCU)     o Dept B (MCU)     o Job 123 
(MCU) Business unit security is based on the higher-level business unit.

mnCalendarYearYRMATH_NUMERICNONENONE

The calendar year for this calendar.

mnCalendarMonthMTMATH_NUMERICNONENONE

A number that corresponds to the month in a calendar year. 

cCalendarFoundYNEV01charNONENONE

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

cSuppressErrorMessagesEV01charNONENONE

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

szErrorMessageIDDTAIcharNONENONE

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.

cShiftCodeSHFTcharOPTNONE

A user defined code (00/SH) that identifies daily work shifts. In payroll systems, you can use a shift code to add a percentage or amount to 
the hourly rate on a timecard. For payroll and time entry: If an employee always works a shift for which a shift rate differential is applicable, 
enter that shift code on the employee's master record. When you enter the shift on the employee's master record, you do not need to enter the 
code on the timecard when you enter time. If an employee occasionally works a different shift, you enter the shift code on each applicable 
timecard to override the default value.

szWorkDayCalendarTypeWDCTcharOPTNONE

A user defined code (42/WD) that specifies how the calendar is used. For example, the calendar might be specific to an industry such as 
banking or it might be used to schedule delivery persons for a route.  Note: If you use the default value of *, the system updates the value to 
blank even though blank is not set up as a valid value in the UDC table.

szWorkDayCalendarKeyWDCKcharOPTNONE

A code used to classify values within a calendar type. For example, if the calendar type is ROUTE, you can enter a code that specifies a 
particular route, such as Daily or Weekend.  Note: The system does not validate the code that you enter. 

Related Functions

None

Related Tables

F0007 Workday Calendar