Purpose
This function will perform Get, Add, Update, Delete, Delete All, Get Next, Add/Update and Terminate
functions on the Asset Tree Cache used in the business functions B1300020, B1200040 and B1200050.
The calling function is responsible for loading all appropriate key values to the data structure and
identifying the number of keys to be used in retrieval/update processes.
D1200100 - Cache, Process Asset Tree
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
nLevel | INT01 | integer | REQ | BOTH |
Number of Days in Future to Query for Responses Due. | ||||
mnAssetItemNumber | NUMB | MATH_NUMERIC | REQ | BOTH |
An 8-digit number that uniquely identifies an asset. | ||||
szEquipmentStatus | EQST | char | OPT | OUTPUT |
A user defined code (12/ES) that identifies the equipment or disposal status of an asset, such as available, down, or disposed. | ||||
cCacheActionCode | EV01 | char | REQ | INPUT |
An option that specifies the type of processing for an event. | ||||
cCacheErrorCode | EV01 | char | OPT | OUTPUT |
An option that specifies the type of processing for an event. | ||||
nNumberOfKeys | INT01 | integer | REQ | INPUT |
Number of Days in Future to Query for Responses Due. | ||||
cSuppressErrorMessage | SUPPS | char | OPT | INPUT |
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 | OUTPUT |
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
| ||||
idCacheCursorPtr | GENLNG | ID | OPT | BOTH |
General purpose ID variable. | ||||
cSequentialFetch | EV02 | char | OPT | INPUT |
An option that specifies the type of processing for an event. | ||||
mnParent | NUMB | MATH_NUMERIC | OPT | BOTH |
An 8-digit number that uniquely identifies an asset. | ||||
mnSequenceNumber | MATH01 | MATH_NUMERIC | OPT | OUTPUT |
- - - Good Performance Low Value. | ||||
szAssetCacheNameOrNumber | JOB | char | REQ | INPUT |
Job Number |
None |
None |