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
mahe_developermahe_developer 

When ever a account created

Hi,

 

I have Got requirement like this....When ever a account created, some of the fields from account should automatically populate into Opportunity , that means when i click new opportuinity some of the accounts fields should appear there..

 

 

 

anil 007anil 007

 

hai mahe,

 

i think u need to write apex triggers on the account object ,let me know it works or not ,

FromCRMWonderlandFromCRMWonderland

Create new button "New Oppty".........select behavior of this button as "Onclick javascript".

 

write js script to prepopulate oppty fields....

 

then redirect to oppty edit page

 

 

Trigger will not work in this case....

Pradeep_NavatarPradeep_Navatar

You can also create a Formula field when you select account from look up and create a new opportunity then your formula fields gets updated from there.