My_Test_Repo/force-app/main/default/classes/opportunityDataTableControl...

10 lines
319 B
OpenEdge ABL

public class opportunityDataTableController {
public List<Opportunity> opportunity {get; set;}
//collecting the records from account and opportunity
public opportunityDataTableController() {
opportunity =[SELECT Name,StageName,CloseDate,Opportunity.Account.Name FROM Opportunity];
}
}