Solution
The fulfillment delay alerts are of type YCD_FTC_NOTIFICATION
.
For such alerts, the user can view the customer's name, phone number,
email address, order lines that are delayed, and the next date by
when the products can be shipped. The user can view an appropriate
generic message and inform the customer accordingly. Additionally,
the user can inform the customer that if a response is not received
before a certain date, the order will be canceled. Based on the customer's
response, the user can accept or cancel the order line.
When the user selects an order line and chooses to accept the delay,
the changeOrder
API is called to update the order
dates to show that the customer accepted the delay. When the user
chooses to cancel order lines, the changeOrder
API
is called to cancel the selected line. The changeOrder
API
call returns information that refreshes the list of delayed order
lines and displays only those that are not yet resolved. When all
the lines on the screen are resolved, the closeException
API
is called to close the alert.
When the user cancels an order line or accepts delay on behalf of the customer, the user must enter a note that states the reason for cancellation or acceptance of the delay.
When the order lines are canceled, a reason code is stamped on
the order line. This is retrieved from the YCD_FTC_CANCEL_REASON_CODE
for
each enterprise. This code is retrieved when the screen loads.
The getCompleteOrderLineList
API is called to
retrieve the list of order lines that are delayed along with their
promised date and the next promised date.
Based on whether the user accepts the delay or cancels the order
lines and the new promised date, the changeOrder
API
is called to update the order accordingly.
The application monitors orders from end-to-end to assist the user in abiding by the FTC regulations. To abide by the regulations, five dates are used to determine whether a delay occurred or not. The dates are as follows:
- Expected ship date
- First promised date
- Current promised date
- Next promised date
- Cancel date