1.Functional Description
1.1Purpose
This business function is designed to be called by the F0007 Process Master Data Named ER Master
Business Function and is to be used to do specific data dictionary validation of each field in a row. It
should be called before any update or addition to the F0007 table. It takes the same data structure
as the above NER as its parameter, so this can be passed through from the NER.
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
2.4Processing
It is passed the same data structure as the main program (F0007 Process Master Data - N000700) and
then tests each field for value and raise errors accordingly. As there are up to 31 Date Type fields in
the structure it might make sense to have some optimization in validating these. This will be by
building up a list of validated entries in an array.
On all input parameters which are F0007 table fields, perform jdeDDValidation (standard data
dictionary edits, including UDC edits)
If the function does not return successful, set error "0025" .
In B9 two new fields were added the the primay key of F0007. These also are validated using
jdeDDValidation
D000700A - Shop Floor Calender - Data Structure
Data Item Data Structure DescriptionI/ORequiredNotes
ACTN Action Code IY A Add
C Change
D Delete
I Inquire
S Copy
SUPPS SuppressErrorMessagesIN 1 Error Messages
Suppressed
DTAI ErrorMessageIDONError Message ID
PID ProgramIDINCurrent program name
Application Specific Control Parameters:
CTRY CenturyI/OYCentury as 2 digit number Primary key
MTMonth - Calendar MonthI/OYMonth as 2 digit number Primary key
YRYear - Calendar YearI/OYYear as 2 digit number Primary key
MMCU Branch/PlantI/OYPrimary key field
SHFT ShiftI/OYPrimary key field
CTRY Copy CenturyINRequired for S action code.
MT Copy Month INRequired for S action code.
YR Copy Year INRequired for S action code.
MMCUCopy Branch/PlantINRequired for S action code.
SHFT Copy ShiftINRequired for S action code.
TYTN Transaction TypeINProcessing option from "WorkDay Calander Revisions" (P00071); used to determine if outbound
processing should be performed. If left blank, transactions will not be written to the Work Center Unedited Transaction tables.
VERS VersionINNot currently used.
EV01Write Before ImagesINInteroperability Flag:
Blank = After Images only
1 = Before and After Images
Application Parameters:
TD01Day - Type 01I/ONCalendar field (F0007)
TD02Day - Type 02I/ONCalendar field (F0007)
TD03Day - Type 03I/ONCalendar field (F0007)
TD04Day - Type 04I/ONCalendar field (F0007)
TD05Day - Type 05I/ONCalendar field (F0007)
TD06Day - Type 06I/ONCalendar field (F0007)
TD07Day - Type 07I/ONCalendar field (F0007)
TD08Day - Type 08I/ONCalendar field (F0007)
TD09Day - Type 09I/ONCalendar field (F0007)
TD10Day - Type 10I/ONCalendar field (F0007)
TD11Day - Type 11I/ONCalendar field (F0007)
TD12Day - Type 12I/ONCalendar field (F0007)
TD13Day - Type 13I/ONCalendar field (F0007)
TD14Day - Type 14I/ONCalendar field (F0007)
TD15Day - Type 15I/ONCalendar field (F0007)
TD16Day - Type 16I/ONCalendar field (F0007)
TD17Day - Type 17I/ONCalendar field (F0007)
TD18Day - Type 18I/ONCalendar field (F0007)
TD19Day - Type 19I/ONCalendar field (F0007)
TD20Day - Type 20I/ONCalendar field (F0007)
TD21Day - Type 21I/ONCalendar field (F0007)
TD22Day - Type 22I/ONCalendar field (F0007)
TD23Day - Type 23I/ONCalendar field (F0007)
TD24Day - Type 24I/ONCalendar field (F0007)
TD25Day - Type 25I/ONCalendar field (F0007)
TD26Day - Type 26I/ONCalendar field (F0007)
TD27Day - Type 27I/ONCalendar field (F0007)
TD28Day - Type 28I/ONCalendar field (F0007)
TD29Day - Type 29I/ONCalendar field (F0007)
TD30Day - Type 30I/ONCalendar field (F0007)
TD31Day - Type 31I/ONCalendar field (F0007)
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cActionCode2 | ACTN | char | OPT | NONE |
A code that specifies the action that is performed. Valid values are: A Add C Change | ||||
cSuppressErrorMessage | SUPPS | char | OPT | NONE |
A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.
0 = allow
| ||||
szErrorMessageID | 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
| ||||
szProgramId | PID | char | OPT | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
mnCentury | CTRY | MATH_NUMERIC | OPT | NONE |
The calendar century associated with the year. Enter is the first two digits of
the year. For example, 19 indicates any year beginning with 19
| ||||
mnCalendarYear | YR | MATH_NUMERIC | OPT | NONE |
The calendar year for this calendar. | ||||
mnCalendarMonth | MT | MATH_NUMERIC | OPT | NONE |
A number that corresponds to the month in a calendar year. | ||||
szCostCenterAlt | MMCU | char | OPT | 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
| ||||
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
| ||||
mnCentury_2 | CTRY | MATH_NUMERIC | OPT | NONE |
The calendar century associated with the year. Enter is the first two digits of
the year. For example, 19 indicates any year beginning with 19
| ||||
mnCalendarYear_2 | YR | MATH_NUMERIC | OPT | NONE |
The calendar year for this calendar. | ||||
mnCalendarMonth_2 | MT | MATH_NUMERIC | OPT | NONE |
A number that corresponds to the month in a calendar year. | ||||
szCostCenterAlt_2 | MMCU | char | OPT | 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
| ||||
cShiftCode_2 | 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
| ||||
szTypeTransaction | TYTN | char | OPT | NONE |
The qualifier used to identify a specific type of transaction. | ||||
szVersion | VERS | char | OPT | NONE |
A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined
| ||||
cTypeDay001 | TD01 | char | OPT | NONE |
A code to indicate the type of day. Valid values are: W Work Day E Weekend H Holiday | ||||
cTypeDay002 | TD02 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay003 | TD03 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay004 | TD04 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay005 | TD05 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay006 | TD06 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay007 | TD07 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay008 | TD08 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay009 | TD09 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay010 | TD10 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay011 | TD11 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay012 | TD12 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay013 | TD13 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay014 | TD14 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay015 | TD15 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay016 | TD16 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay017 | TD17 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay018 | TD18 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay019 | TD19 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay020 | TD20 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay021 | TD21 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay022 | TD22 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay023 | TD23 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay024 | TD24 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay025 | TD25 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay026 | TD26 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay027 | TD27 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay028 | TD28 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay029 | TD29 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay030 | TD30 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cTypeDay031 | TD31 | char | OPT | NONE |
This indicates the type of day. The possible day types are as follows: W Work Day E Weekend H Holiday | ||||
cWriteBeforeImages | 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
|
N000700 Shop Floor Calender - Master Business Function |
F0007 Workday Calendar |