Hello,
We have Case entity with customerid = account. A case is created and customerid is set. We want an additional lookup field (parentaccountfield) where the parent of the customerid (account) is automatically populated, the trick is we want the highest parent in the tree. So that if an account is the grandchild, then (parentaccountfield) would be the grandfather account, not the father account.
thank you,
Eric