Skip to content

Commit e45305a

Browse files
authored
Optimised account retrieval to include only account number
1 parent de580d8 commit e45305a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datapress/knowledge_base/devInfo/users/bound_user_details.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if ($userService->isBound()){
2626

2727
/** @var EntityReference $accountRef */
2828
$accountRef = $contact['parentcustomerid'];
29-
$account = ConnectionService::instance()->getClient()->Retrieve('account', $accountRef->Id, new ColumnSet(true));
29+
$account = ConnectionService::instance()->getClient()->Retrieve('account', $accountRef->Id, new ColumnSet(['accountnumber']));
3030
$accountNum = $account['accountnumber'];
3131
}
3232
```

0 commit comments

Comments
 (0)