Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. how we generate Tally XML file

how we generate Tally XML file

Scheduled Pinned Locked Moved ASP.NET
csharpxml
8 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lrsalunkhe
    wrote on last edited by
    #1

    Respected, How we generate Tally XML file using c#.net. My Generate File Like: - <ENVELOPE> - <HEADER> <TALLYREQUEST>Import Data</TALLYREQUEST> </HEADER> - <BODY> - <IMPORTDATA> - <REQUESTDESC> <REPORTNAME>Vouchers</REPORTNAME> - <STATICVARIABLES> <SVCURRENTCOMPANY>Crystal Softwares.</SVCURRENTCOMPANY> </STATICVARIABLES> </REQUESTDESC> - <REQUESTDATA> - <TALLYMESSAGE xmlns:UDF="TallyUDF"> - <VOUCHER REMOTEID="6178b2bd-1d64-4c89-9c2a-20080725-Receipt-MAX LOGISTICS PVT. LTD./002131-20080725" VCHTYPE="RECEIPT" ACTION="Create"> <ISOPTIONAL>No</ISOPTIONAL> <USEFORGAINLOSS>No</USEFORGAINLOSS> <USEFORCOMPOUND>No</USEFORCOMPOUND> <VOUCHERTYPENAME>Receipt</VOUCHERTYPENAME> <DATE>20080725</DATE> <EFFECTIVEDATE>20080725</EFFECTIVEDATE> <ISCANCELLED>No</ISCANCELLED> <USETRACKINGNUMBER>No</USETRACKINGNUMBER> <ISPOSTDATED>No</ISPOSTDATED> <ISINVOICE>No</ISINVOICE> <DIFFACTUALQTY>No</DIFFACTUALQTY> <VOUCHERNUMBER>002131-20080725</VOUCHERNUMBER> <PARTYLEDGERNAME>MAX LOGISTICS PVT. LTD.</PARTYLEDGERNAME> <NARRATION>Ch. No.:002131 Ch. Date:7/25/2008</NARRATION> <ASPAYSLIP>No</ASPAYSLIP> <GUID>6178b2bd-1d64-4c89-9c2a-20080725-Receipt-MAX LOGISTICS PVT. LTD./002131-20080725</GUID> - <ALLLEDGERENTRIES.LIST> <REMOVEZEROENTRIES>No</REMOVEZEROENTRIES> <ISDEEMEDPOSITIVE>No</ISDEEMEDPOSITIVE> <LEDGERFROMITEM>No</LEDGERFROMITEM> <LEDGERNAME>MAX LOGISTICS PVT. LTD.</LEDGERNAME> <AMOUNT>72091</AMOUNT> - <BILLALLOCATIONS.LIST> <NAME>E/1025/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE> <AMOUNT>11193</AMOUNT> </BILLALLOCATIONS.LIST> - <BILLALLOCATIONS.LIST> <NAME>E/1023/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE> <AMOUNT>10393</AMOUNT> </BILLALLOCATIONS.LIST> - <BILLALLOCATIONS.LIST> <NAME>E/1022/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE> <AMOUNT>12472</AMOUNT> </BILLALLOCATIONS.LIST> - <BILLALLOCATIONS.LIST> <NAME>E/1021/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE

    A D D A 4 Replies Last reply
    0
    • L lrsalunkhe

      Respected, How we generate Tally XML file using c#.net. My Generate File Like: - <ENVELOPE> - <HEADER> <TALLYREQUEST>Import Data</TALLYREQUEST> </HEADER> - <BODY> - <IMPORTDATA> - <REQUESTDESC> <REPORTNAME>Vouchers</REPORTNAME> - <STATICVARIABLES> <SVCURRENTCOMPANY>Crystal Softwares.</SVCURRENTCOMPANY> </STATICVARIABLES> </REQUESTDESC> - <REQUESTDATA> - <TALLYMESSAGE xmlns:UDF="TallyUDF"> - <VOUCHER REMOTEID="6178b2bd-1d64-4c89-9c2a-20080725-Receipt-MAX LOGISTICS PVT. LTD./002131-20080725" VCHTYPE="RECEIPT" ACTION="Create"> <ISOPTIONAL>No</ISOPTIONAL> <USEFORGAINLOSS>No</USEFORGAINLOSS> <USEFORCOMPOUND>No</USEFORCOMPOUND> <VOUCHERTYPENAME>Receipt</VOUCHERTYPENAME> <DATE>20080725</DATE> <EFFECTIVEDATE>20080725</EFFECTIVEDATE> <ISCANCELLED>No</ISCANCELLED> <USETRACKINGNUMBER>No</USETRACKINGNUMBER> <ISPOSTDATED>No</ISPOSTDATED> <ISINVOICE>No</ISINVOICE> <DIFFACTUALQTY>No</DIFFACTUALQTY> <VOUCHERNUMBER>002131-20080725</VOUCHERNUMBER> <PARTYLEDGERNAME>MAX LOGISTICS PVT. LTD.</PARTYLEDGERNAME> <NARRATION>Ch. No.:002131 Ch. Date:7/25/2008</NARRATION> <ASPAYSLIP>No</ASPAYSLIP> <GUID>6178b2bd-1d64-4c89-9c2a-20080725-Receipt-MAX LOGISTICS PVT. LTD./002131-20080725</GUID> - <ALLLEDGERENTRIES.LIST> <REMOVEZEROENTRIES>No</REMOVEZEROENTRIES> <ISDEEMEDPOSITIVE>No</ISDEEMEDPOSITIVE> <LEDGERFROMITEM>No</LEDGERFROMITEM> <LEDGERNAME>MAX LOGISTICS PVT. LTD.</LEDGERNAME> <AMOUNT>72091</AMOUNT> - <BILLALLOCATIONS.LIST> <NAME>E/1025/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE> <AMOUNT>11193</AMOUNT> </BILLALLOCATIONS.LIST> - <BILLALLOCATIONS.LIST> <NAME>E/1023/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE> <AMOUNT>10393</AMOUNT> </BILLALLOCATIONS.LIST> - <BILLALLOCATIONS.LIST> <NAME>E/1022/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE> <AMOUNT>12472</AMOUNT> </BILLALLOCATIONS.LIST> - <BILLALLOCATIONS.LIST> <NAME>E/1021/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      First of all , you do not need to put whole XML to find out the answer. Secondly you are asking the same question from a quite long time and asked many time and many people have given you the answer. Your Questions[^]

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

      L 1 Reply Last reply
      0
      • A Abhijit Jana

        First of all , you do not need to put whole XML to find out the answer. Secondly you are asking the same question from a quite long time and asked many time and many people have given you the answer. Your Questions[^]

        Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

        L Offline
        L Offline
        lrsalunkhe
        wrote on last edited by
        #3

        Respected, But my problem is not been solved.So please help me in this. Thanks.

        1 Reply Last reply
        0
        • L lrsalunkhe

          Respected, How we generate Tally XML file using c#.net. My Generate File Like: - <ENVELOPE> - <HEADER> <TALLYREQUEST>Import Data</TALLYREQUEST> </HEADER> - <BODY> - <IMPORTDATA> - <REQUESTDESC> <REPORTNAME>Vouchers</REPORTNAME> - <STATICVARIABLES> <SVCURRENTCOMPANY>Crystal Softwares.</SVCURRENTCOMPANY> </STATICVARIABLES> </REQUESTDESC> - <REQUESTDATA> - <TALLYMESSAGE xmlns:UDF="TallyUDF"> - <VOUCHER REMOTEID="6178b2bd-1d64-4c89-9c2a-20080725-Receipt-MAX LOGISTICS PVT. LTD./002131-20080725" VCHTYPE="RECEIPT" ACTION="Create"> <ISOPTIONAL>No</ISOPTIONAL> <USEFORGAINLOSS>No</USEFORGAINLOSS> <USEFORCOMPOUND>No</USEFORCOMPOUND> <VOUCHERTYPENAME>Receipt</VOUCHERTYPENAME> <DATE>20080725</DATE> <EFFECTIVEDATE>20080725</EFFECTIVEDATE> <ISCANCELLED>No</ISCANCELLED> <USETRACKINGNUMBER>No</USETRACKINGNUMBER> <ISPOSTDATED>No</ISPOSTDATED> <ISINVOICE>No</ISINVOICE> <DIFFACTUALQTY>No</DIFFACTUALQTY> <VOUCHERNUMBER>002131-20080725</VOUCHERNUMBER> <PARTYLEDGERNAME>MAX LOGISTICS PVT. LTD.</PARTYLEDGERNAME> <NARRATION>Ch. No.:002131 Ch. Date:7/25/2008</NARRATION> <ASPAYSLIP>No</ASPAYSLIP> <GUID>6178b2bd-1d64-4c89-9c2a-20080725-Receipt-MAX LOGISTICS PVT. LTD./002131-20080725</GUID> - <ALLLEDGERENTRIES.LIST> <REMOVEZEROENTRIES>No</REMOVEZEROENTRIES> <ISDEEMEDPOSITIVE>No</ISDEEMEDPOSITIVE> <LEDGERFROMITEM>No</LEDGERFROMITEM> <LEDGERNAME>MAX LOGISTICS PVT. LTD.</LEDGERNAME> <AMOUNT>72091</AMOUNT> - <BILLALLOCATIONS.LIST> <NAME>E/1025/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE> <AMOUNT>11193</AMOUNT> </BILLALLOCATIONS.LIST> - <BILLALLOCATIONS.LIST> <NAME>E/1023/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE> <AMOUNT>10393</AMOUNT> </BILLALLOCATIONS.LIST> - <BILLALLOCATIONS.LIST> <NAME>E/1022/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE> <AMOUNT>12472</AMOUNT> </BILLALLOCATIONS.LIST> - <BILLALLOCATIONS.LIST> <NAME>E/1021/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE

          D Offline
          D Offline
          dan sh
          wrote on last edited by
          #4

          There will be very few here who would know what Tally is. Whatever that is, if it has a dedicated forum, you should be really going there t opost your query.

          50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!

          1 Reply Last reply
          0
          • L lrsalunkhe

            Respected, How we generate Tally XML file using c#.net. My Generate File Like: - <ENVELOPE> - <HEADER> <TALLYREQUEST>Import Data</TALLYREQUEST> </HEADER> - <BODY> - <IMPORTDATA> - <REQUESTDESC> <REPORTNAME>Vouchers</REPORTNAME> - <STATICVARIABLES> <SVCURRENTCOMPANY>Crystal Softwares.</SVCURRENTCOMPANY> </STATICVARIABLES> </REQUESTDESC> - <REQUESTDATA> - <TALLYMESSAGE xmlns:UDF="TallyUDF"> - <VOUCHER REMOTEID="6178b2bd-1d64-4c89-9c2a-20080725-Receipt-MAX LOGISTICS PVT. LTD./002131-20080725" VCHTYPE="RECEIPT" ACTION="Create"> <ISOPTIONAL>No</ISOPTIONAL> <USEFORGAINLOSS>No</USEFORGAINLOSS> <USEFORCOMPOUND>No</USEFORCOMPOUND> <VOUCHERTYPENAME>Receipt</VOUCHERTYPENAME> <DATE>20080725</DATE> <EFFECTIVEDATE>20080725</EFFECTIVEDATE> <ISCANCELLED>No</ISCANCELLED> <USETRACKINGNUMBER>No</USETRACKINGNUMBER> <ISPOSTDATED>No</ISPOSTDATED> <ISINVOICE>No</ISINVOICE> <DIFFACTUALQTY>No</DIFFACTUALQTY> <VOUCHERNUMBER>002131-20080725</VOUCHERNUMBER> <PARTYLEDGERNAME>MAX LOGISTICS PVT. LTD.</PARTYLEDGERNAME> <NARRATION>Ch. No.:002131 Ch. Date:7/25/2008</NARRATION> <ASPAYSLIP>No</ASPAYSLIP> <GUID>6178b2bd-1d64-4c89-9c2a-20080725-Receipt-MAX LOGISTICS PVT. LTD./002131-20080725</GUID> - <ALLLEDGERENTRIES.LIST> <REMOVEZEROENTRIES>No</REMOVEZEROENTRIES> <ISDEEMEDPOSITIVE>No</ISDEEMEDPOSITIVE> <LEDGERFROMITEM>No</LEDGERFROMITEM> <LEDGERNAME>MAX LOGISTICS PVT. LTD.</LEDGERNAME> <AMOUNT>72091</AMOUNT> - <BILLALLOCATIONS.LIST> <NAME>E/1025/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE> <AMOUNT>11193</AMOUNT> </BILLALLOCATIONS.LIST> - <BILLALLOCATIONS.LIST> <NAME>E/1023/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE> <AMOUNT>10393</AMOUNT> </BILLALLOCATIONS.LIST> - <BILLALLOCATIONS.LIST> <NAME>E/1022/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE> <AMOUNT>12472</AMOUNT> </BILLALLOCATIONS.LIST> - <BILLALLOCATIONS.LIST> <NAME>E/1021/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE

            D Offline
            D Offline
            Dinesh Mani
            wrote on last edited by
            #5

            Can you explain what exactly are you trying to achieve here? If I'm not wrong, then Tally generates this XML file when you create a trial balance or some other operation and this data has to be submitted to some Govt service to complete the transaction or something on those lines. Am I correct? Now, do you need a way to parse this XML data and view it so as to validate it before submitting? Or is it something else you are looking for?

            1 Reply Last reply
            0
            • L lrsalunkhe

              Respected, How we generate Tally XML file using c#.net. My Generate File Like: - <ENVELOPE> - <HEADER> <TALLYREQUEST>Import Data</TALLYREQUEST> </HEADER> - <BODY> - <IMPORTDATA> - <REQUESTDESC> <REPORTNAME>Vouchers</REPORTNAME> - <STATICVARIABLES> <SVCURRENTCOMPANY>Crystal Softwares.</SVCURRENTCOMPANY> </STATICVARIABLES> </REQUESTDESC> - <REQUESTDATA> - <TALLYMESSAGE xmlns:UDF="TallyUDF"> - <VOUCHER REMOTEID="6178b2bd-1d64-4c89-9c2a-20080725-Receipt-MAX LOGISTICS PVT. LTD./002131-20080725" VCHTYPE="RECEIPT" ACTION="Create"> <ISOPTIONAL>No</ISOPTIONAL> <USEFORGAINLOSS>No</USEFORGAINLOSS> <USEFORCOMPOUND>No</USEFORCOMPOUND> <VOUCHERTYPENAME>Receipt</VOUCHERTYPENAME> <DATE>20080725</DATE> <EFFECTIVEDATE>20080725</EFFECTIVEDATE> <ISCANCELLED>No</ISCANCELLED> <USETRACKINGNUMBER>No</USETRACKINGNUMBER> <ISPOSTDATED>No</ISPOSTDATED> <ISINVOICE>No</ISINVOICE> <DIFFACTUALQTY>No</DIFFACTUALQTY> <VOUCHERNUMBER>002131-20080725</VOUCHERNUMBER> <PARTYLEDGERNAME>MAX LOGISTICS PVT. LTD.</PARTYLEDGERNAME> <NARRATION>Ch. No.:002131 Ch. Date:7/25/2008</NARRATION> <ASPAYSLIP>No</ASPAYSLIP> <GUID>6178b2bd-1d64-4c89-9c2a-20080725-Receipt-MAX LOGISTICS PVT. LTD./002131-20080725</GUID> - <ALLLEDGERENTRIES.LIST> <REMOVEZEROENTRIES>No</REMOVEZEROENTRIES> <ISDEEMEDPOSITIVE>No</ISDEEMEDPOSITIVE> <LEDGERFROMITEM>No</LEDGERFROMITEM> <LEDGERNAME>MAX LOGISTICS PVT. LTD.</LEDGERNAME> <AMOUNT>72091</AMOUNT> - <BILLALLOCATIONS.LIST> <NAME>E/1025/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE> <AMOUNT>11193</AMOUNT> </BILLALLOCATIONS.LIST> - <BILLALLOCATIONS.LIST> <NAME>E/1023/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE> <AMOUNT>10393</AMOUNT> </BILLALLOCATIONS.LIST> - <BILLALLOCATIONS.LIST> <NAME>E/1022/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE> <AMOUNT>12472</AMOUNT> </BILLALLOCATIONS.LIST> - <BILLALLOCATIONS.LIST> <NAME>E/1021/P</NAME> <BILLTYPE>Agst Ref</BILLTYPE

              A Offline
              A Offline
              Abhishek Sur
              wrote on last edited by
              #6

              If this is the schema, building an xml file is very easy. Use X-LINQ to generate this xml and feed that in Tally. Read all on how to generate any xml from here : Linq to XML[^] Finally after you generate the xml file, consume it from tally. :cool::cool:

              Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


              My Latest Articles-->** Simplify Code Using NDepend
              Basics of Bing Search API using .NET
              Microsoft Bing MAP using Javascript

              S 1 Reply Last reply
              0
              • A Abhishek Sur

                If this is the schema, building an xml file is very easy. Use X-LINQ to generate this xml and feed that in Tally. Read all on how to generate any xml from here : Linq to XML[^] Finally after you generate the xml file, consume it from tally. :cool::cool:

                Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


                My Latest Articles-->** Simplify Code Using NDepend
                Basics of Bing Search API using .NET
                Microsoft Bing MAP using Javascript

                S Offline
                S Offline
                Shyam Bharath
                wrote on last edited by
                #7

                WTH is Tally? :^) :zzz:

                Exam-O-Matic - Online exam conduction tool in ASP.net

                A 1 Reply Last reply
                0
                • S Shyam Bharath

                  WTH is Tally? :^) :zzz:

                  Exam-O-Matic - Online exam conduction tool in ASP.net

                  A Offline
                  A Offline
                  Abhishek Sur
                  wrote on last edited by
                  #8

                  I never used it.. But it is an accounting package AFAIK... ;P ;P

                  Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


                  My Latest Articles-->** Simplify Code Using NDepend
                  Basics of Bing Search API using .NET
                  Microsoft Bing MAP using Javascript

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups