1.Functional Description
1.1Purpose
This function will:
Update or add a resource unit (F3007) record for the key passed in.
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
2.4Processing
2.4.1 Attempt to fetch a work day calendar (F0007) for the requested Branch MMCU, Year YR, Month MT,
and Shift SHFT. If not found, attempt to find a calendar record with Branch equal to " ALL".
If not found, give calendar error.
2.4.2 Attempt to fetch a resource unit record (F3007) for the key (Branch MMCU, Work center MCU, Year
YR, Month MT, Unit of measure UM, Shift SHFT and Type STYL). If found, update the record with the
new resource unit. If not found, insert a record with the new resource unit.
2.4.3 If the resource record just updated/added had a shift not equal to blank, also update the blank
"All shifts" record to indicate the new total.
D3000821 - Send Error To Message Center
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cErrorType | EV01 | char | REQ | INPUT |
An option that specifies the type of processing for an event. | ||||
szErrorMessageKey | EKEY | char | REQ | INPUT |
A 4-digit number assigned to all errors.
When this number is used in the error message facility (F7 from any form), you may enter a specific
| ||||
szBranch | 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
| ||||
mnCalendarMonth | MT | MATH_NUMERIC | OPT | NONE |
A number that corresponds to the month in a calendar year. | ||||
mnCalendarYear | YR | MATH_NUMERIC | OPT | NONE |
The calendar year for this calendar. |
B9800100 Get Audit Information |
F0007 Workday Calendar | ||||
F3007 Work Center Resource Units |