Functional Description
The purpose of this business function is to keeps the Job number and Address Number in cache.
Technical Specifications
Parameters
Data ItemRequiredI/ODescription
JOBS*YI/OJob Number
AN8*YI/OAddress Number
NKEYSYINumber of Keys
CACTNYICache Action Code
SUPPSNISuppress Error Message
DTAINOError Message
GENLNGNI/OGenerid Long ID
*Y = either Job Number or Address Number must be entered
Setup Notes and Prerequisites
Cache records can be read, written, updated or deleted, depending on the value being passed in for the Cache Action Flag. The possible values for the
Cache Action Flag 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 and Address Number.
D0800164 - Employee Address Number Cache
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnJobnumberA | JOBS | MATH_NUMERIC | OPT | NONE |
The job number (work station ID) which executed the particular job. | ||||
mnAddressNumber | AN8 | MATH_NUMERIC | OPT | NONE |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
mnNumberKeys | NKEYS | MATH_NUMERIC | OPT | NONE |
The number of keys in an index that will be used to retrieve, delete, or update a record. | ||||
szCacheActionCode | CACTN | char | OPT | NONE |
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
| ||||
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
| ||||
idCacheCursor | GENLNG | ID | OPT | NONE |
General purpose ID variable. |
None |
None |