-1

SO to clarify, The "name" on the OpportunityLineItem doesn't contain just the actual SKU, which is the "name" of the product. What I need to do is peel the onion back one more layer, and pull the Product SKU from the pricebookentry or something else I haven't thought of. Not sure if this is done through pricebookentry, or what. Thank you!

2

There is a Lookup to the product on Opportunity Line Item.

SELECT Id,Product2Id,product2.name FROM OpportunityLineItem where id='***'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.