You need to sign in to do that
Don't have an account?
Suvankar Chakraborty 21
soql query for notes
what is SOQL Query for getting all notes(Not notes & attachment) from opportunity.
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Following query help for your requirement.
List<opportunity> lstofOppWithNotesAttachment = [SELECT Id, Name,
(SELECT Id, Title FROM Notes),
(SELECT Id, Name FROM Attachments) FROM opportunity];
Regards,
YogRaj