Export PDF using XML Soap Request Using VB6

Discussion in 'Tally Integration' started by Hemant Pathak, Feb 25, 2013.

    
  1. Hemant Pathak

    Hemant Pathak New Member


    Hi Experts,

    i want to export the pdf or excel file using XML soap through VB6.
    i have tried a lot but unable to get it done.
    Requirement:
    i want the same functionality which is in Tally Front end
    Tally Gateway -> Balance Sheet -> Export ->
    here lot of option coming like Excel, PDF etc...
    same i want to get it through XML request using VB6.0
     


  2. admin

    admin Administrator Staff Member


    <SVExportFormat>$$SysName:Excel</SVExportFormat>

    ;; Pass Path, Sheet Names, Etc.. as XML Nodes
     


  3. Hemant Pathak

    Hemant Pathak New Member


    Hi Admin,

    Please find the attached xml which i am passing through XML SOAP to tally and but Tally showing error message "Unable to save file"
    Let me know whats wrong with XML.

    Thanks,
    [​IMG]
    Code:
    <ENVELOPE>
      <HEADER>
          <VERSION>1</VERSION>
          <TALLYREQUEST>Export</TALLYREQUEST>
          <TYPE>Data</TYPE>
          <ID>Balance Sheet</ID>
      </HEADER>
      <BODY>
          <DESC>
            <STATICVARIABLES>
                <EXPLODEFLAG>Yes</EXPLODEFLAG>
                <SVEXPORTFORMAT>$$SysName:Excel</SVEXPORTFORMAT>
                <SVExportLocation>Z:\Shared Folder\TallyLink</SVExportLocation>
                <SVExportFileName>Test.xls</SVExportFileName>
                <SVExportSheetName>Sheet1</SVExportSheetName>
                <SVExcelExportWithFormatting>No</SVExcelExportWithFormatting>
                <SVExcelExportWithColour>No</SVExcelExportWithColour>
                <SVExcelExportUpdateBook>No</SVExcelExportUpdateBook>
                <SVCURRENTCOMPANY>Abc Company Ltd</SVCURRENTCOMPANY>
            </STATICVARIABLES>
            <TDL>
                <TDLMESSAGE>
                  <REPORT NAME="Balance Sheet" ISMODIFY="No" ISFIXED="No" ISINITIALIZE="No" />
                </TDLMESSAGE>
            </TDL>
          </DESC>
      </BODY>
    </ENVELOPE>
     

    Attached Files:



  4. Sachin Dhawad

    Sachin Dhawad New Member


    Hello Pathak Sir and Kiran Sir,
    Kindly tell me the solution to the above problem if found. I am also stuck with the same problem i.e. Unable to save the file
     


  5. Vinit

    Vinit New Member


    M also Getting Same Error
    Can Anyone Please Help
     


  6. Gopinath

    Gopinath New Member



    Hi Hemanth,

    Do you have any Updates on it?

    I am looking for the same solution. to export PDF from Tally Vouchers / Invoice using SOAP Xml Request.
     


  7. Sambanthan

    Sambanthan New Member


    I have the Solution now 97899 72054
     


  8. Hemant Pathak

    Hemant Pathak New Member


    Hi Sambanthan,

    If you have solution for this can you post it here what exactly we need to do this fix.
     


Share This Page