Search code examples
tally

How to export list of all ledgers which is under sundry debitors from tally using xml


I want to export list of all ledgers which is under sundry debitors from tally using xml.


Solution

  •          <ENVELOPE>
                <HEADER>
                    <VERSION>1</VERSION>
                    <TALLYREQUEST>Export</TALLYREQUEST>
                    <TYPE>Collection</TYPE>
                    <ID>Ledgers</ID>
                </HEADER>
                <BODY>
                    <DESC>
                        <STATICVARIABLES>
                            <SVEXPORTFORMAT>SysName:XML</SVEXPORTFORMAT>
                        </STATICVARIABLES>
                        <TDL>
                            <TDLMESSAGE>
                                <COLLECTION ISMODIFY="No" ISFIXED="No" ISINITIALIZE="No" ISOPTION="No" ISINTERNAL="No" NAME="Ledgers">
                                    <TYPE>Ledger</TYPE>
                                    <CHILDOF>$$GroupSundryDebtors</CHILDOF>
                                    <BELONGSTO>Yes</BELONGSTO>
                                    <NATIVEMETHOD>*/NATIVEMETHOD>
                                </COLLECTION>
                            </TDLMESSAGE>
                        </TDL>
                    </DESC>
                </BODY>             
            </ENVELOPE>