How to add a button to "Trial Balance" screen

Discussion in 'Requests' started by anuj kumar, Sep 19, 2020.

    
  1. anuj kumar

    anuj kumar New Member


    Dear Experts

    Please guide how to add a button to "Trial Balance" screen
     


  2. kirandham

    kirandham New Member


    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..
     


  3. anuj kumar

    anuj kumar New Member


    Thanks for your advice.
     


  4. anuj kumar

    anuj kumar New Member


    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.
     


  5. kirandham

    kirandham New Member


    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
     


Share This Page