File Name
Syntax
R_AddModalApprovals(VAL thisApproval: R_MO_APPROVAL_REC) IS
Parameters
w - Window handle
field_Name - Defines what button was pushed ["Edit" or "View"]
Returns
Nothing
Side Effects
None
Description
This procedure adds approval records for each approval record sent in for multi-selection.
Dialog Forms Called
people.dfc[peoplesearchuser]
rchg.dfc[attachments]
rchg.dfc[set_priority]
groups.dfc[groupform]
people.dfc[peoplenotebook]
rmod.dfc[task_notebook]
c_prnt.dfc[printchoice]
rmod.dfc[model_list]
rmod.dfc[model_notebook]
rmod.dfc[model_copy]
File Name
Syntax
R_AddModelGroupResource(VAL w: WINDOW, REF this_Resource: R_MO_RESOURCE_REC) IS
Parameters
w - Current window
this_Recource - Change Model Resource List
Returns
Nothing
Side Effects
None
Description
This routine adds a group to the change model resource list.
Dialog Forms Called
people.dfc[peoplesearchuser]
rchg.dfc[sub_attachments]
File Name
Syntax
R_AEVModelEvent(REF this_Model: R_MODEL_REC) IS
Parameters
this_Model - Current model record
Returns
Nothing
Side Effects
None
Description
This is the event handler for a model.
Dialog Forms Called
None
File Name
Syntax
R_CascadeModelApprovalMethod(VAL approvalType: INTEGER ): INTEGER IS
Parameters
approvalType - This is the Approval Method, where
- '1' or 'A' = Accepts All Activities
- '2' or 'B' = Depends On Activities
Returns
Nothing
Side Effects
None
Description
If you are changing the Approval Method, then that Approval Method will cascade throughout the model family.
Dialog Forms Called
None
File Name
Syntax
R_CheckForModelActivities(VAL Model_ID: INTEGER): BOOLEAN IS
Parameters
Model_ID - Model ID
Returns
Boolean
Side Effects
None
Description
This routine checks to see if there are Model Activities; TRUE is returned if activities are found.
Dialog Forms Called
None
File Name
Syntax
R_InitializeModelData(VAL w: WINDOW) IS
Parameters
w - Window handle
Returns
Nothing
Side Effects
None
Description
This routine initializes model data.
Dialog Forms Called
None
File Name
Syntax
R_InitializeModelImpact(VAL w: WINDOW) IS
Parameters
w - Window handle
Returns
Nothing
Side Effects
None
Description
This routine initializes model impacts.
Dialog Forms Called
rchg.dfc[sub_attachments]
File Name
Syntax
R_InitializeModelTask(VAL w: WINDOW) IS
Parameters
w - Window handle
Returns
Nothing
Side Effects
None
Description
This routine initializes the model task notebook.
Dialog Forms Called
None
File Name
Syntax
R_ModelAttachEvent(REF this_Model: R_MODEL_REC) IS
Parameters
this_Request - Current model record
Returns
Nothing
Side Effects
None
Description
This is the event handler for model file attachments.
Dialog Forms Called
None
File Name
Syntax
R_ModelCopyEvent(REF this_Model: R_MODEL_REC) IS
Parameters
this_Model - Current model record
Returns
Nothing
Side Effects
None
Description
This is the event handler for copying models.
Dialog Forms Called
None
File Name
Syntax
R_ModelExportEvent(REF this_ImportExport: R_IMPORTEXPORT_REC) IS
Parameters
this_ImportExport- Current export record
Returns
Nothing
Side Effects
None
Description
This is the event handler for exporting models.
Dialog Forms Called
None
File Name
Syntax
R_ModelFindEvent(REF this_Model: R_MODEL_REC) IS
Parameters
this_Model - Current model record
Returns
Nothing
Side Effects
None
Description
This is the event handler for finding models.
Dialog Forms Called
people.dfc[peoplesearchuser]
rmod.dfc[wwmodel]
File Name
Syntax
R_ModelImpactsAttachEvent(REF this_Impact: R_MO_IMPACT_REC) IS
Parameters
this_Impact - Current impact record
Returns
Nothing
Side Effects
None
Description
This is the event handler for impact file attachments.
Dialog Forms Called
None
File Name
Syntax
R_ModelImpactsEvent(REF this_Model: R_MODEL_REC) IS
Parameters
this_Model - Current model record
Returns
Nothing
Side Effects
None
Description
This is the event handler for working with model impacts.
Dialog Forms Called
None
File Name
Syntax
R_ModelImportEvent(REF this_ImportExport: R_IMPORTEXPORT_REC) IS
Parameters
this_ImportExport- Current import record
Returns
Nothing
Side Effects
None
Description
This is the event handler for importing models.
Dialog Forms Called
None
File Name
Syntax
R_ModelPriorityEvent(REF this_approval: R_MO_APPROVAL_REC) IS
Parameters
this_Approval - Current approval record
Returns
Nothing
Side Effects
None
Description
This is the event handler for updating an approver priority.
Dialog Forms Called
None
File Name
Syntax
R_ModelSchedulesAttachEvent(REF this_Task: R_MODEL_TASK_REC) IS
Parameters
this_Task - Current task record
Returns
Nothing
Side Effects
None
Description
This is the event handler for schedule file attachments.
Dialog Forms Called
None
File Name
Syntax
R_ModelTaskEvent(REF this_Model: R_MODEL_REC) IS
Parameters
this_Model - Current model record
Returns
Nothing
Side Effects
None
Description
This is the event handler for schedules.
Dialog Forms Called
None
File Name
Syntax
R_PerformModelActivityEditView(VAL w: WINDOW, VAL field_Name: STRING) IS
Parameters
w - Window handle
field_Name - what button was pressed upon calling this routine
Returns
Nothing
Side Effects
None
Description
Pending whether the View or Edit button was pressed for the respective model activity, the appropriate dialog will be painted and controls will be disabled.
Dialog Forms Called
rmod.dfc[model_notebook]
File Name
Syntax
R_PerformModelImpactEditView(VAL w: WINDOW, VAL field_Name: STRING) IS
Parameters
w - Window handle
field_Name - Defines what button was pushed ["Edit" or "View"]
Returns
Nothing
Side Effects
None
Description
This procedure determines what event handler needs to be called based upon the field_name passed-in.
Dialog Forms Called
None
File Name
Syntax
R_PerformModelRelation(VAL w: WINDOW, VAL field_Name: STRING) IS
Parameters
w - Window handle
field_Name - model relation to be applied
Returns
Nothing
Side Effects
None
Description
This routine applies a relationship between models.
Dialog Forms Called
None
File Name
Syntax
R_PerformModelTaskEditView(VAL w: WINDOW, VAL field_Name: STRING) IS
Parameters
w - Window handle
field_Name - what button was pressed upon calling this routine
Returns
Nothing
Side Effects
None
Description
Pending whether the View or Edit button was pressed for the respective model task, the appropriate dialog will be painted and controls will be disabled.
Dialog Forms Called
rmod.dfc[task_notebook]
File Name
Syntax
R_ProcessModelListEvent(REF this_Model: R_MODEL_REC) IS
Parameters
this_Model - Current model record
Returns
Nothing
Side Effects
None
Description
This is the event handler for selecting models.
Dialog Forms Called
None
File Name
Syntax
R_RequestEditModels IS
Parameters
None
Returns
Nothing
Side Effects
None
Description
This is a wrapper routine for the edit models system action.
Dialog Forms Called
rmod.dfc[model_find]
File Name
Syntax
R_RequestExportModel IS
Parameters
None
Returns
Nothing
Side Effects
None
Description
This is a wrapper routine for the export model system action.
Dialog Forms Called
rmod.dfc[export_func]
File Name
Syntax
R_RequestImportModel IS
Parameters
None
Returns
Nothing
Side Effects
None
Description
This is a wrapper routine for the import model system action.
Dialog Forms Called
rmod.dfc[import_func]
File Name
Syntax
R_RequestNewModel IS
Parameters
None
Returns
Nothing
Side Effects
None
Description
This is a wrapper routine for the new model system action.
Dialog Forms Called
rmod.dfc[model_notebook]
File Name
Syntax
R_ViewSelectModelEvent(REF this_Model: R_MODEL_REC) IS
Parameters
this_Model - Current model record
Returns
Nothing
Side Effects
None
Description
This is the event handler for Browsing and selecting models from the change notebook.
Dialog Forms Called
rmod.dfc[model_notebook]
File Name
Syntax
R_WWModelEvent(REF this_Model: R_MODEL_REC) I
Parameters
this_Model - Current model record
Returns
Nothing
Side Effects
None
Description
This is the event handler for working with models.
Dialog Forms Called
rmod.dfc[model_find]
c_prnt.dfc[printchoice]
rmod.dfc[model_notebook]