1.Functional Description
1.1Purpose
This business function will take in the start date, start time, coverage type, response time, and
coverage times for the coverage type and will return a commitment date and time.
1.2Setup Notes and Prerequisites
Coverage type, and service package must be set up for the contract. The CSMS constants must also
have a holiday day type code entered.
1.3Special Logic
Call ConvertTimeHHMMSSToDecimal for every starting and ending time received from the calling program.
Sub-function ConvertTimeHHMMSSToDecimal is specific to CSMS and calculating the contractual response
time. Also sub-function SetContractCommitTime is specific to CSMS and calculating the contractual
response time. Neither of these sub-functions needs to be called outside of this Named E/R.
The ConvertTimeMMHHSSToDecimal sub-function will take the time passed in HHMMSS and will convert it
to the quarter hour just passed. For example, if the time passed in is 12:38:45, this function will
return 12.5000 as the decimal time.
D1700800 - Calculate Contract Commitment Date and Time
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
jdStartDate | UPMJ | JDEDATE | REQ | INPUT |
The date that specifies the last update to the file record. | ||||
mnStartTime | UPMT | MATH_NUMERIC | REQ | INPUT |
The time that specifies when the program executed the last update to this record. | ||||
mnResponseTime | RSTM | MATH_NUMERIC | REQ | INPUT |
The guaranteed time during which service will be completed, as provided by a service contract, from the time that a provider logs a
| ||||
cDayType | TD01 | char | REQ | INPUT |
A code to indicate the type of day. Valid values are: W Work Day E Weekend H Holiday | ||||
cHolidayDayType | TD01 | char | REQ | INPUT |
A code to indicate the type of day. Valid values are: W Work Day E Weekend H Holiday | ||||
mnBeginningCoverageTime1 | BEG1 | MATH_NUMERIC | REQ | INPUT |
The time of day that service contract coverage begins for each day of the week, Sunday through Saturday, and for holidays.
Specify this
| ||||
mnBeginningCoverageTime2 | BEG2 | MATH_NUMERIC | REQ | INPUT |
The time of day that service contract coverage begins for each day of the week, Sunday through Saturday, and for holidays.
Specify this
| ||||
mnBeginningCoverageTime3 | BEG3 | MATH_NUMERIC | REQ | INPUT |
The time of day that service contract coverage begins for each day of the week, Sunday through Saturday, and for holidays.
Specify this
| ||||
mnBeginningCoverageTime4 | BEG4 | MATH_NUMERIC | REQ | INPUT |
The time of day that service contract coverage begins for each day of the week, Sunday through Saturday, and for holidays.
Specify this
| ||||
mnBeginningCoverageTime5 | BEG5 | MATH_NUMERIC | REQ | INPUT |
The time of day service contract coverage begins for each day of the week, Sunday through Saturday, and for holidays.
Specify this value
| ||||
mnBeginningCoverageTime6 | BEG6 | MATH_NUMERIC | REQ | INPUT |
The time of day service contract coverage begins for each day of the week, Sunday through Saturday, and for holidays.
Enter this value in
| ||||
mnBeginningCoverageTime7 | BEG7 | MATH_NUMERIC | REQ | INPUT |
The time of day service contract coverage begins for each day of the week, Sunday through Saturday, and for holidays.
Enter the value in
| ||||
mnBeginningCoverageTime8 | BEG8 | MATH_NUMERIC | REQ | INPUT |
The time of day service contract coverage begins for each day of the week, Sunday through Saturday, and for holidays.
Enter the value in
| ||||
mnEndingCoverageTime1 | ECV1 | MATH_NUMERIC | REQ | INPUT |
The time of day that service contract coverage ends for each day of the week, Sunday through Saturday, and for holidays.
Specify this
| ||||
mnEndingCoverageTime2 | ECV2 | MATH_NUMERIC | REQ | INPUT |
The time of day that service contract coverage ends for each day of the week, Sunday through Saturday, and for holidays.
Specify this
| ||||
mnEndingCoverageTime3 | ECV3 | MATH_NUMERIC | REQ | INPUT |
The time of day that service contract coverage ends for each day of the week, Sunday through Saturday, and for holidays.
Specify this
| ||||
mnEndingCoverageTime4 | ECV4 | MATH_NUMERIC | REQ | INPUT |
The time of day that service contract coverage ends for each day of the week, Sunday through Saturday, and for holidays.
Specify this
| ||||
mnEndingCoverageTime5 | ECV5 | MATH_NUMERIC | REQ | INPUT |
The time of day that service contract coverage ends for each day of the week, Sunday through Saturday, and for holidays.
Specify this
| ||||
mnEndingCoverageTime6 | ECV6 | MATH_NUMERIC | REQ | INPUT |
The time of day that service contract coverage ends for each day of the week, Sunday through Saturday, and for holidays.
Specify this
| ||||
mnEndingCoverageTime7 | ECV7 | MATH_NUMERIC | REQ | INPUT |
The time of day that service contract coverage ends for each day of the week, Sunday through Saturday, and for holidays.
Enter the value in
| ||||
mnEndingCoverageTime8 | ECV8 | MATH_NUMERIC | REQ | INPUT |
The time of day that service contract coverage ends for each day of the week, Sunday through Saturday, and for holidays.
Enter the value in
| ||||
nDayOfWeek | INT01 | integer | REQ | INPUT |
Number of Days in Future to Query for Responses Due. | ||||
jdCommitmentDate | UPMJ | JDEDATE | REQ | OUTPUT |
The date that specifies the last update to the file record. | ||||
mnCommitmentTime | UPMT | MATH_NUMERIC | REQ | OUTPUT |
The time that specifies when the program executed the last update to this record. | ||||
szBranchPlant | MMCU | char | REQ | INPUT |
A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which
| ||||
mnThreshold | THRESVAL | MATH_NUMERIC | OPT | NONE |
A value that is assigned to individuals within a distribution list to determine if the individuals will be included in the approval of a workflow
| ||||
cApplyThreshold | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cSuppressErrorMessages_EV01 | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cErrorCode_ERRC | ERRC | char | OPT | NONE |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
szErrorMessageID_DTAI | DTAI | char | OPT | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
|
None |
None |