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.
D1700810 - Calculate Time Remaining
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnStartTime | UPMT | MATH_NUMERIC | REQ | INPUT |
The time that specifies when the program executed the last update to this record. | ||||
jdStartDate | UPMJ | JDEDATE | REQ | INPUT |
The date that specifies the last update to the file record. | ||||
mnEndTime | UPMT | MATH_NUMERIC | REQ | INPUT |
The time that specifies when the program executed the last update to this record. | ||||
jdEndDate | UPMJ | JDEDATE | REQ | INPUT |
The date that specifies the last update to the file record. | ||||
mnTimeRemaining | MATH01 | MATH_NUMERIC | REQ | OUTPUT |
- - - Good Performance Low Value. | ||||
szCostCenter | MCU | char | REQ | INPUT |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
|
None |
None |