• Jim Cook
  • NEWBIE
  • 15 Points
  • Member since 2014
  • Senior Consultant
  • Appirio

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
I'm getting an error on teh challenge here https://trailhead.salesforce.com/lex_dev_lc_basics/lex_dev_lc_basics_prereqs) saying that I haven't created the Expense__c object, or that it doesn't have the right fields. The challenge does not ask you to create any custom fields but also implies that the object has already been completed in some other module.  What fields is this object supposed to have?
Hi,

I am trying to retrieve Product Name, Product code & Pricebook Name associated with a PRODUCT.

--------------------------------------------------------------------------------------------------------------------------------------------------------
Product2 productdet = [Select Id, Name, ProductCode From Product2 where id='01tA00000033x2z'];
--------------------------------------------------------------------------------------------------------------------------------------------------------

How to modify this query to associate PriceBook details this  Product belongs to.

Product