Routines for rmod_wf.kb


Model_PartialAK2PK

File Name

rmod_wf.kb

Syntax

Model_PartialAK2PK (display, prntWhdl, tableName, ak);

Parameters

ExpandRec - Key and description info for a tree record

WINDOW - Parent window handle

STRING - Table name for the object (for instance H_OBJECT)

STRING - Value user entered in the field.

Returns

ExpandRec - node the user selected or result of auto complete

Side Effects

None

Description

This routine performs the auto completion of the field when a user tabs out. If 1 match is found, then the field is set and a match is returned to the calling dialog. If 0 matches are found, then the user is given a warning and the option to continue editing the current field or to tab to the next field. If many matches are found, then the user will be presented a list of the matches from which they can choose.

Dialog Forms Called

rmod.dfc[view_select_model]


R_AddApprovalToOldModel

File Name

rmod_wf.kb

Syntax

R_AddApprovalToOldModel(VAL this_Approval: R_MO_APPROVAL_REC) IS

Parameters

this_Approval - Current approval record

Returns

Nothing

Side Effects

None

Description

This routine adds an approval record to the corresponding Model on the AModels stack.

Dialog Forms Called

None


R_AddCommandsToOldModelSchedule

File Name

rmod_wf.kb

Syntax

R_AddCommandsToOldModelSchedule IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine adds commands to the corresponding schedule on the AModels stack.

Dialog Forms Called

None


R_AddDependenciesToOldModelSchedule

File Name

rmod_wf.kb

Syntax

R_AddDependenciesToOldModelSchedule IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine adds dependencies to the corresponding schedule on the AModels stack.

Dialog Forms Called

None


R_AddImpactToOldModel

File Name

rmod_wf.kb

Syntax

R_AddImpactToOldModel(VAL this_Impact: R_MO_IMPACT_REC) IS

Parameters

this_Impact - Current Impact record

Returns

Nothing

Side Effects

None

Description

This routine adds an impact record to the corresponding Model on the AModels stack.

Dialog Forms Called

None


R_AddKeywordsToOldModelImpact

File Name

rmod_wf.kb

Syntax

R_AddKeywordsToOldModelImpact IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine adds keywords to the corresponding impact on the AModels stack.

Dialog Forms Called

None


R_AddModelAsActivity

File Name

rmod_wf.kb

Syntax

R_AddModelAsActivity IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine adds an existing model as an activity to a model.

Dialog Forms Called

None


R_AddModelAttachmentsToOldModel

File Name

rmod_wf.kb

Syntax

R_AddModelAttachmentsToOldModel IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine adds model attachment records to the corresponding model on the AModels stack.

Dialog Forms Called

None


R_AddOldModelToList

File Name

rmod_wf.kb

Syntax

R_AddOldModelToList(VAL this_Model: R_MODEL_REC) IS

Parameters

this_Model - Current model record

Returns

Nothing

Side Effects

None

Description

This routine adds model record to the corresponding model list on the AModels stack.

Dialog Forms Called

None


R_AddResourcesToOldModelSchedule

File Name

rmod_wf.kb

Syntax

R_AddResourcesToOldModelSchedule IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine adds resources to the corresponding schedule on the AModels stack.

Dialog Forms Called

None


R_AddSchedulesToOldModel

File Name

rmod_wf.kb

Syntax

R_AddSchedulesToOldModel IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine adds schedule records to the corresponding Model on the AModels stack.

Dialog Forms Called

None


R_AddScheduleToOldModel

File Name

rmod_wf.kb

Syntax

R_AddScheduleToOldModel(VAL this_Task: R_MODEL_TASK_REC) IS

Parameters

this_Task - Current task record

Returns

Nothing

Side Effects

None

Description

This routine adds a task record to the corresponding Model on the AModels stack.

Dialog Forms Called

None


R_AddTextToOldModelImpact

File Name

rmod_wf.kb

Syntax

R_AddTextToOldModelImpact IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine adds text record to the corresponding impact on the AModels stack.

Dialog Forms Called

None


R_AddTextToOldModelSchedule

File Name

rmod_wf.kb

Syntax

R_AddTextToOldModelSchedule IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine adds text record to the corresponding schedule on the AModels stack.

