Event Alert firing Two times when updated Sales order
Hi ,
I have created one event alert. It is working fine while creating a new sales order i am getting email once. But once any sales order has updated means I am getting multiple Emails for same. Please find below mentioned i am using in Alert . In the query term_id 1045 & 1046 are 'Prepayment' values.
Any one help on this issue. This issue applicable only in PROD instance.
select ooh.order_number sales_Order_Number,
ooh.ORDERED_DATE,
ooh.FLOW_STATUS_CODE,
rt.NAME ,
hca.ACCOUNT_NUMBER customer_account_number
INTO &SALES_ORDER_NUMBER,
&ORDERED_DATE,
&FLOW_STATUS_CODE,
&NAME
&CUSTOMER_ACCOUNT_NUMBER
0