Query to get the balance of a specific company

Discussion in 'Tally & TDL Learning HUB' started by VipulM, Nov 17, 2022.

    
  1. VipulM

    VipulM New Member


    I have 4 companies (A,B,C,D) which are grouped under a Group Company called 'GROUP'

    I would like to know how to call specific company ledger balances (Lets say - Bank).
    Currently when I use $ClosingBalance:Ledger:"Bank" it is giving me Bank balances of all companies together

    Is it possible to get a code to give me like this

    A - Bank - 10
    B - Bank - 20
    C - Bank - (10)
    D - Bank - 15

    Also another question - If the balance is a Cr balance can it be displayed as Negative?
    Currently, its mentioned as "10 Cr" Can it be -10 instead?
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    If Bank name is "ABC" in all 4 companies, it will be combined......... So distinguish them so they are separate.

    As for negative value ......... If NOT $$IsDr:$Amount then $Amount * -1 Else $Amount
     


Share This Page