You need to sign in to do that
Don't have an account?
renu
Message Edited by renu on 06-19-2008 11:13 AM
Message Edited by renu on 06-19-2008 11:15 AM
Trigger to update field on standard object
Hello
I am tring to update the field on the Account , by checking the condition
Every time a new record on custom object is created/updated/deleted i need to check a field in the custom object(the one creating now and the previous records) is true. If it is true then i need to update the Status field on the Account object to "xyz'.
if it is false then i need to update the Status field to 'abc'
Here i have written the code. but I am getting run time errors. Any ideas?????
Lot of times i am getting this exception
System.ListException: Duplicate id in list:
Message Edited by renu on 06-19-2008 11:13 AM
Message Edited by renu on 06-19-2008 11:15 AM
Hi,
I am new to Apex. Can you please share the resolution? I am getting a similar error. trigger gets compiled but gives system.listexception when testing.