CacheAffirmativeActionReportTota

Cache Affirmative Action Report Totals

Minor Business Rule

Object Name: B0800111

Parent DLL: CHRM

Location: Client/Server

Language: C

Functional Description

Purpose


This business function is sued to create, read, write, delete and terminate the Reports Totals cache 
for EEO Category reports. 


The possible Action Codes are:

1 - Get Cache Record (using a full key)

2 - Add Cache Record

3 - Update Cache Record

4 - Delete One Cache Record at a Time

5 - Delete All Cache Records (The cache is left open)

6 - Get Next Cache Record (Using a partial key)

7 - End Cache (Cache is deleted and closed)


Setup Notes and Prerequisites

-The Cache Cursor data item must be passed the value of '0' the first time that the cache is 

initialized. A value will be returned that must be stored in a variable. This variable must be passed in every 

time that the business function is called. 


Special Logic

-The Cache Job Number should be the Next Number obtained from business function X0010 (when the 

System Code is '00' and the Next Number Index is '4'.

-The cache key is:

Job Numer (this must always be part of the key)

Level

Business Unit

-The data can be accessed using the full key or a partial key using the Number of Keys variable to 

distinguish between a full or a partial fetch.


Technical Specification


mnCacheJobNumber - Required input field (Key). 

mnLevel - Required input field (Key).

szCostCenter- Required input field (Key).


WhiteMaleAppl- Optional I/O field.

BlackMaleAppl- Optional I/O field.

HispanicMaleAppl- Optional I/O field.

AsianMaleAppl- Optional I/O field.

IndianMaleAppl- Optional I/O field.

WhiteMaleOffers- Optional I/O field.

BlackMaleOffers- Optional I/O field.

HispanicMaleOffers- Optional I/O field.

AsianMaleOffers- Optional I/O field.

IndianMaleOffers- Optional I/O field.

WhiteMaleHired- Optional I/O field.

BlackMaleHired- Optional I/O field.

HispanicMaleHired- Optional I/O field.

AsianMaleHired- Optional I/O field.

IndianMaleHired- Optional I/O field.

WhiteMaleRejections- Optional I/O field.

BlackMaleRejections- Optional I/O field.

HispanicMaleRejections- Optional I/O field.

AsianMaleRejections- Optional I/O field.

IndianMaleRejections- Optional I/O field.


WhiteFemaleAppl- Optional I/O field.

BlackFemaleAppl- Optional I/O field.

HispanicFemaleAppl- Optional I/O field.

AsianFemaleAppl- Optional I/O field.

IndianFemaleAppl- Optional I/O field.

WhiteFemaleOffers- Optional I/O field.

BlackFemaleOffers- Optional I/O field.

HispanicFemaleOffers- Optional I/O field.

AsianFemaleOffers- Optional I/O field.

IndianFemaleOffers- Optional I/O field.

WhiteFemaleHired- Optional I/O field.

BlackFemaleHired- Optional I/O field.

HispanicFemaleHired- Optional I/O field.

AsianFemaleHired- Optional I/O field.

IndianFemaleHired- Optional I/O field.

WhiteFemaleRejections- Optional I/O field.

BlackFemaleRejections- Optional I/O field.

HispanicFemaleRejections- Optional I/O field.

AsianFemaleRejections- Optional I/O field.

IndianFemaleRejections- Optional I/O field.


szErrorMessage- Output field.

idCacheCursor - Required I/O field.

szCacheActionCode- Required input field.

mnNumberOfKeys- Required input field.

cSuppressErrorMessage- Optional input field.



^

Data Structure

D0800111 - Cache Affirmative Action Report Totals

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobnumberAJOBSMATH_NUMERICREQINPUT

The job number (work station ID) which executed the particular job.

mnLevelMATH01MATH_NUMERICREQINPUT

- - - Good Performance Low Value. 

szCostCenterMCUcharOPTBOTH

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnWhiteMaleApplMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnBlackMaleApplMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnHispanicMaleApplMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnAsianMaleApplMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnIndianMaleApplMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnWhiteMaleOffersMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnBlackMaleOffersMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnHispanicMaleOffersMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnIndianFemaleRejectionsMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnWhiteMaleHiredMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnAsianMaleOffersMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnIndianMaleOffersMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnBlackMaleRejectionsMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnHispanicMaleHiredMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnBlackMaleHiredMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnAsianMaleHiredMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnWhiteMaleRejectionsMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnIndianMaleHiredMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnIndianMaleRejectionsMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnHispanicMaleRejectionsMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnAsianMaleRejectionsMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnHispanicFemaleOffersMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnAsianFemaleHiredMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnHispanicFemaleHiredMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnBlackFemaleHiredMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnWhiteFemaleHiredMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnIndianFemaleOffersMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnAsianFemaleOffersMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnWhiteFemalApplMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnBlackFemaleOffersMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnWhiteFemaleOffersMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnIndianFemaleApplMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnAsianFemaleApplMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnHispanicFemaleApplMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnBlackFemaleApplMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnIndianFemaleHiredMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnWhiteFemaleRejectionsMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnHispanicFemaleRejectionsMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnBlackFemaleRejectionsMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

mnAsianFemaleRejectionsMATH08MATH_NUMERICOPTBOTH

Event point for Math Numeric.

szErrorMessageIDDTAIcharOPTOUTPUT

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 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

idCacheCursorGENLNGIDREQBOTH

General purpose ID variable.

szCacheActionCodeCACTNcharREQINPUT

A code that indicates the activity you want to perform. Valid codes:     o Get - Retrieve the cache element     o Add - Add a cache element     o 
Update - Update a cache element     o Delete - Delete a cache element     o Delete All - Delete all cache elements     o Get Next - Retrieve the 
next cache element     o Add/Update - Add a cache element if it does not exist; Update a cache element if it does exist     o Terminate - 
Terminate Cache

mnNumberKeysNKEYSMATH_NUMERICREQINPUT

The number of keys in an index that will be used to retrieve, delete, or update a record.

cSuppressErrorMessageSUPPScharOPTINPUT

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

Related Functions

None

Related Tables

None