Click here to Skip to main content
15,911,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I Want to fetch all Daybook entries of tally for a particular date using SOAP request.

I tried many solutions. but i couldn't get proper answer in response.

Please help me to find a proper SOAP Request.




Thanks.

What I have tried:

<ENVELOPE>
<HEADER>
<VERSION>1</VERSION>
<TALLYREQUEST>Export</TALLYREQUEST>
<TYPE>Collection</TYPE>
<ID>Day Book</ID>
</HEADER>
<BODY>
<DESC>
<STATICVARIABLES>
<SVFROMDATE TYPE="Date">dd-MMM-yyyy</SVFROMDATE>
<SVTODATE TYPE="Date">dd-MMM-yyyy</SVTODATE>
<EXPLODEFLAG>Yes</EXPLODEFLAG>
<SVEXPORTFORMAT>$$SysName:XML</SVEXPORTFORMAT> 
</STATICVARIABLES>
<TDL>
<TDLMESSAGE>
<COLLECTION NAME="Day Book" ISMODIFY="No">
<TYPE>Voucher</TYPE> 
<FETCH>Vouchernumber,Amount</FETCH>
</COLLECTION> 
</TDLMESSAGE>
</TDL>
</DESC> 
</BODY> 
</ENVELOPE>
Posted
Updated 12-Sep-17 22:31pm
v4
Comments
Graeme_Grant 13-Sep-17 3:23am    
Don't understand.

Also, your XML looks malformed - missing closing tags.

Please update the question with clear and concise details, sample code, any error messages (including inner exception details), etc, by clicking on Improve question widget to add more info to the question.
Graeme_Grant 13-Sep-17 4:36am    
Now that you have updated the question, thank you, this looks like a request soap packet. You have not set the date range.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900