Dialog Forms Called

None


R_CheckForDeleteableModelTask

File Name

rmod_wf.kb

Syntax

R_CheckForDeleteableModelTask: BOOLEAN IS

Parameters

None

Returns

Boolean

Side Effects

None

Description

This routine determines if the relation has been deleted.

Dialog Forms Called

None


R_CheckForModelActivity

File Name

rmod_wf.kb

Syntax

R_CheckForModelActivity: BOOLEAN IS

Parameters

None

Returns

Boolean

Side Effects

None

Description

This routine checks to see if the model is a activity.

Dialog Forms Called

None


R_CheckForModelDuplicateDependency

File Name

rmod_wf.kb

Syntax

R_CheckForModelDuplicateDependency(VAL name: STRING, VAL type: INTEGER): BOOLEAN IS

Parameters

name - Name of record to check

relation - Dependency relationship

type - Type of record to check

Returns

Boolean

Side Effects

None

Description

This routine determines if the dependency is a duplicate.

Dialog Forms Called

None


R_CheckForNoPossModelScheduleDependencyLoop

File Name

rmod_wf.kb

Syntax

R_CheckForNoPossModelScheduleDependencyLoop( VAL this_Dependency: R_MO_DEPENDENCY_REC, VAL dependencyList: LIST OF R_MO_DEPENDENCY_REC): BOOLEAN IS

Parameters

this_Dependency - the dependency being looked for

dependencyList - list of dependencies

Returns

Boolean

Side Effects

None

Description

This routine checks for a dependency loop.

Dialog Forms Called

None


R_CheckModelNameandCategoryConstraint

File Name

rmod_wf.kb

Syntax

R_CheckModelNameandCategoryConstraint(VAL w: WINDOW, VAL current_model: R_MODEL_REC): BOOLEAN IS

Parameters

this_model - model record

Returns

Boolean

Side Effects

None

Description

This function checks, programmatically, to see if there exists a model record in the DB such that Category = this_model.Category and Model_Name = this_model.Model_Name.

Dialog Forms Called

None


R_ClearModelAlterFlags

File Name

rmod_wf.kb

Syntax

R_ClearModelAlterFlags IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine clears the alter flags for a model.

Dialog Forms Called

None


R_ClearModelImpactAlterFlags

File Name

rmod_wf.kb

Syntax

R_ClearModelImpactAlterFlags(REF this_Impact: R_MO_IMPACT_REC) IS

Parameters

this_Impact - Model impact record

Returns

Nothing

Side Effects

None

Description

This routine clears the alter flags for a model Impact.

Dialog Forms Called

None


R_ClearModelScheduleAlterFlags

File Name

rmod_wf.kb

Syntax

R_ClearModelScheduleAlterFlags(REF this_Task: R_MODEL_TASK_REC) IS

Parameters

this_Task - Model task record

Returns

Nothing

Side Effects

None

Description

This routine clears the alter flags for a model's task.

Dialog Forms Called

None


R_CompleteModelPartialAK

File Name

rmod_wf.kb

Syntax

R_CompleteModelPartialAK(VAL w: WINDOW, REF id: STRING, VAL table: STRING, VAL field: STRING, VAL nextField: STRING, REF oldAK: STRING): INTEGER IS

Parameters

w - Current window handle

id - people ID

table - Database table where corresponding ID and corresponding text value to be returned are located

field - field being auto-filled

nextField - field to move focus to upon completion of autofill

oldAK - old text field value

Returns

Integer

Side Effects

None

Description

This routine retrieves the complete text value for a given ID and populates it into the appropriate text box.

Dialog Forms Called

None


R_Exit_ModelBrowserField

File Name

rmod_wf.kb

Syntax

R_Exit_ModelBrowserField(VAL w: WINDOW, VAL field: STRING, VAL nextField: STRING, VAL table: STRING, REF id: STRING, REF oldAK: STRING): INTEGER IS

Parameters

w - Current window handle

id - people ID

table - Database table where corresponding ID and corresponding text value to be returned are located

field - field being auto-filled

nextField - field to move focus to upon completion of autofill

oldAK - old text field value

Returns

Integer

Side Effects

None

Description

