Restrict The Update Of Start_date And End_date Of The Pricing Agreement When The Pricing Agreement Is Effective
Last updated on AUGUST 31, 2016
Applies to:Oracle Advanced Pricing - Version 18.104.22.168 and later
Information in this document applies to any platform.
How can one disable update of the start_date and end_date of the agreement when the agreement is effective?
Issue is that users are trying to change agreement dates when the agreement is effective. we would like to lock down updating of dates based on logic below.
changes to START DATE
if :old.start_dateif :old.start_date>SYSDATE then - OK if :new.start_date>=SYSDATE (FAIL if :new.start_date < SYSDATE )
changes to END DATE
if :old.end_date<=SYSDATE then - prevent any updates
if :old.end_date>SYSDATE then - OK if :new.end_date>=SYSDATE (FAIL if :new.end_date < SYSDATE )
Tried using database triggers, but could not display message in the application form when logic failed.
Could you advise us on a suitable approach to accomplish this?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms