Routines for ictg_br.kb


BrowseInvCategories

File Name

ictg_br.kb

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]


BrowseInvCtgEvent

File Name

ictg_br.kb

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]


CheckIfHaveAttributes

File Name

ictg_br.kb

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


ClearInvCategoryNBForm

File Name

ictg_br.kb

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


FillComponentInfo

File Name

ictg_br.kb

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


FillModelPage

File Name

ictg_br.kb

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


FillSCIMPage

File Name

ictg_br.kb

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


HandlePageChange

File Name

ictg_br.kb

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


HandleScimTreeAccept

File Name

ictg_br.kb

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


HandleScimTreeSelect

File Name

ictg_br.kb

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


InitializeInvCtgNBForm

File Name

ictg_br.kb

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


SetAttribDef

File Name

ictg_br.kb

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


SetIctgButtonsForModeMC

File Name

ictg_br.kb

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


SetModel

File Name

ictg_br.kb

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


SetModelAttribute

File Name

ictg_br.kb

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


SetScimFields

File Name

ictg_br.kb

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


ViewInvCtgDetails

File Name

ictg_br.kb

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]