Upon exiting a browser field, this routine is called. If thisAK <> oldAK then RCompletePartialAK is called.

Dialog Forms Called

None


R_ExportModelsFromFile

File Name

rmod_wf.kb

Syntax

R_ExportModelsFromFile(VAL logHdl: FILE, VAL this_ImportExport: R_IMPORTEXPORT_REC ): INTEGER IS

Parameters

this_ImportExport - Current export record

Returns

Integer

Side Effects

None

Description

This routine exports models to a file.

Dialog Forms Called

None


R_FindSuccsr

File Name

rmod_wf.kb

Syntax

R_FindSuccsr(VAL TaskName: STRING): INTEGER IS

Parameters

TaskName - task name

Returns

Integer

Side Effects

None

Description

This routine finds the list position for the model task name passed-in.

Dialog Forms Called

None


R_GetActivityChildListFromDatabase

File Name

rmod_wf.kb

Syntax

R_GetActivityChildListFromDatabase(REF activityList: LIST OF INTEGER, VAL Model_ID: INTEGER) IS

Parameters

activityList - list of activities (change requests)

Model_ID -

Returns

Nothing

Side Effects

None

Description

This routine gets an activity child list from the database.

Dialog Forms Called

None


R_GetActivityListFromActivities

File Name

rmod_wf.kb

Syntax

R_GetActivityListFromActivities(REF activityList: LIST OF INTEGER) IS

Parameters

activityList - list of activities (change requests)

Returns

Nothing

Side Effects

None

Description

This routine creates a list of activity model_ids from R_G_SModle.Activities.

Dialog Forms Called

None


R_GetActivityListFromDatabase

File Name

rmod_wf.kb

Syntax

R_GetActivityListFromDatabase(REF activityList: LIST OF INTEGER) IS

Parameters

activityList - list of activities

Returns

Nothing

Side Effects

None

Description

This routine retrieves a list of activities from the database.

Dialog Forms Called

None


R_GetActivityParentListFromDatabase

File Name

rmod_wf.kb

Syntax

R_GetActivityParentListFromDatabase(REF activityList: LIST OF INTEGER VAL Model_ID: INTEGER) IS

Parameters

activityList - list of activities (change requests)

Model_ID -

Returns

Nothing

Side Effects

None

Description

This routine gets an activity parent list from the database.

Dialog Forms Called

None


R_GetActivityStringForModel

File Name

rmod_wf.kb

Syntax

R_GetActivityStringForModel(REF AString: STRING) IS

Parameters

this_Model - Current model record

Returns

Nothing

Side Effects

None

Description

This routine retrieves the list of models which are already activities.

Dialog Forms Called

None


R_GetCurrModelImpactIndex

File Name

rmod_wf.kb

Syntax

R_GetCurrModelImpactIndex(VAL w: WINDOW, VAL field_Name: STRING): INTEGER IS

Parameters

w - Current window

field_Name - Name of impact MCLB

Returns

Integer

Side Effects

None

Description

This routine finds the index for the impact record matching the MCLB.

Dialog Forms Called

None


R_GetCurrModelSchedIndex

File Name

rmod_wf.kb

Syntax

R_GetCurrModelSchedIndex(VAL w: WINDOW, VAL field_Name: STRING): INTEGER IS

Parameters

w - Current window

field_Name - Name of the task MCLB

Returns

Nothing

Side Effects

None

Description

This routine finds the index for the task record matching the MCLB.

Dialog Forms Called

None


R_GetIndexMatchingRecordID

File Name

rmod_wf.kb

Syntax

R_GetIndexMatchingRecordID(VAL Field_Name: STRING, VAL type: INTEGER) IS

Parameters

Field_Name - Name of MCLB

type - Type of component

Returns

Nothing

Side Effects

None

Description

This routine finds the index of a model component matching the MCLB.

Dialog Forms Called

None


R_GetModelApprovalMatchingMCLB

File Name

rmod_wf.kb

Syntax

R_GetModelApprovalMatchingMCLB(VAL w: WINDOW, VAL field_Name: STRING, REF this_Approval: R_MO_APPROVAL_REC): INTEGER IS

Parameters

w - Current window

field_Name - Name of approval MCLB

Returns

Integer

Side Effects

None

Description

