I want to save a new Note to a Lead via apex.
I create a new Note :
Note n = new Note();
n.Body = body;
n.Title=title;
n.ParentId = Id.valueOf(s); // Lead Id
n.IsPrivate = false;
Insert n;
But then, Its Save the Note under "Note&Attachment" related list and not under Note related list...
I know it should be super simple to rich out the answer in the internet.. But I didn't find it...
Links and answers will be much appreciated..
Thanks..