+ Start a Discussion
nlsnydernlsnyder 

How to access field Product2 which is a Lookup(Product) for QuoteLineItem?

I have a trigger on Quote to prorate line items.   But I need to access attributes from the Product for the QuoteLineItem which is defined as Field Product2 and Type Lookup(Product).  How can I get the ProductCode, Description and Name of the QuoteLineItem's Product?

Best Answer chosen by Admin (Salesforce Developers) 
TheIntegratorTheIntegrator

you can create formula fields in QuoteLineItem and use the GUI to add whichever field of Product2 you need by following the relation. 

All Answers

TheIntegratorTheIntegrator

you can create formula fields in QuoteLineItem and use the GUI to add whichever field of Product2 you need by following the relation. 

This was selected as the best answer
nlsnydernlsnyder

Thanks that worked!