CalcElapsedCallTime

Calculate Elapsed Case Time

Minor Business Rule

Object Name: N1700370

Parent DLL: CCRIN

Location: Client/Server

Language: NER

1.Functional Description
This Named E/R is to calculate the time that has elapsed for a call.  Only work days are to be 

included in the calculation.


1.1Purpose

Calculate the elapsed time for a call based on the Work Day Calendar.


1.2Setup Notes and Prerequisites


1.3Special Logic
Using Start Date and Time and End Date and Time to calculate the elapsed time including the work day 

calendar for the cost center passed in.  The elapsed time is rounded based on the Process Mode that 

has been passed.  

If the process mode is blank, the elapsed time - no rounding.

If the process mode is '1', the elapsed time - round to next 1/4 hour.

If the process mode is '2', the elapsed time - round to next 1/10 hour.

If the process mode is '3', the elasped time - round to next 1/2 hour.




Data Structure

D1700370 - Calculate Elapsed Case Time

Parameter NameData ItemData TypeReq/OptI/O/Both
mnStartTimeUPMTMATH_NUMERICREQINPUT

The time that specifies when the program executed the last update to this record.

jdStartDateUPMJJDEDATEREQINPUT

The date that specifies the last update to the file record.

mnEndTimeUPMTMATH_NUMERICREQINPUT

The time that specifies when the program executed the last update to this record.

jdEndDateUPMJJDEDATEREQINPUT

The date that specifies the last update to the file record.

mnMathNumeric01MATH01MATH_NUMERICREQOUTPUT

- - - Good Performance Low Value. 

szCostCenterMCUcharREQINPUT

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

cProcessModeEV01charREQINPUT

An option that specifies the type of processing for an event.

Related Functions

None

Related Tables

None