Nikhil Shukla

SugarQuery/SugarBean

Discussion created by Nikhil Shukla on Dec 20, 2016
Latest reply on Dec 23, 2016 by Nikhil Shukla

Let say I have created one "Opportunity_1" for "Account_1" with "Product_1" and "date_closed" 'YYYY-MM-DD'. Now if some one is trying to create another Opportunity for same "account_id" with same "product_template_id" then before_save(logic hooks) should check date_closed > existing date_closed..

 

 

Thanks,

Nikhil

Outcomes