Routines for radmn_db.kb


R_CodeUsedByChanges

File Name

radmn_db.kb

Syntax

R_CodeUsedByChanges(VAL w: WINDOW, VAL field_Name: STRING, VAL type: INTEGER):BOOLEAN IS

Parameters

w - Current window

field_Name - Name of dialog box field

type - Type of code to check

Returns

Nothing

Side Effects

None

Description

This routine checks if the given code is being used by a change.

Dialog Forms Called

None


R_CodeUsedByModels

File Name

radmn_db.kb

Syntax

R_CodeUsedByModels(VAL w: WINDOW, VAL field_Name: STRING, VAL type: INTEGER):BOOLEAN IS

Parameters

w - Current window

field_Name - Name of dialog box field

type - Type of code to check

Returns

Boolean

Side Effects

None

Description

This routine checks whether the given code is being used by a model.

Dialog Forms Called

None


R_CommandRecordDatabase

File Name

radmn_db.kb

Syntax

R_CommandRecordDatabase(VAL InTran: BOOLEAN, VAL this_Command: R_COMMANDS_REC ): INTEGER IS

Parameters

InTran - Flag to determine if within a transaction

this_Command - Command record to be handled

Returns

Integer

Side Effects

None

Description

This routine handles the addition, modification, and removal of commands.

Dialog Forms Called

None


R_CommandUsedByChangeRule

File Name

radmn_db.kb

Syntax

R_CommandUsedByChangeRule(VAL w: WINDOW, VAL field_Name: STRING):BOOLEAN IS

Parameters

w - Current window

field_Name - Name of CCB MCLB

Returns

Boolean

Side Effects

None

Description

This routine finds change_id, model_id, and rule_id that uses a given command.

Dialog Forms Called

None


R_CreatePreferencesPage

File Name

radmn_db.kb

Syntax

R_CreatePreferencesPage(VAL w: WINDOW) IS

Parameters

w - Current window handle

Returns

Nothing

Side Effects

None

Description

This routine creates the preferences tab.

Dialog Forms Called

None


R_ImpCategoryRecordDatabase

File Name

radmn_db.kb

Syntax

R_ImpCategoryRecordDatabase(VAL InTran: BOOLEAN, VAL this_ImpCategory: R_IMP_CAT_REC, VAL old_ImpCategory: R_IMP_CAT_REC ): INTEGER IS

Parameters

InTran - Flag to determine if within a transaction

thisImpCategory - Impact code record to be handled

old_ImpCategory - Old record for database concurrency

Returns

Nothing

Side Effects

None

Description

This routine handles the addition, modification, and removal of impact codes.

Dialog Forms Called

None


R_LoadPrefValue

File Name

radmn_db.kb

Syntax

R_LoadPrefValue(VAL w: WINDOW, VAL syscfg: R_PreferencesRec) IS

Parameters

w - Current window handle

syscfg - preferences record structure

Returns

Nothing

Side Effects

None

Description

This routine loads the value for a single preference.

Dialog Forms Called

None


R_ParameterRecordDatabase

File Name

radmn_db.kb

Syntax

R_ParameterRecordDatabase(VAL InTran: BOOLEAN, VAL this_Parameter: R_PARAM_REC, VAL old_Parameter: R_PARAM_REC): INTEGER IS

Parameters

InTran - Flag to determine if within a transaction

this_Parameter - Parameter record to be handled

Returns

Nothing

Side Effects

None

Description

This routine handles the addition, modification, and removal of parameters.

Dialog Forms Called

None


R_RiskRecordDatabase

File Name

radmn_db.kb

Syntax

R_RiskRecordDatabase(VAL InTran: BOOLEAN, VAL this_Risk: R_RISK_REC, VAL old_Risk: R_RISK_REC): INTEGER IS

Parameters

InTran - Flag to determine if within a transaction

this_Risk - Risk record to be handled

old_Risk - Old record used for database concurrency

Returns

Nothing

Side Effects

None

Description

This routine handles the addition, modification, and removal of risk codes.

Dialog Forms Called

None


R_StatusRecordDatabase

File Name

radmn_db.kb

Syntax

R_StatusRecordDatabase(VAL InTran: BOOLEAN, VAL this_Status: R_STATUS_REC, VAL old_Status: R_STATUS_REC): INTEGER IS

Parameters

InTran - Flag to determine if within a transaction

this_Status - Status record to be handled

old_Status - Old record used for concurrency

Returns

Integer

Side Effects

None

Description

This routine handles the addition, modification, and removal of status codes.

Dialog Forms Called

None


R_UpdatePreferences

File Name

radmn_db.kb

Syntax

R_UpdatePreferences(VAL PREF_listbox: STRING, VAL contents: STRING) IS

Parameters

PREF_listbox - Preference name

contents - New preference setting

Returns

Nothing

Side Effects

None

Description

This routine updates the "PREFERENCES" table with a modified setting.

Dialog Forms Called

None