action_failed = (ndrAction.success = False && ndrAction.response_payload != None) [To be implemented]
action_failed = (ndrAction.success = False && action.approval ! = “Not Approved”) [To be implemented]
Show pending ndr to seller
(Order.ndr_status == pending) - (action_failed). ?????????????
New (Order.ndr_status == pending)
Date Range on lates ndr date
Show open NDR to seller (To be implemented)
(New) order.ndr_status == open and action source == seller
Order.ndr_status == open || (action_failed) ?????????
Show Closed NDR to Seller
Order.ndr.status == closed
NDR Automation True for Seller
Seller taking action on NDR 1 with RA remark.
Action Create (not possible) If Action Exist && action.approval status != “Not Approved” (Ignore Current Action) action.approval status = Pre-Approved If Courier response is True response.payload.append with courier response. If Courier response is False response.payload.append with courier response.
NDR Automation False for Seller
Seller taking action on NDR 1 with RA remark.
(If Action Exist && action.approval status != “Not Approved”) AND (current action is same as previous action then new action is ignored) (Ignore Current Action) action.approval status = Not Approved OPS Pending Report:
order status == pending OR (order status == open and approval status == “Not Approved”)
OPS Team Confirm same Seller Action.
Action.approval_status = Pickrr Approved If Courier response is True response.payload.append with courier response. If Courier response is False response.payload.append with courier response. order.ndr.status = pending. ????????
OPS Team Take different action towards seller action.
approval_status == not approved and action is different then, we create new action with source set as pickrr and sent to courier.
New Action created with action.approval_status = Pickrr Approved If Courier response is True response.payload.append with courier response. If Courier response is False response.payload.append with courier response. order.ndr.status = pending.
OPS create Another action
If Action Exist && action.approval status != “Not Approved” (Ignore Current Action) AND action.success == true
OPS PENDING NDR
API: Pending NDR
order.ndr_status == pending And order.ndr_status == Open and action.approval_status == “Not Approved”
API: Failed NDR report
success = false && approval_status != “Not Approved”
OPS Retry:
Fetch Action by Failed AWB with condition (success = false and approval_status != “Not Approved”) Hit the courier and update the action and append the response. Success and Failed response will be on one response field.