title: Not able to fetch LedgerList data in xml request from tally
body: <p>while exporting data from tally, I'm not able to fetch ledger details of the invoice.</p>
  <p>Only able to fetch the outer level details.</p>
  <p>I tried with Walk by: Ledger Entries but it not comes under Voucher tag.. how to made it possible.</p>
  <p>Also having big doubt in Form, Part, Line work flow.</p>
  <pre><code>&lt;ENVELOPE&gt;
  &lt;HEADER&gt;
      &lt;VERSION&gt;1&lt;/VERSION&gt;
      &lt;TALLYREQUEST&gt;Export&lt;/TALLYREQUEST&gt;
      &lt;TYPE&gt;Data&lt;/TYPE&gt;
      &lt;ID&gt;DaybookGR&lt;/ID&gt;
  &lt;/HEADER&gt;
      &lt;BODY&gt;
          &lt;DESC&gt;
              &lt;STATICVARIABLES&gt;   
                  &lt;EXPLODEFLAG&gt;Yes&lt;/EXPLODEFLAG&gt;
                  &lt;CURRENTCOMPANY&gt;${company}&lt;/CURRENTCOMPANY&gt; 
                  &lt;SVEXPORTFORMAT&gt;$$SysName:XML&lt;/SVEXPORTFORMAT&gt;
                  &lt;SVFROMDATE&gt;${fromDate}&lt;/SVFROMDATE&gt;
                  &lt;SVTODATE&gt;${toDate}&lt;/SVTODATE&gt; 
              &lt;/STATICVARIABLES&gt;
              &lt;TDL&gt;
                  &lt;TDLMESSAGE&gt;
                      &lt;REPORT NAME=&quot;DaybookGR&quot;&gt;
                          &lt;FORMS&gt;DaybookGR&lt;/FORMS&gt;
                          &lt;TITLE&gt;DaybookGR &lt;/TITLE&gt;
                      &lt;/REPORT&gt;
                      &lt;FORM NAME=&quot;DaybookGR&quot;&gt;
                          &lt;TOPPARTS&gt;DaybookGR&lt;/TOPPARTS&gt;
                          &lt;XMLTAG&gt;&quot;TallyGraphs&quot;&lt;/XMLTAG&gt;
                      &lt;/FORM&gt;
                      &lt;PART NAME=&quot;DaybookGR&quot;&gt;
                          &lt;TOPLINES&gt;Daybook Line Title, Daybook Details&lt;/TOPLINES&gt;
                          &lt;REPEAT&gt;Daybook Details : GetLedgerCollAmt&lt;/REPEAT&gt;
                          &lt;SCROLLED&gt;Vertical&lt;/SCROLLED&gt;
                          &lt;COMMONBORDERS&gt;Yes&lt;/COMMONBORDERS&gt;
                      &lt;/PART&gt;
                      &lt;PART NAME=&quot;Ledgerlist Line Title&quot;&gt;
                       &lt;TOPLINES&gt;Ledgerlist Line Title,Ledger Details&lt;/TOPLINES&gt;
                          &lt;REPEAT&gt;Ledger Details : GetLedger&lt;/REPEAT&gt;
                          &lt;SCROLLED&gt;Vertical&lt;/SCROLLED&gt;
                          &lt;COMMONBORDERS&gt;Yes&lt;/COMMONBORDERS&gt;
                      &lt;/PART&gt;
                      &lt;LINE NAME=&quot;Daybook Line Title&quot;&gt;
                          &lt;USE&gt;Daybook Details&lt;/USE&gt;
                          &lt;LOCAL&gt;Field : Default : Type : String &lt;/LOCAL&gt;                
                          &lt;LOCAL&gt;Field : Field Amount : Set as: &quot;Amount&quot;&lt;/LOCAL&gt;  
                      &lt;/LINE&gt;
                      &lt;LINE NAME=&quot;Ledgerlist Line Title&quot;&gt;
                          &lt;USE&gt;Ledger Details&lt;/USE&gt;
                          &lt;LOCAL&gt;Field : Default : Type : String &lt;/LOCAL&gt;                
                          &lt;LOCAL&gt;Field : Field Amount : Set as: &quot;Amount&quot;&lt;/LOCAL&gt;  
                      &lt;/LINE&gt;
                      &lt;LINE NAME=&quot;Daybook Details&quot;&gt;   
                          &lt;LEFTFIELDS&gt;PartyLedgerName&lt;/LEFTFIELDS&gt;
                          &lt;RIGHTFIELDS&gt;vchType,VoucherNumber,Amount,Date&lt;/RIGHTFIELDS&gt;
                          &lt;XMLTAG&gt;Voucher&lt;/XMLTAG&gt;
                          &lt;EXPLODE&gt;Ledgerlist Line Title&lt;/EXPLODE&gt;
                          &lt;BELONGSTO&gt;YES&lt;/BELONGSTO&gt;
                      &lt;/LINE&gt;
                      &lt;LINE NAME=&quot;Ledger Details&quot;&gt;    
                          &lt;LEFTFIELDS&gt;PartyLedgerName&lt;/LEFTFIELDS&gt;                        
                          &lt;XMLTAG&gt;LedgerList&lt;/XMLTAG&gt;
                      &lt;/LINE&gt;
                      &lt;FIELD NAME=&quot;PartyLedgerName&quot;&gt;
                          &lt;USE&gt;Name Field&lt;/USE&gt;
                          &lt;SET&gt;$LedgerName&lt;/SET&gt;
                      &lt;/FIELD&gt;  
                     &lt;FIELD NAME=&quot;Date&quot;&gt;
                          &lt;USE&gt;Long Date Field&lt;/USE&gt;                  
                          &lt;SET&gt;$$DDMMYYYYDateFormat:$Date:&quot;-&quot;&lt;/SET&gt;                     
                      &lt;/FIELD&gt;
                      &lt;FIELD NAME=&quot;VoucherNumber&quot;&gt;
                          &lt;USE&gt;Name Field&lt;/USE&gt;
                          &lt;SET&gt;$VoucherNumber&lt;/SET&gt;
                      &lt;/FIELD&gt;
                      &lt;FIELD NAME=&quot;Amount&quot;&gt;
                          &lt;USE&gt;Amount Field&lt;/USE&gt;
                          &lt;SET&gt;$Amount&lt;/SET&gt;
                      &lt;/FIELD&gt;
                  
                      &lt;COLLECTION NAME=&quot;AllVouchers&quot; ISMODIFY=&quot;No&quot;&gt;
                          &lt;TYPE&gt;Voucher&lt;/TYPE&gt;
                          &lt;BELONGSTO&gt;YES&lt;/BELONGSTO&gt;
                      &lt;/COLLECTION&gt;
                      &lt;COLLECTION NAME=&quot;GetLedger&quot; ISMODIFY=&quot;No&quot;&gt;
                      &lt;walk&gt;Ledger&lt;/walk&gt;
                          &lt;BELONGSTO&gt;YES&lt;/BELONGSTO&gt;                     
                              &lt;FILTER&gt;IsOptionalFilter&lt;/FILTER&gt;
                                &lt;FETCH&gt;PartyLedgerName&lt;/FETCH&gt;         
                          &lt;/COLLECTION&gt;
                      &lt;COLLECTION NAME=&quot;GetLedgerCollAmt&quot; ISMODIFY=&quot;No&quot;&gt;
                              &lt;SourceCOLLECTION&gt;AllVouchers&lt;/SourceCOLLECTION&gt;                                                    
                              &lt;FILTER&gt;IsOptionalFilter&lt;/FILTER&gt;                   
                                &lt;FETCH&gt;VoucherNumber,LedgerName,Amount,VoucherTypeName,Date&lt;/FETCH&gt;                             
                          &lt;/COLLECTION&gt; 
                          &lt;SYSTEM TYPE=&quot;Formulae&quot; NAME=&quot;IsOptionalFilter&quot;&gt;NOT $IsOptional&lt;/SYSTEM&gt; 
                  &lt;/TDLMESSAGE&gt;
              &lt;/TDL&gt;
          &lt;/DESC&gt;
      &lt;/BODY&gt;
  &lt;/ENVELOPE&gt;
  </code></pre>
  <p>My expecting output structure is</p>
  <pre><code>`&lt;TALLYGRAPHS&gt;
          &lt;VOUCHER&gt;
                &lt;PARTYLEDGERNAME&gt;&lt;/PARTYLEDGERNAME&gt;
                &lt;VOUCHERTYPENAME&gt;&lt;/VOUCHERTYPENAME&gt;
                &lt;VOUCHERNUMBER&gt;&lt;/VOUCHERNUMBER&gt;
                &lt;AMOUNT&gt;&lt;/AMOUNT&gt;
                &lt;DATE&gt;&lt;/DATE&gt;
              &lt;Ledgerlist&gt;........&lt;/Ledgerlist&gt;
              &lt;Ledgerlist&gt;........&lt;/Ledgerlist&gt;
           &lt;/VOUCHER&gt;
           &lt;VOUCHER&gt;
                   &lt;PARTYLEDGERNAME&gt;&lt;/PARTYLEDGERNAME&gt;
                    &lt;VOUCHERTYPENAME&gt;&lt;/VOUCHERTYPENAME&gt;
                    &lt;VOUCHERNUMBER&gt;&lt;/VOUCHERNUMBER&gt;
                     &lt;AMOUNT&gt;&lt;/AMOUNT&gt;
                      &lt;DATE&gt;&lt;/DATE&gt;
              &lt;Ledgerlist&gt;........&lt;/Ledgerlist&gt;
              &lt;Ledgerlist&gt;........&lt;/Ledgerlist&gt;
           &lt;/VOUCHER&gt;
      &lt;/TALLYGRAPHS&gt;`
  </code></pre>