Routines for org_br.kb


BrowseOrganizations

File Name

org_br.kb

Syntax

BrowseOrganizations(VAL wHdl: WINDOW)

Parameters

wHdl - window handle of the calling dialog box

Returns

None

Side Effects

None

Description

This function allows the user to select an organization back to the calling dialog box.

Dialog Forms Called

org.dfc[organization]


ClearOrganizationForm

File Name

org_br.kb

Syntax

ClearOrganizationForm(VAL wHdl: WINDOW, VAL ClearMbrList: BOOLEAN)

Parameters

wHdl - handle of the calling event handler

ClearMbrList - flag indicating whether to clear the organization member list

Returns

None

Side Effects

None

Description

This procedure clears the data on the organization dialog box.

Dialog Forms Called

None


FillOrgCapabilitiesPage

File Name

org_br.kb

Syntax

FillOrgCapabilitiesPage(VAL wHdl: WINDOW, VAL organization_id: STRING, VAL mode: STRING, REF NBPageList: LIST OF NBPageRec, VAL supported: BOOLEAN)

Parameters

wHdl - handle of the calling event handler

organization_id - the organization ID that should be used to get the org capabilities

mode - the mode of the the node

NBPageList - the list of tabs for the dialog box

supported - indicates whether the user has support for the node

Returns

None

Side Effects

Sets the page as loaded in the NBPageList

Description

This procedure retrieves the organization capabilites

Dialog Forms Called

None


FillOrgSettingPage

File Name

org_br.kb

Syntax

FillOrgSettingPage(VAL wHdl: WINDOW, VAL organization_id: STRING, VAL mode: STRING, REF NBPageList: LIST OF NBPageRec VAL supported: BOOLEAN)

Parameters

wHdl - handle of the calling event handler

organization_id - the organization ID that should be used to get the org settings

mode - the mode of the the node

NBPageList - the list of tabs for the dialog box

supported - indicates whether the user has support for the node

Returns

None

Side Effects

Sets the page as loaded in the NBPageList

Description

This procedure retrieves the organization settings and sets the controls on this dialog box.

Dialog Forms Called

None


HandleOrganizationPageChange

File Name

org_br.kb

Syntax

HandleOrganizationPageChange(VAL FormName: STRING, REF BSR: HierarchyEventInstRec)

Parameters

FormName - the tab on the dialog box that has been selected

BSR - the event handler instance record

Returns

None

Side Effects

None

Description

This procedure calls a function to fill the data on the org_setting form if it has not yet been loaded.

Dialog Forms Called

None


InitializeOrgForm

File Name

org_br.kb

Syntax

InitializeOrgForm(VAL w: WINDOW, REF BSR: HierarchyEventInstRec, REF org: OrganizationRec, VAL action: STRING)

Parameters

w - handle of the calling event handler

BSR - instance record that contains information about the dialog box and the selected node

org - organization record

action - action taking place in the dialog box

Returns

None

Side Effects

None

Description

This function takes the selected node and places that data on the organization dialog box and into the org variable.

Dialog Forms Called

None


OrgNameTreeExitFieldProcessing

File Name

org_br.kb

Syntax

OrgNameTreeExitFieldProcessing(VAL wHdl: WINDOW, REF organization_name: STRING, REF old_organization_name: STRING, REF organization_id: STRING, VAL thisNode: TREENODE, VAL mode: STRING, VAL currentField: STRING, VAL nextField: STRING): INTEGER

Parameters

wHdl - handle of the calling event handler

organization_name - organization name entered on the field that needs to be processed

old_organization_name - the previous organization name entered on this field

organization_id - the organization_id that matches the completed organization name

thisNode - the currently selected node in the tree control

mode - the mode that the node is in

currentField - the field from which the partial organization name was retrieved

nextField - the next field that should be selected after the organization name is completed

Returns

The completed organization name - organization_name,

the old organization name - old_organization_name,

the organization ID for the completed organization name - organization_id,

and an integer value indicating the success of the name processing

Side Effects

If successfully completed, the cursor is set to the nextField.

Description

This function completes a partial organization name when entered in an entry box. This function should only be used in other tree control work with dialog boxes needed to complete an organization name.

Dialog Forms Called

None


SetOrganizationFields

File Name

org_br.kb

Syntax

SetOrganizationFields(VAL wHdl: WINDOW, VAL org: OrganizationRec, VAL mode: STRING)

Parameters

wHdl - handle of the calling event handler

org - the organization record

mode - current mode of action in the dialog box

Returns

None

Side Effects

None

Description

Based on the org.organization_id, the organization name and member list is populated.

Dialog Forms Called

None


SetOrgButtonsForModeMC

File Name

org_br.kb

Syntax

SetOrgButtonsForModeMC (VAL wHdl: WINDOW, VAL mode: STRING, VAL supported: BOOLEAN)

Parameters

wHdl - handle of the calling event handler

mode - the mode of the dialog - Edit or View

supported - this indicates whether the user has support for the node.

Returns

None

Side Effects

None

Description

This procedure disables the AddMemberButton and the OkButton when the current node is not supported. This function is called when a node is selected and when the initial data is inserted into the tree control in the work with Organizations dialog box.

Dialog Forms Called

None


SetOrgFormForMC

File Name

org_br.kb

Syntax

SetOrgFormForMC (VAL wHdl: WINDOW)

Parameters

wHdl - handle of the calling event handler

Returns

None

Side Effects

None

Description

This procedure enables the Asset Preference controls on the second tab of the Organization dialog box if TAM is installed. It also clears the field and fills the listbox with the list of preferences.

Dialog Forms Called

None


ViewOrgDetails

File Name

org_br.kb

Syntax

ViewOrgDetails(REF treerec: ExpandRec, VAL w: WINDOW

Parameters

treerec - record with organization information

w - window handle

Returns

None

Side Effects

None

Description

This function displays the details for an organization.

Dialog Forms Called

org.dfc[organizationnb]