File Name
Syntax
R_AddChngAttachmentsToOldChng;
Parameters
None
Returns
None
Side Effects
None
Description
This routine adds change attachment records to the corresponding change on the AChanges stack.
Dialog Forms Called
None
File Name
Syntax
R_AreThereAnyModelsToBeApplied( VAL w: WINDOW, VAL temp_category_id: STRING, VAL temp_category: STRING ) IS
Parameters
w - Current window
temp_category_id - category ID
temp_category - category description
this_model - Current model record
Returns
None
Side Effects
None
Description
Depending whether there are 0, 1, or > 1 models, if any default models are defined, or if AdHoc data entry is allowed for this category, this routine will enable or make mandatory the model name field. A model pick list will also be generated for the user given certain conditions.
Dialog Forms Called
rmod.dfc[view_select_model]
File Name
Syntax
R_DefaultModelExists( VAL modelNameList: LIST OF R_MODEL_REC ): BOOLEAN IS
Parameters
modelNameList - list of model records
Returns
Boolean
Side Effects
None
Description
This routine walks through a list of model records to determine if a default model has already been set for this category.
Dialog Forms Called
None
File Name
Syntax
R_Enable_EditControls(VAL w: WINDOW, VAL mode: INTEGER, VAL status_id: STRING): INTEGER
Parameters
w - Current window
mode - Will equal edit or view mode
status_id - Current status ID
Returns
Integer
Side Effects
None
Description
This function sets dialog controls to their appropriate enabled or disabled state based upon mode or status type in the case of 'Freeze'.
Dialog Forms Called
None
File Name
Syntax
R_FillAssetChangesListBox(VAL wHdl: WINDOW, VAL Chng_Inv_VwList: LIST OF Chng_Inv_VwRec) IS
Parameters
wHdl - Current window handle
Chng_Inv_VwList - list of Chng_Inv_VwRec
Returns
None
Side Effects
None
Description
This routine fills the change list box for the inventory item on the asset notebook-changes page, or fills the change list box on the Associated Problems dialog when this dialog is invoked from the asset list.
Dialog Forms Called
None
File Name
Syntax
R_SetControlsToEditMode(VAL w: WINDOW, VAL mode: INTEGER): BOOLEAN
Parameters
w - Current window
statusType - Change request status type
mode - This will either be equivalent to edit or view
Returns
Boolean
Side Effects
None
Description
This routine disables change notebook controls when opening a request having a status type of 'Freeze'.
Dialog Forms Called
None
File Name
Syntax
R_ProblemSelect(REF probData: ProblemRecord) IS
Parameters
probData - Current problem record
Returns
Nothing
Side Effects
None
Description
This routine selects a problem to convert it into a change.
Dialog Forms Called
None
File Name
Syntax
R_SetControlsToEditMode(VAL w: WINDOW, VAL mode: INTEGER): BOOLEAN
Parameters
w WINDOW (VAL)
mode INTEGER (VAL)
Returns
Boolean
Side Effects
None
Description
Disable Change notebook controls when opening a change request being opened up in Edit mode.
Dialog Forms Called
None
File Name
Syntax
R_SetEditModeForControls(VAL w: WINDOW)
Parameters
w - Current window
Returns
None
Side Effects
None
Description
Set Change controls for edit mode.
Dialog Forms Called
None
File Name
Syntax
R_VerifyThereareNoActivities(VAL Change_ID: INTEGER): BOOLEAN IS
Parameters
Change_ID - ID of change to check
Returns
Boolean
Side Effects
None
Description
This routine determines if a change has any activities. FALSE is returned if there are activities, TRUE if there are NOT.
Dialog Forms Called
None