You need to sign in to do that
Don't have an account?
apelizzo1.3941015382362622E12
Custom Button to populate new Contract Record Owner with the Account Owner value.
I would like a custom button on Contract related list in Account that creates new Contract, passing the Account Owner to the Contract Owner.
http://salesforce-consultant.blogspot.in/2013/06/trigger-method-to-update-child-records.html
To run the apex on button click you need to use controllers as explained in the link below
http://andyinthecloud.com/2013/07/16/how-to-call-apex-code-from-a-custom-button/