This routine finds the index for the approval record matching the MCLB.

Dialog Forms Called

None


R_GetModelAttachmentMatchingMCLB

File Name

rmod_wf.kb

Syntax

R_GetModelAttachmentMatchingMCLB(VAL w: WINDOW, VAL field_Name: STRING, REF this_Attachment: R_MO_ATTACHMENT_REC): INTEGER IS

Parameters

w - Current window

field_Name - Name of MCLB

Returns

Integer

Side Effects

None

Description

This routine finds the index for the attachment record matching the MCLB.

Dialog Forms Called

None


R_GetModelImpactMatchingMCLB

File Name

rmod_wf.kb

Syntax

R_GetModelImpactMatchingMCLB(VAL w: WINDOW, VAL field_Name: STRING, REF this_Impact: R_MO_IMPACT_REC): INTEGER IS

Parameters

w - Current window

field_Name - Name of impact MCLB

Returns

Nothing

Side Effects

None

Description

This routine finds the index for the impact record matching the MCLB.

Dialog Forms Called

None


R_GetModelListIndex

File Name

rmod_wf.kb

Syntax

R_GetModelListIndex(VAL Models: LIST OF R_MODEL_REC, VAL ID: INTEGER): INTEGER IS

Parameters

Models - List of models

ID - ID of model

Returns

Integer

Side Effects

None

Description

This routine gets an index of the model record matching specified ID.

Dialog Forms Called

None


R_GetModelMatchingMCLB

File Name

rmod_wf.kb

Syntax

R_GetModelMatchingMCLB(VAL w: WINDOW,VAL field_Name: STRING, REF this_Model: R_MODEL_REC): INTEGER IS

Parameters

w - Current window

field_Name - Name of Model MCLB

Returns

Nothing

Side Effects

None

Description

This routine finds the model record matching the MCLB.

Dialog Forms Called

None


R_GetModelScheduleMatchingMCLB

File Name

rmod_wf.kb

Syntax

R_GetModelScheduleMatchingMCLB(VAL w: WINDOW, VAL field_Name: STRING, REF this_Task: R_MODEL_TASK_REC): INTEGER IS

Parameters

w - Current window

field_Name - Name of the task MCLB

Returns

Integer

Side Effects

None

Description

This routine finds the index for the task record matching the MCLB.

Dialog Forms Called

None


R_ImportModelsFromFile

File Name

rmod_wf.kb

Syntax

R_ImportModelsFromFile(VAL logHdl: FILE, VAL this_ImportExport: R_IMPORTEXPORT_REC ): INTEGER IS

Parameters

this_ImportExport - Current import record

logHdl - Handle to error log file

Returns

Integer

Side Effects

None

Description

This routine imports models from a file.

Dialog Forms Called

None


R_InitializeModelDDE

File Name

rmod_wf.kb

Syntax

R_InitializeModelDDE(VAL msgHdl: WINDOW): INTEGER IS

Parameters

msgHdl - Window handle to DDE Status Window

Returns

Integer

Side Effects

None

Description

This routine sends model information to MS Project.

Dialog Forms Called

None


R_LoadActivityStructureForModel

File Name

rmod_wf.kb

Syntax

R_LoadActivityStructureForModel: INTEGER IS

Parameters

None

Returns

Integer

Side Effects

None

Description

This routine retrieves model activities from the database.

Dialog Forms Called

None


R_ModelScheduleLoopExists

File Name

rmod_wf.kb

Syntax

R_ModelScheduleLoopExists(VAL this_Dependency: R_MO_DEPENDENCY_REC, VAL dependencyList: LIST OF R_MO_DEPENDENCY_REC): BOOLEAN IS

Parameters

this_Dependency - Current dependency record

dependencyList - List of dependencies to check

Returns

Boolean

Side Effects

None

Description

This routine checks to see if a loop exists in the schedule dependencies.

Dialog Forms Called

None


R_ModifyAllModelIds

File Name

rmod_wf.kb

Syntax

R_ModifyAllModelIds IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine gets new IDs for all model components.

Dialog Forms Called

None


R_MPX_Numeric_Task_Def

File Name

rmod_wf.kb

Syntax

R_MPX_Numeric_Task_Def(VAL MPXFile: FILE): INTEGER IS

