Let's suppose I have created a new Gropu under Capital Account which is CA1 and I created a ledger under CA1 so when I fetch the ledger with parent name I am getting CA1 as a parent name for that particular ledger which is correct. So I need a way where I can get the Parent of the newly created Group.
I need support to fetch Main parent details of the ledger <Compute>ParentName : $_PrimaryGroup</Compute> (this line gives parentname as Bank Accounts,Sundry Debtors) but i want to get the parent of Sundry Debtors(i.e, Current Assets)