1.Functional Description
1.1Purpose
This business function is designed as a Master Business function to control all Additions, Deletions,
Changes and Inquiries to the Shop Floor Calendar. It will also inquire on a Shop Floor Calendar
record.
1.2Setup Notes and Prerequisites
1.3Special Logic
If the data structure field TYTN is greater than blank, outbound interoperability transactions are
written to F30006Z1.
2.Technical Specifications
2.4Processing
2.4.1 Preprocessing
If Action Code is not equal to 'A'
AND Action Code is not equal to 'C'
AND Action Code is not equal to 'D'
AND Action Code is not equal to 'I'
AND Action Code is not eqaul to 'S'
Call Get Audit Information(B9800100):
Date Updated <Date
Time of Day<Time
Work Station Id<Workstation User Id
Program Id = Program Id
2.4.2 Additions / Copies
If Action Code is equal to 'A' or 'S'
SHFT as keys. If it already exists, set error message 0001.
If add action is valid:
Pass all fields in data structure (see BF spec in this file)
VA evt_szBatchNumber <- szEdiBatchNumber
Get Next Transaction Number (B0000175):
"JDEWDC" -> szTransactionType
VA evt_szUserID_USER -> szUserId
VA evt_szTransactionNumber <- szTransactionNumber
"1" -> cSuppressErrorMessage
File (F0007Z1). If the insert was not successful, set error "0002".
"R00460" -> szUBEName
"ZJDE0001" -> szVersion
VA evt_szUserID_USER -> szUserId
VA evt_szTransactionNumber -> szTransactionNumber
"1" -> cSuppressErrorMessage
VA evt_mnLineNumber -> mnLineNumber
"JDEWC" -> szTransactionType
"
2.4.3 Changes
If Action Code is equal to 'C'
SHFT, WDCT, WDCK as keys. If it does not already exist, set error message 0001.
If change action is valid:
Pass all fields in data structure (see BF spec in this file)
VA evt_szBatchNumber <- szEdiBatchNumber
Get Next Transaction Number (B0000175):
"JDEWDC" -> szTransactionType
VA evt_szUserID_USER -> szUserId
VA evt_szTransactionNumber <- szTransactionNumber
"1" -> cSuppressErrorMessage
Transaction File (F0007Z1). If the insert was not successful, set error "0002".
3.If WriteBeforeImages is equal to '1', write an outbound Update Before (Action Code
= UB) transaction to the Work Center Transaction File (F0007Z1). If the insert was not
successful, set error "0002".
"R00460" -> szUBEName
"ZJDE0001" -> szVersion
VA evt_szUserID_USER -> szUserId
VA evt_szTransactionNumber -> szTransactionNumber
"1" -> cSuppressErrorMessage
VA evt_mnLineNumber -> mnLineNumber
"JDEWC" -> szTransactionType
"
If Action Code is equal to 'D'
SHFT, WDCT, WDCK as keys. If it does not already exist, set error message 0001.
VA evt_szBatchNumber <- szEdiBatchNumber
Get Next Transaction Number (B0000175):
"JDEWDC" -> szTransactionType
VA evt_szUserID_USER -> szUserId
VA evt_szTransactionNumber <- szTransactionNumber
"1" -> cSuppressErrorMessage
File (F0007Z1). If the insert was not successful, set error "0002".
3. Add Transaction To Subsystem Queue (B0000176):
"R00460" -> szUBEName
"ZJDE0001" -> szVersion
VA evt_szUserID_USER -> szUserId
VA evt_szTransactionNumber -> szTransactionNumber
"1" -> cSuppressErrorMessage
VA evt_mnLineNumber -> mnLineNumber
"JDEWC" -> szTransactionType
"
2.4.5 Inquiries
If Action Code is equal to 'I'
If fetch fails Set error message "0001"
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
|
None |
None |