File Name
Syntax
AssetTagQuery(REF AssetTaqQData: AssetTagQEventInstRec)
Parameters
AssetTagQData: instance data record
Returns
Nothing
Side Effects
None
Description
This event handles the include asset dialog when adding a single asset to the mass asset list.
Dialog Forms Called
i_asset.dfc[assetqbe]
people.dfc[peoplesearchonly]
File Name
Syntax
CAListIDFind(VAL lst: LIST OF ReportClassAttribRec, VAL id: STRING): INTEGER
Parameters
lst: list of category/attribute records
id: category(h_object) id
Returns
INTEGER: 1 found, $unknown not found
Side Effects
None
Description
This function check to see if the category id is already in the list.
Dialog Forms Called
None
File Name
Syntax
FIlterQueryResults(REF massreport: ReportInstRec,VAL wHdl: WINDOW)
Parameters
massreport: search definition record
wHdl: dialog window handle
Returns
Nothing
Side Effects
None
Description
This function will take the list of assets found from MakeInitQuery and narrow it down even more using additional search criteria entered in the advanced asset search notebook.
Dialog Forms Called
None
File Name
Syntax
IDEqual(VAL s1: STRING, VAL s2: STRING): BOOLEAN
Parameters
s1: category(h_object) id
s2: category(h_object) id
Returns
BOOLEAN: TRUE or FALSE
Side Effects
None
Description
This function check if the first id is known. If not, then it is set equal to the second id. If it is, then the second id is set to unknown.
Dialog Forms Called
None
File Name
Syntax
MakeInitQuery(REF invList: LIST OF IS_InventoryRec, REF massasset: ReportInstRec)
Parameters
invList: resulting list of inventory records from search
massasset: search definition record
Returns
Nothing
Side Effects
None
Description
This function will take the search criteria entered in the advanced asset notebook and use it to create SQL queries. These queries will then be used to create a list of matching inventory records.
Dialog Forms Called
None
File Name
Syntax
MassAssetListEvent(REF massInvList: MassAssetInstDataRec)
Parameters
massInvList: instance data record
Returns
Nothing
Side Effects
None
Description
This event handles mass asset list dialog box. From this dialog a user can add, edit, delete, copy individual assets as well as define an update definition used to update multiple assets.
Dialog Forms Called
advasset.dfc[addbttnsubform]
advasset.dfc[editbttnsubform]
advasset.dfc[deletebttnsubform]
i_asset.dfc[copy]
c_prnt.dfc[printchoice]
i_asset.dfc[assetnb]
i_asset.dfc[viewchoice]
i_asset.dfc[includeasset]
advasset.dfc[run_select]
File Name
Syntax
RunMassInquiry(REF massInvList: LIST OF IS_InventoryRec, VAL massasset: ReportInstRec, VAL wHdl: WINDOW): BOOLEAN
Parameters
massInvList: resulting list of is_inventory records
massasset: search definition record
wHdl: dialog window handle
Returns
BOOLEAN: success or failure
Side Effects
None
Description
This function will find the matching assets for the mass update search criteria entered in the advanced asset search notebook.
Dialog Forms Called
None
File Name
Syntax
RunSelectionEvent(REF massInvList: MassAssetInstDataRec)
Parameters
massInvList: instance data record
Returns
Nothing
Side Effects
None
Description
This event handles the run selection dialog box. If in MultiCustomer support mode, the user will have the option to preview the resulting changes, or to run the mass asset update. If it is not MultiCustomer support mode, then this event will not be used, and the mass asset update will run immediately.
Dialog Forms Called
None