CalculateTimeRemaining

Calculate Time Remaining

Minor Business Rule

Object Name: N1700810

Parent DLL: CCRIN

Location: Client/Server

Language: NER

1.Functional Description
This Named E/R is to calculate the remaining time for a call.  Only work days are to be included in the calculation.


1.1Purpose

This Named E/R is to calculate the difference between Commit Date and Time and Current Date and Time for a call.  


1.2Setup Notes and Prerequisites



1.3Special Logic

Compare the Starting Date and Ending Date to calculate total days difference.  Then using Ending Time to subtract Starting Time.  If Ending Time is 

less than Starting Time, the Remaining Time is zero.  

Data Structure

D1700810 - Calculate Time Remaining

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.

mnTimeRemainingMATH01MATH_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.

Related Functions

None

Related Tables

None