, 1.Functional Description
1.1Purpose
This function will retrieve the system calendar and return the values in TD01 - TD31 with the
appropriate offset so that they may be displayed in a calendar. The function will also only check for the
existence of an F0007 record and return a flag without returning the values.
1.2Setup Notes and Prerequisites
The only setup required is that 37 controls need to be included within the application. These
controls will receive the values TD01 - TD31 for each day that will make up the calendar.
1.3Special Logic
There is no special logic within this function.
2.Technical Specifications
2.4Processing
A. Retrieve the Calendar using YR and MT.
B. Determine the Century to return. If the Year is less than or equal to the default value of DCYR,
then assign the Century to 20.
Otherwise assign the Century to 19.
C. Determine number of days in that month (y).
D. Determine the first day of that month (Sunday, Monday, Tuesday, etc.).
E. Calculate ThisMonthOffset (MN09A: Sunday=0, Monday=1, etc.).
F. Calculate NextMonthOffset (MN09A + y).
If MODE = '1' or '3'
G. Retrieve the F0007 (Work Day Calendar) record for the MMCU, YR, and MT, WDCT and WDCK passed in.
H. If MODE = '3' return a 'Y' in DS RecordExists.
I. If MODE = '1'
Do for x=1 to y (number of days in month)
1. Put CZTD0x (Type of Day for day x) in the appropriate work field [EV0x + MN09A].
If MODE = '2'
J. Do for x=1 to y(number of days in month)
1. Put appropriate work field [EV0x + MN09A] into TD0x (Type of Day for day x) to be sent back
to application.
D3000710 - Get Work Day Calendar
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szBranch | MMCU | char | NONE | NONE |
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
| ||||
mnCalendarYear | YR | MATH_NUMERIC | NONE | NONE |
The calendar year for this calendar. | ||||
mnCalendarMonth | MT | MATH_NUMERIC | NONE | NONE |
A number that corresponds to the month in a calendar year. | ||||
cMode | MODE | char | NONE | NONE |
The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed. | ||||
cTypeOfDay01 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay02 | EV02 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay03 | EV03 | char | NONE | NONE |
A radio button that specifies the level at which trace/track result is to be displayed. Select the Detail to display all transactions except IB, IX,
| ||||
cTypeOfDay04 | EV04 | char | NONE | NONE |
PeopleSoft event point processing flag 04. | ||||
cTypeOfDay05 | EV05 | char | NONE | NONE |
A flag that indicates whether automatic spell check is turned on. | ||||
cTypeOfDay06 | EV06 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay07 | EV07 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay08 | EV08 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay09 | EV09 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay10 | EV10 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay11 | EV11 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay12 | EV12 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay13 | EV13 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay14 | EV14 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay15 | EV15 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay16 | EV16 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay17 | EV17 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay18 | EV18 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay19 | EV19 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay20 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay21 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay22 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay23 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay24 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay25 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay26 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay27 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay28 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay29 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay30 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay31 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay32 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay33 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay34 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay35 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay36 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDay37 | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cTypeOfDayReturned01 | TD01 | char | NONE | NONE |
A code to indicate the type of day. Valid values are: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned02 | TD02 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned03 | TD03 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned04 | TD04 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned05 | TD05 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned06 | TD06 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned07 | TD07 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned08 | TD08 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned09 | TD09 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned10 | TD10 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned11 | TD11 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned12 | TD12 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned13 | TD13 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned14 | TD14 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned15 | TD15 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned16 | TD16 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned17 | TD17 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned18 | TD18 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned19 | TD19 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned20 | TD20 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned21 | TD21 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned22 | TD22 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned23 | TD23 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned24 | TD24 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned25 | TD25 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned26 | TD26 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned27 | TD27 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned28 | TD28 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned29 | TD29 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned30 | TD30 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeOfDayReturned31 | TD31 | char | NONE | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
mnThisMonthOffset | MN09A | MATH_NUMERIC | NONE | NONE |
Generic Math Numeric - size 9 | ||||
mnNextMonthOffset | MN09B | MATH_NUMERIC | NONE | NONE |
Generic Math Numeric - size 9 | ||||
cSuppressErrorMessages | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorMessageID | DTAI | char | NONE | NONE |
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
| ||||
cRecordExists | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szWorkDayCalendarType | WDCT | char | OPT | NONE |
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
| ||||
szWorkDayCalendarKey | WDCK | char | OPT | NONE |
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
|
B9800420 Get Data Dictionary Definition |
F0007 Workday Calendar |