Microsoft has already analyzed our suggestion for adding an additional YES/NO PARAMETER for allowing/preventing deletion of already used COUPONS during the state “inactive" and finds it a good idea.
This new parameter could be placed under:
Retail and Commerce>Headquarters setup>Parameters>Commerce parameters
Prices and discounts
Miscellaneous => add the checkbox mentioned before
Please VOTE for it!
We have encountered following issue with the current standard behavior of the system:
Retail & Commerce > All Discounts
=> Create a discount required by a coupon code
Retail & Commerce > Coupons
=> Create the Coupon Number & Coupon Code related to the discount created previously
Sales leggers > All Sales orders
=> Create a sales order and add the coupon. This will lead to getting a discount on the sales order Line. As the Coupon was used, an Entry in Table Browser: RetailCouponUsage will be created, with Status “Completed”.
As soon as we have this entry, neither the Coupon-Number nor the Coupon Code ID and the related Discount should be deletable.
STANDARD MS BEHAVIOUR:
While the Coupon is in Status "INACTIVE", it can be deleted, even if it has been used.
Example:
The Coupon-Number "NEWSLETTER" has status "INACTIVE", while the users add other discounts onto it.
First Coupon Code ID / discount was valid in a certain timeframe.
Second Coupon Code ID / discount will be added, for further timeframes.
Administrator on 2/15/2024 12:08:57 PM
Thanks for the feedback. We will continue to monitor the votes to determine its consideration into our feature backlog. - Boyce Zhu, Principal Product Manager for Dynamics 365 Commerce