Timeline for What is wrong with this apex trigger to cascade address updates?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 4, 2014 at 10:28 | answer | added | highfive | timeline score: 3 | |
Apr 4, 2014 at 10:23 | vote | accept | Adam | ||
Apr 4, 2014 at 10:07 | answer | added | RichClark808 | timeline score: 2 | |
Apr 4, 2014 at 9:55 | comment | added | PepeFloyd | Yep, you can see an example trigger here, this does what you are looking I believe developer.force.com/cookbook/recipe/… | |
Apr 4, 2014 at 9:48 | comment | added | Adam | Sorry, when I created a test account, created some contacts associated with it, and then tried it, it didn't change the value on contact, but it didn't come up with any errors or anything so I am guessing my logic is wrong or I am overlooking a behaviour of SF that I don't know about. And is having a query in a loop bad I'm guessing? | |
Apr 4, 2014 at 9:42 | comment | added | PepeFloyd | You are not really saying what part is not working or if you are getting an error. The first issue I noticed is that you have a query inside the loop. wiki.developerforce.com/page/… | |
Apr 4, 2014 at 9:31 | history | asked | Adam | CC BY-SA 3.0 |