Group records using lookup object reference fields in Domain? #448
Unanswered
pp1-logitech
asked this question in
Q&A
Replies: 1 comment
-
G'day @pp1-logitech, it is difficult to say if there is a more streamlined approach with out a look at more of the code. Having said that, there are at least suggestions that I would make:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a use case to group the accounts with the DNB Company Records(lookup in account)'s Global_Ultimate_DUNS_Number__c and check if the accounts tied via Global DUNS if they are present in more than one country and employee count > 10000 set the Segmentation to "Global" else set it to "Enterprise".
Here's what i tried:
`
`
Accounts:
`
`
I feel like above is very complex. Is there any proper way to do this in fflib? So, can we use lookup field's reference in another domain class?
Beta Was this translation helpful? Give feedback.
All reactions