Intercompany posting issue for debtors and creditors account
Summary: Sceario1- User uploaded Intercompany transactions- Line 1 to 2 has provider entity 2001 and line 3-4 has provider entity 2081 and recipient entity is 1701 for all lines. When posting, intercompany lines generated using Intercompany balancing ledger rules for debtors and creditors intrahealth accounts 506000 and 800400 and entries are 506000-000000-00000-2001-1701 and 800400-000000-00000-1701-2001. so, for both debtors and creditors, system uses 2001 and not 2081. This is fine to the user as reporting entity is 2001
Scenario 2- User uploaded Intercompany transactions- Line 1 and 2 has provider entity 2081 and line 3-4 has provider entity 2001 and recipient entity is 1701 for all lines. When posting, intercompany lines generated using Intercompany balancing ledger rules for debtors and creditors intrahealth accounts 506000 and 800400 and entries are 506000-000000-00000-2081-1701 and 800400-000000-00000-1701-2081. so, for both debtors and creditors, system uses 2081. This is not fine to the user as business wants to have debtors and creditors accounts should show reporting entity value 2001 not 2081. For each legal entity, we have one reporting unit and business want to