Fetch Data from Ledger Group Entries

Discussion in 'Tally Developer' started by Arun Prasath, May 24, 2022.

    
  1. Arun Prasath

    Arun Prasath Member


    Hi Friends,

    My Collection is as below, even though i specify the group direct expenses only, it fetches all other groups transactions too. Why is that?

    [Collection: OverheadExpen of Group]
    Type : Vouchers : Group
    Child Of : $$GroupDirectExpenses
    Belongs To : Yes

    [Collection: NGSTOHLedg Group]
    Source Collection : OverheadExpen of Group

    ;;Walk: AllLedgerEntries

    Compute: LedgGrup : $Parent:Ledger:$LedgerName
    Compute: LedgName : $LedgerName
    ;;Aggr Compute: LedAmt : Sum: $Amount
    Compute: LedAmt : $Amount
    ;;Select $LedgGrup,$LedgName,$LedAmt from NGSTOHLedgGroup

    ;;---------------------------------------------------------------------------------------------------
     


  2. balajimg

    balajimg Active Member


    it is fetching only vouchers where the direct expense ledgers are present,

    but those vouchers will have other ledgers also, those are being populated

    if you dont' wise to display all other ledgers, use filter in [collection: NGSTOHLedg Group]
     


  3. Arun Prasath

    Arun Prasath Member


    Thanks Sir
     


Share This Page