Skip to content

Commit d007803

Browse files
author
William Velzeboer
committed
Change Records into getRecords()
1 parent 8c4b418 commit d007803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sfdx-source/apex-common-samplecode/main/classes/domains/Opportunities.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public class Opportunities extends fflib_SObjectDomain
104104
{
105105
// Related Accounts
106106
List<Id> accountIds = new List<Id>();
107-
for (Opportunity opp : (List<Opportunity>) Records)
107+
for (Opportunity opp : (List<Opportunity>) getRecords())
108108
{
109109
if (opp.AccountId != null)
110110
{

0 commit comments

Comments
 (0)