简体   繁体   中英

TALLY Trial Balance xml with dates

<ENVELOPE>
    <HEADER>
        <TALLYREQUEST>Export Data</TALLYREQUEST>
    </HEADER>

    <BODY>
        <EXPORTDATA>
            <REQUESTDESC>
                <!--Specify the Report Name here-->
                <REPORTNAME>Trial Balance</REPORTNAME>
                <STATICVARIABLES>
                    <!--Show the Opening balance-->
                    <DSPSHOWOPENING>YES</DSPSHOWOPENING>
                    <!--Show the transactions Dr/Cr-->
                    <DSPSHOWTRANS>YES</DSPSHOWTRANS>
                    <!--This will fetch detailed TB-->
                    <EXPLODEALLLEVELS>YES</EXPLODEALLLEVELS>
                    <EXPLODEFLAG>YES</EXPLODEFLAG>
                    <SVEXPORTFORMAT>$$SysName:XML</SVEXPORTFORMAT>
                </STATICVARIABLES>
            </REQUESTDESC>
        </EXPORTDATA>
    </BODY>
</ENVELOPE>

I am using this xml schema to get Trial balance. It is giving me the results I can also get it for periods however, I want to it for monthly in such a way that it give me dates as well. How can I do that? Is that even possible? Tally xml schema gives only the name and amount by default not the dates. Even on their official web page it does not show dates at all. How to extract for monthly data in such a way that Dates are captured in output as well?

You can do it 2 ways

  • sending the same xml by applying date filters for each month

     <STATICVARIABLES>....... <!-- * Replace YYYYMMDD with month stating and ending dates in YYYYMMDD format --> <SVFROMDATE TYPE="DATE">yyyymmdd</SVFROMDATE> <SVTODATE TYPE="DATE">yyyymmdd</SVTODATE> </STATICVARIABLES>
  • Another will be creating custom TDL report according to your needs and send it in TDL message

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM