You need to sign in to do that
Don't have an account?
Behzad Bahadori 18
Retriving Notes and attachments from Quote Page
I need to Query the Last notes and attachments that was added in a Quote, into a PDF, I dont now how to query that , any suggestions?
All Answers
I have a quote record where quote line items are linked to that record
Now i need to get the attachements from the quote line items (Product)
List<Quote> QuoteList = [SELECT Id,(SELECT Id FROM QuoteLineItems) FROM Quote where id = '0Q02w0000005Z2t'] ;
for(QuoteLineItem eachproduct : QuoteList[0].QuoteLineItems){
lineitemids.add(eachproduct.Id);
}
system.debug('vvvvvv' + lineitemids);
In the lineitems i am getting quoteline items ,but i need to get linked products
Can anyone help me ?..