1.Functional Description
1.1Purpose
This function will perform Load, Delete, Update, Get, and Clear functions on the Resource Units Cache used in Resource Units Revisions. On a Create
process, an identifier for the cache (hCache handle) is passed back to the calling program for subsequent calls to this function.
1.2Setup Notes and Prerequisites
The calling application is responsible for loading all appropriate key values to the data structure and identifying the number of keys to use in
retrieval/update processes. The application must also store the hCache pointers passed back from the "Create" process and pass these pointers back to the business
function on the other process modes which require them (see technical specifications below).
1.3Special Logic
There is no special logic within this function.
2.Technical Specifications
2.4Processing
I. Perform setup functions
B.Initialize return code to success.
C.If not successful, Set error "032E," "Error Processing Cache" and set return code to failure.
II. Processing Based on Mode.
E.If Process Mode is "5" - DELETE ALL:
G.If Process Mode is "7" - ADD/UPDATE:
D3003830 - F3007 Resource Units Cache
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szBranchPlant | 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
| ||||
szBusinessUnit | MCU | char | OPT | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
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. | ||||
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
| ||||
szUnitOfMeasure | UM | char | OPT | NONE |
A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box,
| ||||
szBusinessUnitType | STYL | char | OPT | NONE |
A user defined code (00/MC) that identifies the classification of the business unit. | ||||
mnWorkCenterEfficiency | WORE | MATH_NUMERIC | OPT | NONE |
A user defined value that indicates how efficiently a work center operates.
This value usually refers to staff efficiency. When you enter a
| ||||
mnWorkCenterUtilization | WORU | MATH_NUMERIC | OPT | NONE |
A percentage that indicates how intensively a work center is being used. This value usually refers to machine use. It is the ratio of the direct
| ||||
mnResourceUnits001 | RU01 | MATH_NUMERIC | OPT | NONE |
A number that specifies a quantity that the system uses to calculate capacity. You can enter this number as units, currency, hours, floor
| ||||
mnResourceUnits002 | RU02 | MATH_NUMERIC | OPT | NONE |
A number that specifies a quantity that the system uses to calculate capacity. You can enter this number as units, currency, hours, floor
| ||||
mnResourceUnits003 | RU03 | MATH_NUMERIC | OPT | NONE |
A number that specifies a quantity that the system uses to calculate capacity. You can enter this number as units, currency, hours, floor
| ||||
mnResourceUnits004 | RU04 | MATH_NUMERIC | OPT | NONE |
A number that specifies a quantity that the system uses to calculate capacity. You can enter this number as units, currency, hours, floor
| ||||
mnResourceUnits005 | RU05 | MATH_NUMERIC | OPT | NONE |
A number that specifies a quantity that the system uses to calculate capacity. You can enter this number as units, currency, hours, floor
| ||||
mnResourceUnits006 | RU06 | MATH_NUMERIC | OPT | NONE |
A number that specifies a quantity that the system uses to calculate capacity. You can enter this number as units, currency, hours, floor
| ||||
mnResourceUnits007 | RU07 | MATH_NUMERIC | OPT | NONE |
A number that specifies a quantity that the system uses to calculate capacity. You can enter this number as units, currency, hours, floor
| ||||
mnResourceUnits008 | RU08 | MATH_NUMERIC | OPT | NONE |
A number that specifies a quantity that the system uses to calculate capacity. You can enter this number as units, currency, hours, floor
| ||||
mnResourceUnits009 | RU09 | MATH_NUMERIC | OPT | NONE |
A number that specifies a quantity that the system uses to calculate capacity. You can enter this number as units, currency, hours, floor
| ||||
mnResourceUnits010 | RU10 | MATH_NUMERIC | OPT | NONE |
A number that specifies a quantity that the system uses to calculate capacity. You can enter this number as units, currency, hours, floor
| ||||
mnResourceUnits011 | RU11 | MATH_NUMERIC | OPT | NONE |
A number that specifies a quantity that the system uses to calculate capacity. You can enter this number as units, currency, hours, floor
| ||||
mnResourceUnits012 | RU12 | MATH_NUMERIC | OPT | NONE |
A number that specifies a quantity that the system uses to calculate capacity. You can enter this number as units, currency, hours, floor
| ||||
mnResourceUnits013 | RU13 | MATH_NUMERIC | OPT | NONE |
A number that specifies a quantity that the system uses to calculate capacity. You can enter this number as units, currency, hours, floor
| ||||
mnResourceUnits014 | RU14 | MATH_NUMERIC | OPT | NONE |
A number that specifies a quantity that the system uses to calculate capacity. You can enter this number as units, currency, hours, floor
| ||||
mnResourceUnits015 | RU15 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
mnResourceUnits016 | RU16 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
mnResourceUnits017 | RU17 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
mnResourceUnits018 | RU18 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
mnResourceUnits019 | RU19 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
mnResourceUnits020 | RU20 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
mnResourceUnits021 | RU21 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
mnResourceUnits022 | RU22 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
mnResourceUnits023 | RU23 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
mnResourceUnits024 | RU24 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
mnResourceUnits025 | RU25 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
mnResourceUnits026 | RU26 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
mnResourceUnits027 | RU27 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
mnResourceUnits028 | RU28 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
mnResourceUnits029 | RU29 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
mnResourceUnits030 | RU30 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
mnResourceUnits031 | RU31 | MATH_NUMERIC | OPT | NONE |
A value expressed in units, dollars, hours, floor space, etc., that is used to calculate capacity. | ||||
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
| ||||
szWorkStationId | JOBN | char | OPT | NONE |
The code that identifies the work station ID that executed a particular job. | ||||
szUserId | USER | char | OPT | NONE |
The code that identifies a user profile. | ||||
jdDateUpdated | UPMJ | JDEDATE | OPT | NONE |
The date that specifies the last update to the file record. | ||||
mnTimeOfDay | TDAY | MATH_NUMERIC | OPT | NONE |
The computer clock in hours:minutes:seconds. | ||||
nNumberOfKeys | INT01 | integer | OPT | NONE |
Number of Days in Future to Query for Responses Due. | ||||
cProcessMode | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cCacheCodeError | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cSuppressErrorMessage | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
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
| ||||
idCursor | GENLNG | ID | OPT | NONE |
General purpose ID variable. | ||||
cReturnCursor | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
mnJobNumber | JOBS | MATH_NUMERIC | OPT | NONE |
The job number (work station ID) which executed the particular job. |
None |
None |