function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

need some clue ..

Whenever an Opportunity created with StageName as 'Closed Won', then Add Product Button should be enable to add new Product in related list of Details view page  otherwise it should be in desable mode

Jeff MayJeff May

Usually ClosedWon is when Opportunities have been completed and you don't want users making changes. Either way, you can use different Opp page layouts and remove the buttons and/or related lists on one of them.  This also means you'll need different record types (1 for each page layout), and then a WF Rule, or Approval Process, or trigger to change the Opp record type when it enters the appropriate Stage.  

Nazeer AhamedNazeer Ahamed

Is All products assigned to the standard proce book?