File Name
Syntax
BrowseInvCategories(VAL wHdl: WINDOW)
Parameters
wHdl - window handle
Returns
Nothing
Side Effects
None
Description
System action for browsing inventory categories.
Dialog Forms Called
tam_adm.dfc[inventorycategory]
File Name
Syntax
BrowseInvCtgEvent(REF BSR: HierarchyEventInstRec)
Parameters
BSR - tree hierarchy instance record
Returns
Nothing
Side Effects
None
Description
Event handler for browsing inventory categories.
Dialog Forms Called
tam_adm.dfc[inventorycategorynb_mc]
File Name
Syntax
CheckIfHaveAttributes(VAL i_object_name: STRING, REF ModelAttribList: LIST OF ModelAttribRec, REF MdlAttribFound: BOOLEAN, REF loc: INTEGER)
Parameters
i_object_name - model name
ModelAttribList - list of model attribute records
MdlAttribFound - TRUE if model attribute found,
FALSE if model attribute was not found
loc - counter
Returns
Nothing
Side Effects
None
Description
This procedure will check to see if any model attributes are found for that model.
Dialog Forms Called
None
File Name
Syntax
ClearInvCategoryNBForm(VAL wHdl: WINDOW, VAL ClearList: BOOLEAN)
Parameters
wHdl - parent window handle
ClearList - TRUE all fields are cleared , FALSE only certain
fields are cleared
Returns
Nothing
Side Effects
None
Description
This procedure clears the category notebook form.
Dialog Forms Called
None
File Name
Syntax
FillComponentInfo(VAL node: TREENODE, VAL system_id: STRING)
Parameters
node - selected tree node
system_id - system id
Returns
Nothing
Side Effects
None
Description
This procedure will fill the component information for a specific system.
Dialog Forms Called
None
File Name
Syntax
FillModelPage(VAL wHdl: WINDOW, VAL h_object_id: STRING, VAL mode: STRING, REF NBPageList: LIST OF NBPageRec VAL supported: BOOLEAN)
Parameters
wHdl - window handle
h_object_id - category id
mode - mode of category form
NBPageList - list of NB Page records
supported - Indication if the currently selected node is supported
Returns
Nothing
Side Effects
None
Description
This procedure will fill the model information for a specific category.
Dialog Forms Called
None
File Name
Syntax
FillSCIMPage(VAL wHdl: WINDOW, VAL h_object_id: STRING, VAL mode: STRING, REF NBPageList: LIST OF NBPageRec, VAL supported: BOOLEAN)
Parameters
wHdl - parent window handle
h_object_id - category id
mode - current mode of category dialog
NBPageList - list of NB Page records
supported: Indication if the currently selected node is supported
Returns
Nothing
Side Effects
None
Description
This procedure will fill the SCIM information for a specific category.
Dialog Forms Called
None
File Name
Syntax
HandlePageChange(VAL FormName: STRING, REF BSR: HierarchyEventInstRec)
Parameters
FormName - name of current form
BSR - tree hierarchy event instance record
Returns
Nothing
Side Effects
None
Description
This procedure loads the model information or SCIM information depending on the form name.
Dialog Forms Called
None
File Name
Syntax
HandleScimTreeAccept(VAL wHdl: WINDOW, VAL node: TREENODE, VAL scimUserData: ScimUserDataRec)
Parameters
wHdl - window handle
node - selected tree node
scimUserData - ScimUserData record
Returns
Nothing
Side Effects
None
Description
This procedure loads component, model, or item information depending on what the user has selected (system , component, or item).
Dialog Forms Called
None
File Name
Syntax
HandleScimTreeSelect(VAL wHdl: WINDOW, VAL node:TREENODE)
Parameters
wHdl - parent window handle
node - selected tree node
Returns
Nothing
Side Effects
None
Description
This procedure will fill the current SCIM information for a for a selected node.
Dialog Forms Called
None
File Name
Syntax
InitializeInvCtgNBForm(REF BSR: HierarchyEventInstRec, REF ictg: H_ObjectRec, VAL action: STRING)
Parameters
BSR - tree hierarchy event instance record
ictg - category record
action - menu item action
Returns
Nothing
Side Effects
None
Description
This procedure initializes the inventory category notebook form differently depending upon the action supplied.
Dialog Forms Called
None
File Name
Syntax
SetAttribDef(VAL wHdl: WINDOW)
Parameters
wHdl - window handle
Returns
Nothing
Side Effects
None
Description
This procedure will display the correct attribute definition information on the category notebook form.
Dialog Forms Called
None
File Name
Syntax
SetIctgButtonsForModeMC (VAL wHdl: WINDOW, VAL mode: STRING, VAL modeForNode: STRING, VAL supported: BOOLEAN)
Parameters
wHdl - parent window handle
mode - mode of category form
modeForNode - mode of tree control
supported - TRUE if category select is supported
Returns
Nothing
Side Effects
None
Description
This procedure sets the state of the category buttons.
Dialog Forms Called
None
File Name
Syntax
SetModel(VAL wHdl: WINDOW, VAL mode: STRING, VAL CopyingNode: BOOLEAN)
Parameters
wHdl - window handle
mode - mode of category notebook
CopyingNode - TRUE if node is to be copied, FALSE if
node will not be copied
Returns
Nothing
Side Effects
None
Description
This procedure will display the correct model information on the category notebook form.
Dialog Forms Called
None
File Name
Syntax
SetModelAttribute(VAL wHdl: WINDOW)
Parameters
wHdl - window handle
Returns
Nothing
Side Effects
None
Description
This procedure will fill the model information for a selected model on the category notebook form.
Dialog Forms Called
None
File Name
Syntax
SetScimFields(VAL wHdl: WINDOW, VAL Scim_Translate:Scim_TranslateRec)
Parameters
wHdl - parent window handle
Scim_Translate - Scim_Translate record
Returns
Nothing
Side Effects
None
Description
This procedure will set the SCIM fields with the correct SCIM information.
Dialog Forms Called
None
File Name
Syntax
ViewInvCtgDetails(REF treerec: ExpandRec, VAL w: WINDOW)
Parameters
treerec: the instance record for all hierarchy manager dialogs
w: window handle
Returns
None
Side Effects
None
Description
This function displays the inventory category details.
Dialog Forms Called
tam_adm.dfc[inventorycategorynb]
tam_adm.dfc[inventorycategorynb_mc]