You need to sign in to do that
Don't have an account?
Lukasz Piziak
error: TestExtension Compile Error: unexpected token: Where at line 8 column 96
HELP PLEASE!!!!!!
public class TestExtension {
public List<SCMC__Production_Order__c> objlist{get;set;}
public List<SCMC__Sales_Order__c> salesOrderList{get;set;}
public TestExtension(ApexPages.StandardSetController controller) {
objlist = [SELECT Name, Sales_Order_No__c,Customer__c, Assembly_Name__c, SCMC__Start_Date__c, SCMC__Planned_Completion_Date__c, SCMC__Production_Status__c
FROM SCMC__Production_Order__c Where SCMC__Production_Status__c = 'Pending Pulling All Items'ORDER by SCMC__Planned_Completion_Date__c];
salesOrderList = [SELECT Name, SCMC__Customer_Account__c, Type__c, SCMC__Current_Promise__c Where Type__c = 'Production Sales Order' Order by SCMC__Current_Promise__c];
}
}
public class TestExtension {
public List<SCMC__Production_Order__c> objlist{get;set;}
public List<SCMC__Sales_Order__c> salesOrderList{get;set;}
public TestExtension(ApexPages.StandardSetController controller) {
objlist = [SELECT Name, Sales_Order_No__c,Customer__c, Assembly_Name__c, SCMC__Start_Date__c, SCMC__Planned_Completion_Date__c, SCMC__Production_Status__c
FROM SCMC__Production_Order__c Where SCMC__Production_Status__c = 'Pending Pulling All Items'ORDER by SCMC__Planned_Completion_Date__c];
salesOrderList = [SELECT Name, SCMC__Customer_Account__c, Type__c, SCMC__Current_Promise__c Where Type__c = 'Production Sales Order' Order by SCMC__Current_Promise__c];
}
}