function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
trigger IsActive on Opportunity (before insert,before update) { for(Opportunity opp:Trigger.new){ if(opp.closedate==system.today()){ opp.IsActive__c=true; } } }
Can you try the below trigger. Update the API names of the fields as per your org.
Let me know if you face any issues.
If this solution helps, Please mark it as best answer.
Thanks,