Parameters

MPXFile - MSProject file name ( MPX format )

Returns

Integer

Side Effects

None

Description

This routine writes numeric task definitions to MPX file.

Dialog Forms Called

None


R_MPX_Settings

File Name

rmod_wf.kb

Syntax

R_MPX_Settings(VAL MPXFile: FILE) IS

Parameters

MPXFile - MSProject file name ( MPX format )

Returns

Nothing

Side Effects

None

Description

This routine writes default settings to the MPX file.

Dialog Forms Called

None


R_MPX_Task_Res

File Name

rmod_wf.kb

Syntax

R_MPX_Task_Res(VAL MPXFile: FILE, VAL thisResource: R_MO_RESOURCE_REC, VAL rscId: INTEGER): INTEGER IS

Parameters

MPXFile -

thisResource -

rscId -

Returns

Integer

Side Effects

None

Description

This routine writes task resources to MPX file.

Dialog Forms Called

None


R_MPX_Tasks

File Name

rmod_wf.kb

Syntax

R_MPX_Tasks(VAL MPXFile: FILE, VAL thisSchedule: R_MODEL_TASK_REC, VAL id: INTEGER): INTEGER IS

Parameters

MPXFile -

thisSchedule -

id -

Returns

Integer

Side Effects

None

Description

This routine writes tasks to an MPX file.

Dialog Forms Called

None


R_MPX_WriteFileModel

File Name

rmod_wf.kb

Syntax

R_MPX_WriteFileModel(VAL Schedules: LIST OF R_MODEL_TASK_REC, VAL id: INTEGER): INTEGER IS

Parameters

Schedules - list of schedules

id -

Returns

Integer

Side Effects

None

Description

This routine writes a model to an MPX file for DDE with MSProject.

Dialog Forms Called

None


R_ParseModelLineIntoApproval

File Name

rmod_wf.kb

Syntax

R_ParseModelLineIntoApproval(VAL logHdl: FILE, VAL fileLine: STRING) IS

Parameters

logHdl -

fileLine -

Returns

Nothing

Side Effects

None

Description

This routine parses a model line into approval.

Dialog Forms Called

None


R_ParseModelLineIntoImpact

File Name

rmod_wf.kb

Syntax

R_ParseModelLineIntoImpact(VAL logHdl: FILE, VAL fileLine: STRING) IS

Parameters

logHdl -

fileLine -

Returns

Nothing

Side Effects

None

Description

This routine parses a model line into impact.

Dialog Forms Called

None


R_ParseModelLineIntoImpactKeyword

File Name

rmod_wf.kb

Syntax

R_ParseModelLineIntoImpactKeyword(VAL logHdl: FILE, VAL fileLine: STRING) IS

Parameters

logHdl -

fileLine -

Returns

Nothing

Side Effects

None

Description

This routine parses a model line into impact keyword.

Dialog Forms Called

None


R_ParseModelLineIntoModel

File Name

rmod_wf.kb

Syntax

R_ParseModelLineIntoModel(VAL logHdl: FILE, VAL fileLine: STRING) IS

Parameters

logHdl -

fileLine -

Returns

Nothing

Side Effects

None

Description

This routine parses a model line into model.

Dialog Forms Called

None


R_ParseModelLineIntoSchedCommand

File Name

rmod_wf.kb

Syntax

R_ParseModelLineIntoSchedCommand(VAL logHdl: FILE, VAL fileLine: STRING) IS

Parameters

logHdl -

fileLine -

Returns

Nothing

Side Effects

None

Description

This routine parses a model line into schedule command.

Dialog Forms Called

None


R_ParseModelLineIntoSchedDependency

File Name

rmod_wf.kb

Syntax

R_ParseModelLineIntoSchedDependency(VAL logHdl: FILE, VAL fileLine: STRING) IS

Parameters

logHdl -

fileLine -

Returns

Nothing

Side Effects

None

Description

This routine parses a model line into schedule dependency.

Dialog Forms Called

None


R_ParseModelLineIntoSchedResource

File Name

rmod_wf.kb

Syntax

R_ParseModelLineIntoSchedResource(VAL logHdl: FILE, VAL fileLine: STRING) IS

Parameters

