1.Functional Description
1.1Purpose
This business function is to retrieve the day of the week and type of day from F0007 for the date
passed in.
1.2Setup Notes and Prerequisites
The Work Day calendar must be set up for the business unit, year, and month passed in through the
data structure.
Parameter values
Day of Week 0 = Sunday
1 = Monday
2 = Tuesday
3 = Wednesday
4 = Thursday
5 = Friday
6 = Saturday
D1700690 - F0007 Get Day of the Week
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szBranch | MMCU | char | REQ | INPUT |
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
| ||||
jdDate | UPMJ | JDEDATE | REQ | INPUT |
The date that specifies the last update to the file record. | ||||
nDayOfWeek | INT01 | integer | REQ | OUTPUT |
Number of Days in Future to Query for Responses Due. | ||||
cTypeOfDay | TD01 | char | REQ | OUTPUT |
A code to indicate the type of day. Valid values are: W Work Day E Weekend H Holiday | ||||
cSuppressErrorMessages | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorCode | DTAI | char | OPT | 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
| ||||
cErrorCodeFlag | EV01 | char | OPT | 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
| ||||
cShiftCode | SHFT | char | OPT | NONE |
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
|
None |
F0007 Workday Calendar |