CacheProcessAssetTree

Cache, Process Asset Tree

Minor Business Rule

Object Name: B1200100

Parent DLL: CAEC

Location: Client/Server

Language: C

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.

Data Structure

D1200100 - Cache, Process Asset Tree

Parameter NameData ItemData TypeReq/OptI/O/Both
nLevelINT01integerREQBOTH

Number of Days in Future to Query for Responses Due. 

mnAssetItemNumberNUMBMATH_NUMERICREQBOTH

An 8-digit number that uniquely identifies an asset.

szEquipmentStatusEQSTcharOPTOUTPUT

A user defined code (12/ES) that identifies the equipment or disposal status of an asset, such as available, down, or disposed.

cCacheActionCodeEV01charREQINPUT

An option that specifies the type of processing for an event.

cCacheErrorCodeEV01charOPTOUTPUT

An option that specifies the type of processing for an event.

nNumberOfKeysINT01integerREQINPUT

Number of Days in Future to Query for Responses Due. 

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.

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.

idCacheCursorPtrGENLNGIDOPTBOTH

General purpose ID variable.

cSequentialFetchEV02charOPTINPUT

An option that specifies the type of processing for an event.

mnParentNUMBMATH_NUMERICOPTBOTH

An 8-digit number that uniquely identifies an asset.

mnSequenceNumberMATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

szAssetCacheNameOrNumberJOBcharREQINPUT

Job Number

Related Functions

None

Related Tables

None