logHdl -

fileLine -

Returns

Nothing

Side Effects

None

Description

This routine parses a model line into schedule resource.

Dialog Forms Called

None


R_ParseModelLineIntoSchedule

File Name

rmod_wf.kb

Syntax

R_ParseModelLineIntoSchedule(VAL logHdl: FILE, VAL fileLine: STRING) IS

Parameters

logHdl -

fileLine -

Returns

Nothing

Side Effects

None

Description

This routine parses a model line into schedule.

Dialog Forms Called

None


R_PerformModelEditViewCopy

File Name

rmod_wf.kb

Syntax

R_PerformModelEditViewCopy(VAL w: WINDOW, VAL field_Name: STRING) IS

Parameters

w - Window handle

field_Name - Defines what you are doing with a given model:

Copying, Viewing, or Editing.

Returns

Nothing

Side Effects

None

Description

This routine determines whether you are copying, viewing, or editing a model then calls the appropriate dialog and event handler.

Dialog Forms Called

rmod.dfc[model_copy]

rmod.dfc[model_notebook]


R_Process_AEV_ForModel

File Name

rmod_wf.kb

Syntax

R_Process_AEV_ForModel( VAL w: WINDOW, VAL fieldName: STRING, REF this_Model: R_MODEL_REC, VAL forceCategoryCode: STRING ): INTEGER IS

Parameters

w - Current window

fieldName - Current field name

this_Model - Current model record

forceCategoryCode - category code

Returns

Integer

Side Effects

None

Description

This function handles the adding, editing, viewing, and deleting processes for a model.

Dialog Forms Called

rmod.dfc[model_notebook]


R_ProcessExportEntryFields

File Name

rmod_wf.kb

Syntax

R_ProcessExportEntryFields(VAL w: WINDOW, REF this_ImportExport: R_IMPORTEXPORT_REC, VAL type: INTEGER) IS

Parameters

w - Current window

this_ImportExport - Current import record

type - Type of interaction to R_Perform

Returns

Nothing

Side Effects

None

Description

This routine handles the screen interactions for exporting.

Dialog Forms Called

None


R_ProcessImportEntryFields

File Name

rmod_wf.kb

Syntax

R_ProcessImportEntryFields(VAL w: WINDOW, REF this_ImportExport: R_IMPORTEXPORT_REC, VAL type: INTEGER) IS

Parameters

w - Current window

this_ImportExport - Current import record

type - Type of interaction to R_Perform

Returns

Nothing

Side Effects

None

Description

This routine handles the screen interactions for importing.

Dialog Forms Called

None


R_ProcessModelAttachmentEntryFields

File Name

rmod_wf.kb

Syntax

R_ProcessModelAttachmentEntryFields(VAL w: WINDOW, REF this_Attachment: R_MO_ATTACHMENT_REC, VAL type: INTEGER) IS

Parameters

w - Current window

this_Attachment - Current attachment record

type - Type of interaction to R_Perform

Returns

Nothing

Side Effects

None

Description

This routine handles the screen interactions with attachments.

Dialog Forms Called

None


R_ProcessModelCopyEntryFields

File Name

rmod_wf.kb

Syntax

R_ProcessModelCopyEntryFields(VAL w: WINDOW, REF this_CopyModel: R_MODEL_REC, VAL type: INTEGER) IS

Parameters

w - Current window

this_CopyModel - Current model copy record

type - Type of interaction to R_Perform

Returns

Nothing

Side Effects

None

Description

This routine handles the screen interactions for copying models.

Dialog Forms Called

None


R_ProcessModelDDE

File Name

rmod_wf.kb

Syntax

R_ProcessModelDDE(VAL isActivity: BOOLEAN): INTEGER IS

Parameters

isActivity - Boolean

Returns

Integer

Side Effects

None

Description

Handles DDE processing for models.

Dialog Forms Called

None


R_ProcessModelEntryFields

File Name

rmod_wf.kb

Syntax

R_ProcessModelEntryFields(VAL w: WINDOW, VAL type: INTEGER) IS

Parameters

w - Current window

type - Type of interaction to R_Perform

Returns

Nothing

Side Effects

None

Description

This routine handles the screen interactions for models.

Dialog Forms Called

