• apelizzo1.3941015382362622E12
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 2
    Replies
To manage Internal Support a new custom object has been created (Helpdesk__c). When a New Helpdesk record is created, the Helpdesk.Owner and the Helpdesk.Contact must be the same. How to create an Apex trigger to copy from Helpdesk.Owner to Helpdesk.contact since they are both lookup fields?

Thank you.
Adelchi
I would like a custom button on Contract related list in Account that creates new Contract, passing the Account Owner to the Contract Owner.
For example I can create a look-up field from Opportunity  to Contact or use Contact Roles related list, but how can I tell the system to copy the primary contact or the contact from the lookup field, to autopulate the outgoing email? 
To manage Internal Support a new custom object has been created (Helpdesk__c). When a New Helpdesk record is created, the Helpdesk.Owner and the Helpdesk.Contact must be the same. How to create an Apex trigger to copy from Helpdesk.Owner to Helpdesk.contact since they are both lookup fields?

Thank you.
Adelchi