You need to sign in to do that
Don't have an account?
Andrew McGrath
SOQL - Attachment returns null value for Parent ID
Hi
When I run a query on attachments to pull their parent id, it works fine for eg Accounts:
Select id, parent.id from Attachment
where parent.type = 'Account'
However for Tasks I get only a <null parent> return:
select id, parent.id from attachment
where parent.type = 'Task'
Does anyone have the answer to this or a workaround?
Cheers,
Andy
When I run a query on attachments to pull their parent id, it works fine for eg Accounts:
Select id, parent.id from Attachment
where parent.type = 'Account'
However for Tasks I get only a <null parent> return:
select id, parent.id from attachment
where parent.type = 'Task'
Does anyone have the answer to this or a workaround?
Cheers,
Andy