SLA indicators
SLA indicators must be displayed to indicate the priority of orders.
Solution
The following section describes APIs, user exits, services, and other components.
In all the screens where SLA indicators are displayed, the
getCommonCodeList
API
is called with the following code types to display the SLA indicators.CODE_TYPE = YCD_TIME_RMN_THRSH
is used for orders with pickup delivery methodCODE_TYPE = YCD_TIME_RMN_SFS
is used for orders with shipping delivery method.
-
timeRemaining
=ExpectedShipmentDate - Current Time
- If
timeRemaining
is greater thanThreshold1
, then the "Breached SLA" indicator is displayed. - If
timeRemaining
is greater thanThreshold2
, then the "Nearing SLA" indicator is displayed. - If
timeRemaining
is greater thanThreshold3
, then the "Within SLA" indicator is displayed.
- If
Implementation
The following section describes the rules that you must configure.
You must configure the service level indicators for shipping orders. For more information, see Configure service level indicators.