None


R_ProcessModelFindEntryFields

File Name

rmod_wf.kb

Syntax

R_ProcessModelFindEntryFields(VAL w: WINDOW, REF this_FindModel: R_FIND_MODEL_REC, VAL type: INTEGER) IS

Parameters

w - Current window

this_FindModel - Current model find record

type - Type of interaction to R_Perform

Returns

Nothing

Side Effects

None

Description

This routine handles the screen interactions for finding models.

Dialog Forms Called

None


R_ProcessModelImpactEntryFields

File Name

rmod_wf.kb

Syntax

R_ProcessModelImpactEntryFields(VAL w: WINDOW, REF this_Impact: R_MO_IMPACT_REC, VAL type: INTEGER) IS

Parameters

w - Current window

this_Impact - Current impact record

type - Type of interaction to R_Perform

Returns

Nothing

Side Effects

None

Description

This routine handles the screen interactions for impacts.

Dialog Forms Called

None


R_ProcessModelKeywordsEntryFields

File Name

rmod_wf.kb

Syntax

R_ProcessModelKeywordsEntryFields(VAL w: WINDOW, REF this_ImpKeyword: R_MO_KEYWORDS_REC, VAL type: INTEGER) IS

Parameters

w - Current window

this_ImpKeyword - Current impact keyword record

type - Type of interaction to R_Perform

Returns

Nothing

Side Effects

None

Description

This routine handles the screen interactions for model keywords.

Dialog Forms Called

None


R_ProcessModelResourceEntryFields

File Name

rmod_wf.kb

Syntax

R_ProcessModelResourceEntryFields(VAL w: WINDOW, REF this_Resource: R_MO_RESOURCE_REC, VAL type: INTEGER) IS

Parameters

w - Current window

this_Resource - Current resource record

type - Type of interaction to R_Perform

Returns

Nothing

Side Effects

None

Description

This routine handles the screen interactions for resources.

Dialog Forms Called

None


R_ProcessModelSchedCommandEntryFields

File Name

rmod_wf.kb

Syntax

R_ProcessModelSchedCommandEntryFields(VAL w: WINDOW, REF this_SchedCommand: R_MO_SCHED_COMMANDS_REC, VAL type: INTEGER) IS

Parameters

w - Current window

this_SchedCommand - Current schedule command record

type - Type of interaction to R_Perform

Returns

Nothing

Side Effects

None

Description

This routine handles the screen interactions for schedule commands.

Dialog Forms Called

None


R_ProcessModelScheduleEntryFields

File Name

rmod_wf.kb

Syntax

R_ProcessModelScheduleEntryFields(VAL w: WINDOW, REF this_Task: R_MODEL_TASK_REC, VAL type: INTEGER) IS

Parameters

w - Current window

this_Task - Current task record

type - Type of interaction to R_Perform

Returns

Nothing

Side Effects

None

Description

This routine handles the screen interactions for schedules.

Dialog Forms Called

None


R_RemoveModelFromActivitiesStack

File Name

rmod_wf.kb

Syntax

R_RemoveModelFromActivitiesStack( VAL this_Model: EE_Model_Rec) IS

Parameters

A_Index - Index for activities associated with the model

Returns

Nothing

Side Effects

None

Description

This routine removes an existing model as an activity of a model from the activities stack.

Dialog Forms Called

None


R_SendSingleModel

File Name

rmod_wf.kb

Syntax

R_SendSingleModel(VAL msgHdl: WINDOW, VAL isActivity: BOOLEAN): INTEGER IS

Parameters

msgHdl - Window Handler

isActivity - Boolean

Returns

Integer

Side Effects

None

Description

Sends a message to the DDE Event Handler.

Dialog Forms Called

None


R_UpdateModelActivityToScheduleTasks

File Name

rmod_wf.kb

Syntax

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

Parameters

w - Current window

field_Name - Name of the task MCLB

type - Type of tasl to add

Returns

Nothing

Side Effects

None

Description

This routine makes a scheduled task in the parent for the activity.

Dialog Forms Called

None


R_UpdateModelApprovalsList

File Name

rmod_wf.kb

Syntax

R_UpdateModelApprovalsList(VAL this_Approval: R_MO_APPROVAL_REC) IS

