Functional Description
Purpose
The business function keeps in cache, the plan or plan option an employee is currently enrolled in,
together with active status flag of the enrollment.
Setup Notes and Prerequisites
Cache records can be read, written, updated or deleted, depending on the value being passed in for
the CacheActionFlag. The possible values for the CacheActionFlag
are 1=Cache Get
2=Cache Add
3=Cache Update
4=Cache Delete
5=Cache Delete All
6=Cache Get Next
7=Cache Add Update (Do not use)
8=Cache End
9=Cache Close Cursor.
The keys to the cache record are the cache job number (must already be assigned using X0010) and Plan
ID.
Special Logic
Technical Specification
There are 9 internal functions:
1. Call I0800031_CacheGet if CacheActionFlag = 1
2. Call I0800031_CacheAdd if CacheActionFlag = 2
3. Call I0800031_CacheUpdate if CacheActionFlag = 3
4. Call I0800031_CacheDelete if CacheActionFlag =4
5. Call I0800031_CacheDeleteAll if CacheActionFlag = 5
6. Call I0800031_CacheGetNext if CacheActionFlag = 6
7. Call I0800031_CacheAddUpdate if CacheActionFlag = 7
8. Call jdeCacheTerminateAll if CacheActionFlag = 8
9. Call I0800031_CloseCursor if CacheActionFlag = 9
10. Error if the CacheActionFlag is not between 1 and 9.
D0800031 - Plan Status Cache
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szCacheActionCode | CACTN | char | NONE | NONE |
1 =Cache Getab ab
| ||||
mnNumberKeys | NKEYS | MATH_NUMERIC | NONE | NONE |
The number of keys in an index that will be used to retrieve, delete, or update a record. | ||||
cSuppressErrorMessage | SUPPS | char | NONE | 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 | NONE | 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
| ||||
idCacheCursor | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
mnJobnumberA | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. | ||||
szPlanId | PLAN | char | NONE | NONE |
An abbreviation or number that identifies a specific employee benefit. Examples are:
o Employee Health Insurance
o Accidental Death
| ||||
cPlanStatusCode | VC01A | char | NONE | NONE |
This is a generic field used for video constants display. |
None |
None |