Triggers on Order Header in Order Entry Screen Firing Twice
Hi All,
I did form personalization in the form OEXOOEORD, Form Function ONT_OEXOEORD_SUMMARY. The requirement is when the user saves the order , then check whether the request date is greater than the booked date and if yes then pop up a message. The instance is 11.5.10.2
So i did below pesonalization
Condition
Trigger Event : WHEN-VALIDATE-RECORD
Trigger Object: ORDER
condition: xx_oe_util.check_request_date(:order.header_id) = 'Y'
Action
seq: 10
Type : Message
Message Type :Warn
Message Text: My Message
However the trigger "WHEN-VALIDATE-RECORD" is getting fired twice (checked in show custom events) and thus the message is also getting popped up twice. Hence we have to click the okay button Twice to get rid of the message.