• sf test 18
  • NEWBIE
  • 25 Points
  • Member since 2019

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
hallo All,  

when i try to execute the following query in sandbox

list<product> p = [select Name,type from Product];
system.debug(p);


i have records in the products object with name and type as columns..but when i try to fetch those records i am getting error  Invalid type: product

 Can you plz help me out in debugging this plz?
hallo All,  

when i try to execute the following query in sandbox

list<product> p = [select Name,type from Product];
system.debug(p);


i have records in the products object with name and type as columns..but when i try to fetch those records i am getting error  Invalid type: product

 Can you plz help me out in debugging this plz?