Identify the trail balance form and then add button Ex: [#form : (FormName)] add : button : abc [button: abc] title:"Trail" key:alt+1 action:display:"Yoour report" That's it you are done..
Further I want to make collection of selected lines in the trial. I tried the following code but the collection it create empty collection [Collection: LineCollection] Data Source: Report: Selected Fetch : Name,Closingbalance Client Only : Yes Please guide me.
Wrong declearation first write 2 collections In 1 collection fetch requried values and in 2nd collection [Collection: LineCollection] Data Source: Report: Selected Refer Below Code [collection : abc] collections: 1,2 [collection:1] type: vouchers:vouchertype childof:<Any vouchers> fetch:Methods [collection2] datasource:Report:selectedlines fetch:*.* and now finally repeat the main collection"abc" where you requried