Export Unused Ledgers Using HTTP XML Request

Discussion in 'Tally Integration' started by Bhushan Cellica, Oct 26, 2018.

    

  1. Hello All,

    We have an Report in Tally at location as
    Tally MAIN --> Gatway of Tally --> Display Menu --> List of Accounts

    I am able to export this report from Tally using following HTTP XML request.

    <ENVELOPE>
    <HEADER>
    <TALLYREQUEST>Export Data</TALLYREQUEST>
    </HEADER>
    <BODY>
    <EXPORTDATA>
    <REQUESTDESC>
    <STATICVARIABLES>
    <ACCOUNTTYPE>LEDGER</ACCOUNTTYPE>
    </STATICVARIABLES>
    <REPORTNAME>List of Accounts</REPORTNAME>
    </REQUESTDESC>
    </EXPORTDATA>
    </BODY>
    </ENVELOPE>

    But in Tally there is option in this report say "F5 : Show Unused",
    once we click it will show "List of Ledgers(Unused)" in Tally.

    I want an XML which will export "List of Ledgers(Unused)" data from Tally.

    Thanks in Advance !!!

    Thanks,
    Bhushan Akole.
     


  2. sivam

    sivam Active Member



    Check with This One

    <ENVELOPE>
    <HEADER>
    <TALLYREQUEST>Export Data</TALLYREQUEST>
    </HEADER>
    <BODY>
    <EXPORTDATA>
    <REQUESTDESC>
    <STATICVARIABLES>
    <ACCOUNTTYPE>LEDGER</ACCOUNTTYPE>
    <ShowUnusedMasters>Yes</ShowUnusedMasters>
    </STATICVARIABLES>
    <REPORTNAME>List of Accounts</REPORTNAME>
    </REQUESTDESC>
    </EXPORTDATA>
    </BODY>
    </ENVELOPE>
     
    vinoth likes this.



  3. Thanks for Your Reply.

    I have tried this option in XML but it exports all ledgers.
    I want to export only Unused Ledgers.

    Thanks
     


  4. sivam

    sivam Active Member



    Try with this one.

    <ShowUnusedMasters>Yes</ShowUnusedMasters>
     
    vinoth likes this.


  5. vinoth

    vinoth New Member



    It is working fine
     



  6. No, its not working for me.

    I have 138 Ledgers in My Company and 62 are unused.
    Above XML will return all 138 Ledgers from Company.

    Is it required any settings ?

    Thanks in Advance for your help !!!
     


Share This Page