Quantcast
Channel: SCN : Discussion List - SAP on Oracle
Viewing all articles
Browse latest Browse all 1892

I need to add a validation to check on click condition under Post-change trigger on date condition

$
0
0

Hi All,

 

I have a Oracle form in which I have to embed two conditions.

form is checking some date conditions and those date conditions are fetching in a table view having rows according to respective rows in database.Now those dates I can change manually from front end. I have to put a check on that date field if changed date is greater than next date then I have to stop that form and if the difference between consecutive dates are more than 60 days then I have to stop that form.

 

eg:

bind variable name is: date_bind

 

this date_bind is calculated in form itself and according populates value on front end.

Suppose values are :

first date is : 24-MAY-2016

second date is :24-JUN-2016

third date is : 24-JUL-2016


First condition: if I change the first date to 26-JUN-2016 the form should not proceed as this value is greater than next date (24-JUN-2016) condition

Second condition: if I change second date to 25-AUG-2016 then the form should not proceed as difference of first date (24-MAY-2016) and second date (25-AUG-2016) is greater than 60 days.

like this I can change any date , here I have to put date constrain under Post_change trigger. Please suggest how can I do that.


Viewing all articles
Browse latest Browse all 1892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>