• vintondon
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 6
    Replies

 

 I get the following Error when i try to save this

 

Error: Compile Error: unexpected token: 'List' at line 4 column 4

 

 

public class createoriginalfcst {

    public static List<SMART_Product__c>ActiveSKUs  {
    List<SMART_Product__c>ActiveSKUs=[SELECT Name FROM SMART_Product__c WHERE Product_Status__c='Active']
    }


}

 

 

 

Kindly help