It is showing lookup with Account just see in the below example.
Account accDetail=[SELECT Id,Name FROM Account WHERE Name='CloudAnalogy10' Limit 1];
List<Attachment> contentAttachment=[Select ParentId,Id,Name,Body FROM Attachment WHERE ParentId=: accDetail.Id];
If you find your Solution then mark this as the best answer.
It is showing lookup with Account just see in the below example.
Account accDetail=[SELECT Id,Name FROM Account WHERE Name='CloudAnalogy10' Limit 1];
List<Attachment> contentAttachment=[Select ParentId,Id,Name,Body FROM Attachment WHERE ParentId=: accDetail.Id];
If you find your Solution then mark this as the best answer.
ParentId is a system field; it comes standard in Salesforce. For example, let's say I want to connect a feed item with an account record the ID of the account is linked to the ParentId.
It is showing lookup with Account just see in the below example.
If you find your Solution then mark this as the best answer.
Thank you!
Regards
Suraj Tripathi
All Answers
It is showing lookup with Account just see in the below example.
If you find your Solution then mark this as the best answer.
Thank you!
Regards
Suraj Tripathi
Thanks,