[#Menu:Gateway of Tally] Add:Key Item: before: @@locQuit: Item List: I : Display: MyCCExplode [Report: MyCCExplode] Use : DSP Template Form : MyCCExplode [Form: MyCCExplode] Use : DSP Template Part : MyPart Width : 100% Screen [Part : My Part] Line : My Line Repeat : My Line: List of Groups Scroll : Vertical [Line: My Line] Field : Aliasgar Explode: My Explode [Field: Aliasgar] set As : "" + $Name Style: Normal Bold [Part : My Explode] Line : My Explode Repeat : My Explode: My List of Ledgers [Line: My Explode] Field : XAliasgar Explode : My CCExplode [Field: XAliasgar] set As : " " + $Name [Part: My CCExplode] Line : My CCExplode Repeat : My ccExplode: My List of Costs [Line: My CCExplode] Field : ccName, ccAmount [Field: ccName] set As : " "+$Name [Field: ccAmount] Use: Amount set As : $ClosingBalance [Collection : My List of Ledgers] Type: Ledger Child of : $Name [Collection : My List of Costs] Type: Cost Center Filter : ???? Fetch: Name, OpeningBalance, ClosingBalance
First you must understand the OBJECTS .... Ledger and Costcentre are 2 entirely different things ......... You are trying to explode the CC in the ledger, which does not exists........ the CC data is in the vouchers, assigned to marked & activated Ledgers. So what you are trying to achieve cannot be done.......... the List of CostCentres is available in default Tally, which you can print.