Does anyone know if it is possible to create a scenario whereby a notification email is sent if an order with a duplicate CustomerOrderNbr is created?
I thought perhaps I could create a GI with aggregated results - grouped by the CustomerOrderNbr field - with an OrderNbr count, but according to this article GIs with Grouping are not supported by Business Events:
Anyone know of a different approach that would solve this?
Hi @MinushaWeerasuriya76 - Do you have any suggestions how to condition a GI to only show orders which have duplicate values in the CustomerOrderNbr field?
Hi @manikantad18 - an email would be preferable, but it’s good to know that there is the option to prevent duplicate customer order numbers at the order type level.
Seems to it is critical to anaylse the duplicate customer order nbr and trigger an Business events, Use standard functionality or else we need to see other suggestions as well.
Thank you, @bryanb39! That’s such a simple solution but it works beautifully. I can even add a relation like “SOOrder.orderNbr -- Is Greater Than -- SOOrder2.orderNbr” to exclude the original (non-duplicate) order from the results.