Parameters

this_Approval - Current approval record

Returns

Nothing

Side Effects

None

Description

This routine handles the addition, modification and deletion of approvals.

Dialog Forms Called

None


R_UpdateModelAttachmentList

File Name

rmod_wf.kb

Syntax

R_UpdateModelAttachmentList(VAL this_Attachment: R_MO_ATTACHMENT_REC) IS

Parameters

this_Attachment - Current attachment record

Returns

Nothing

Side Effects

None

Description

This routine handles the addition, modification and deletion of attachments.

Dialog Forms Called

None


R_UpdateModelDependencyList

File Name

rmod_wf.kb

Syntax

R_UpdateModelDependencyList(VAL this_Dependency: R_MO_DEPENDENCY_REC) IS

Parameters

this_Dependency - Current dependency record

Returns

Nothing

Side Effects

None

Description

This routine handles the addition, modification and deletion of dependencies.

Dialog Forms Called

None


R_UpdateModelImpactsList

File Name

rmod_wf.kb

Syntax

R_UpdateModelImpactsList(VAL this_Impact: R_MO_IMPACT_REC) IS

Parameters

this_Impact - Current impact record

Returns

Nothing

Side Effects

None

Description

This routine handles the addition, modification and deletion of impacts.

Dialog Forms Called

None


R_UpdateModelImpCategoryForAttached

File Name

rmod_wf.kb

Syntax

R_UpdateModelImpCategoryForAttached(REF this_Impact: R_MO_IMPACT_REC, VAL old_Category: STRING) IS

Parameters

this_Impact - Current impact record

old_Category - Previous category code

Returns

Nothing

Side Effects

None

Description

This routine sets the impact category for impact keywords.

Dialog Forms Called

None


R_UpdateModelImpKeywordsList

File Name

rmod_wf.kb

Syntax

R_UpdateModelImpKeywordsList( VAL this_ImpKeyword: R_MO_KEYWORDS_REC) IS

Parameters

this_ImpKeyword - Current impact keyword record

Returns

Nothing

Side Effects

None

Description

This routine handles the addition, modification and deletion of keywords.

Dialog Forms Called

None


R_UpdateModelList

File Name

rmod_wf.kb

Syntax

R_UpdateModelList IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine handles the addition, modification and deletion of models.

Dialog Forms Called

None


R_UpdateModelResourceList

File Name

rmod_wf.kb

Syntax

R_UpdateModelResourceList(VAL this_Resource: R_MO_RESOURCE_REC) IS

Parameters

this_Resource - Current resource record

Returns

Nothing

Side Effects

None

Description

This routine handles the addition, modification and deletion of resources.

Dialog Forms Called

None


R_UpdateModelSchedCommandList

File Name

rmod_wf.kb

Syntax

R_UpdateModelSchedCommandList( VAL this_Command: R_MO_SCHED_COMMANDS_REC) IS

Parameters

this_Command - Current schedule command record

Returns

Nothing

Side Effects

None

Description

This routine handles the addition, modification and deletion of schedule commands.

Dialog Forms Called

None


R_UpdateModelSchedNameForAttached

File Name

rmod_wf.kb

Syntax

R_UpdateModelSchedNameForAttached(REF this_Task: R_MODEL_TASK_REC, VAL old_Sched_Name: STRING) IS

Parameters

this_Task - Current scheduled task record

old_Sched_Name - Previous task name

Returns

Nothing

Side Effects

None

Description

This routine sets the scheduled task Name for schedule components.

Dialog Forms Called

None


R_UpdateModelScheduleList

File Name

rmod_wf.kb

Syntax

R_UpdateModelScheduleList(VAL this_Task: R_MODEL_TASK_REC) IS

Parameters

this_Task - Current task record

Returns

Nothing

Side Effects

None

Description

This routine handles the addition, modification and deletion of scheduled tasks.

Dialog Forms Called

None


R_WriteModelToFile

File Name

rmod_wf.kb

Syntax

R_WriteModelToFile(VAL logHdl: FILE, VAL fHdl: FILE) IS

Parameters

logHdl -

fHdl -

Returns

Nothing

Side Effects

None

Description

This routine writes a model to a file.

Dialog Forms Called

None