Functional Description
Purpose
This function serves to determine whether the date that has been entered is actually a work date
according to the work day calendar.
This business function is always called from the X03021 business function.
Setup Notes and Prerequisites
None
Special Logic
None
Technical Specification
Parameters
ItemDescriptionI/OReq?Notes
DATE01jdDate IYThe date to be checked
To see if it is a work
Day.
MMCUszCostCenter IYThe cost center
associated with the
Date.
Date is a work day
According to the work
Day calendar, and a '0'
If not.
Related Tables
F0007Work Day Calendar
Related Functions
None
Processing
Open F0007 table
If unsuccessful
If fetch is successful
Load jdDate,szCostCenter
Structure to return to the appl.
If lpcTypeOfDay = 'W'
CWorkDayFlag = '0'
Return idReturnCode = '0'
D0000149 - Is Date A Work Date
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
jdDate | DATE01 | JDEDATE | NONE | INPUT |
Event point for JDE Date. | ||||
szCostCenter | MMCU | char | NONE | 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
| ||||
cWorkDayFlag | EV01 | char | NONE | OUTPUT |
An option that specifies the type of processing for an event. | ||||
cShiftCode | SHFT | char | OPT | INPUT |
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
| ||||
szWorkDayCalendarType | WDCT | char | OPT | INPUT |
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 | INPUT |
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
|
None |
F0007 Workday Calendar |