In CS bakcoffice, we have the Refund Line Items and Refund Amount options to refund the product. When we click on Refund line items, a popup window will appear where we can select product, qty and then submit button. After submit, it will invoke a refund business process and complete the refund.
The issue here is, when we try to refund the same product from different browser at the same time, it will call the Business process almost same time and doing the duplicate refund.
We have tried to restrict it by introducing a flag and checking to avoid duplicate entry. Unfortunately, it is still making duplicate refunds. Seems the Bunsiess process is Asynchronous.
Do you have any suggestions to fix this issue?
Thanks in advance