Hello fellas!
I'm trying to retrieve all company branches, but I can't be sure of what is the right way. If you'd please help me. These are two solutions I came up with:
- Table CompanyInfo has BranchId field (this is the one I'm least sure of, since I can see no relations for that field)
- Table OMInternalOrganization has a type (LegalEntity). I'd join those records with OMHierarchyRelationship and then get all children in that organization
Is any of these at least close to the right way? What should I do to list all company's branches?
Thanks
*This post is locked for comments
I have the same question (0)