File Name
Syntax
R_ComputeStatistics(REF StatRec: R_STATS_REC) IS
Parameters
StatRec - Current statistics record
Returns
Nothing
Side Effects
None
Description
This routine generates statistics for changes matching the selection criteria.
Dialog Forms Called
None
File Name
Syntax
R_ConvertStatIDsToData(VAL findChangeRec: R_FIND_CHANGE_REC, REF Category: STRING, REF AssignedTo: STRING, REF CostCenter: STRING, REF Group: STRING, REF location: STRING) IS
Parameters
findChangeRec - Current find record
Category - Current category description
AssignedTo - Current assigned to people record
CostCenter - Current cost center organization record
Group - Current responsible group record
Location - Current location name
Returns
Nothing
Side Effects
None
Description
This routine returns statistic names from IDs.
Dialog Forms Called
None
File Name
Syntax
R_CountChangesByType(VAL Type: STRING): INTEGER IS
Parameters
Type - Type of status to tally by.
Returns
Nothing
Side Effects
None
Description
This routine tallies changes by status type.
Dialog Forms Called
None
File Name
Syntax
R_CountChangesOverBudget(VAL Amount: REAL, VAL TestAmount: BOOLEAN): INTEGER IS
Parameters
Amount - Base amount
TestAmount - Flag to determine whether over amount
Returns
Nothing
Side Effects
None
Description
This routine tallies the number of changes that are over budget.
Dialog Forms Called
None
File Name
Syntax
R_CountLateChanges: INTEGER IS
Parameters
None
Returns
Nothing
Side Effects
None
Description
This routine tallies the number of late changes.
Dialog Forms Called
None
File Name
Syntax
R_CountLateSchedules(VAL Schedule_List: LIST OF R_TASK_REC ): INTEGER IS
Parameters
Schedule_List - list of schedule records for a change
Returns
Integer
Side Effects
None
Description
This routine checks to see if the change is late.
Dialog Forms Called
None
File Name
Syntax
R_CountLocationsWithChanges: INTEGER IS
Parameters
None
Returns
Integer
Side Effects
None
Description
This routine tallies the number of different locations with changes.
Dialog Forms Called
None
File Name
Syntax
R_CountUsersWithChanges: INTEGER IS
Parameters
None
Returns
Integer
Side Effects
None
Description
This routine tallies the number of different users with changes.
Dialog Forms Called
None
File Name
Syntax
R_CreateMasterSchedOutput(VAL MasterSched: R_STATS_REC): LIST OF STRING IS
Parameters
MasterSched - Current statistics record
Returns
LIST OF STRING
Side Effects
None
Description
This routine creates the screen report for the Master Schedules.
Dialog Forms Called
None
File Name
Syntax
R_CreateStatOutputList(VAL StatRec: R_STATS_REC): LIST OF STRING IS
Parameters
StatRec - Current statistics record
Returns
LIST OF STRING
Side Effects
None
Description
This routine creates the screen report for statistics.
Dialog Forms Called
None
File Name
Syntax
R_DisplayMasterSchedule(VAL w: WINDOW, VAL MasterSched: R_STATS_REC) IS
Parameters
w - Current window
MasterSched - Current master task record
Returns
Nothing
Side Effects
None
Description
This routine handles display issues for Master Schedules.
Dialog Forms Called
None
File Name
Syntax
R_DisplayStatistics(VAL w: WINDOW, VAL StatRec: R_STATS_REC) IS
Parameters
w - Current window
StatRec - Current statistics record
Returns
Nothing
Side Effects
None
Description
This routine handles display issues for statistics.
Dialog Forms Called
None
File Name
Syntax
R_GetChangesForStats(VAL w: WINDOW, REF findChangeRec: R_FIND_CHANGE_REC) IS
Parameters
w - Current window
findChangeRec - Current find record
Returns
Nothing
Side Effects
None
Description
This routine retrieves a list of changes for statistical analysis.
Dialog Forms Called
None
File Name
Syntax
R_IsChangeOverBudget(VAL Change: R_CHANGE_REC, VAL Amount: REAL, VAL TestAmount: BOOLEAN): INTEGER IS
Parameters
Change - Current change record
Amount - Base amount
TestAmount - Flag to determine whether over amount
Returns
Integer
Side Effects
None
Description
This routine determines if the change is over budget.
Dialog Forms Called
None
File Name
Syntax
R_IsValidDestination(VAL w: WINDOW, REF this_Stat: R_STATS_REC): BOOLEAN IS
Parameters
w - Current window
this_Stat - Current statistics record
Returns
Boolean
Side Effects
None
Description
This routine determines if the chosen destination is valid.
Dialog Forms Called
None
File Name
Syntax
R_PackageStatsCriteria(VAL findChangeRec: R_FIND_CHANGE_REC ): STRING IS
Parameters
findChangeRec - Current find record
Returns
String
Side Effects
None
Description
This routine generates a parsable string for all criteria.
Dialog Forms Called
None
File Name
Syntax
R_ProcessStatsEntryFields(VAL w: WINDOW, REF this_Stat: R_STATS_REC, VAL type: INTEGER) IS
Parameters
w - Current window
this_Stat - Current statistics record
type - Type of display operation to R_Perform
Returns
None
Side Effects
None
Description
This routine handles screen issues for the display of statistics.
Dialog Forms Called
None
File Name
Syntax
R_ProcessStatsResultFields(VAL w: WINDOW, VAL type: INTEGER) IS
Parameters
w - Current window
this_Stat - Current statistics record
type - Type of display operation to R_Perform
Returns
Integer
Side Effects
None
Description
This routine handles screen issues for the display of statistics.
Dialog Forms Called
None
File Name
Syntax
R_RunMasterSched(VAL PkgString: STRING, VAL Dest: STRING, VAL DestFile: STRING) IS
Parameters
PkgString - Current parse string
Dest - Current destination type
DestFile - Current destination file name
Returns
Nothing
Side Effects
None
Description
This routine executes the master schedule from scheduler.
Dialog Forms Called
None
File Name
Syntax
R_RunSchedStats(VAL PkgString: STRING, VAL Dest: STRING, VAL DestFile: STRING) IS
Parameters
PkgString - Current parse string
Dest - Current destination type
DestFile - Current destination file name
Returns
Nothing
Side Effects
None
Description
This routine executes the statistics from scheduler.
Dialog Forms Called
None
File Name
Syntax
R_UnPackageStatsCriteria(VAL CString: STRING): R_FIND_CHANGE_REC I
Parameters
CString - Current parse string
Returns
R_FIND_CHANGE_REC
Side Effects
None
Description
This routine parses the criteria string.
Dialog Forms Called
None