Request for Improvement in Discount Notification When Changing Status to "Shipped"
Good morning @mobreza
To request an improvement to the system's functionality regarding the change of item status to "shipped." Currently, when processing a significant volume of orders (exceeding 1000 items), it is challenging for the user to individually verify whether the discount associated with each item has been successfully applied before marking the order as shipped.
To optimize this workflow and minimize potential errors, I propose the implementation of a proactive notification to the user. Specifically, before the status is changed to "shipped," the system should perform a validation of the discount status for each item included in the order.
If items are detected where the discount has not been applied correctly (either due to insufficient auto-deductible inventory or any other internal error), a warning modal should be displayed to the user with the following detailed information:
Modal Title: "Warning: Problems Applying Discounts"
Main Message: "The following items have been identified for which the corresponding discount could not be applied. Please review the inventory status or configuration of these products before proceeding with the change of status to 'shipped.'"
List of Affected Items: Clear identification of the item (e.g., InventoryNumber,Item Sequence, etc). Indication of the possible cause of the failure (e.g., "Insufficient auto-deductible inventory," "Internal error applying discount").
Action Options: "Understood" button: To close the window and allow the review of the items. (Optional) "Retry Discount" button: If the system logic allows, to attempt to reapply the discount to the failed items.
The implementation of this improvement would provide the following significant benefits:
- Immediate and timely notification of potential discount issues.
- Precise identification of the items requiring user attention.
- Reduction in the probability of errors when marking orders as shipped without the discounts being applied.
- Increased operational efficiency by avoiding the need for an exhaustive manual review of each item in high-volume orders.
Regards: JamesArias