You need to sign in to do that
Don't have an account?

No Such Column "AccountSource" in Trigger
I have a trigger that operates on an object. In the trigger, I have:
Account a = [
Select
Id,
ParentId,
AccountSource
From
Account];
but it will not compile. It says "no such column." However, the column does exist, is accessible from other arreas in the code. Is there something silly that I'm missing here? I've gone over the documentation but can't seem to find any "gotchas" regarding that particular field.
Thanks in advance.
Hi,
Try to change the version of the trigger to 24.0.
Hope this will help you.If any problem then let me know the issue.