Skip to main content
I would like to create an "Update" button in Salesforce Opportunities that will update fields in a related custom Opportunity object with information from the standard object. For instance, say I have a custom field in the standard Opportunity object that records square footage of a building, but in the custom object I also need the same square footage entry for a certain formula. I do not want users to enter the value twice due to entry errors. I would like to hit an "Update" button which will fill the square footage field in the custom object with the same value as the one in the standard object. How would I do this? What is the Java code to do this?
2 个回答
  1. 2011年4月25日 19:53
     Just happened to pop by, you can fix this issue with a trigger. A before update trigger on the standard opportunity can update the field in custom object.

     

    Not sure if this is the right forum to answer, but ask this on developer forums.
0/9000