I have a scenario where I need to create Customer and its associated child e.g. we have a parent customer A and has multiple pharmacies and each pharmacy should have its own receivables and while paying the invoice of all child to appear in A.
How we can achieve this in D365