如何使用以下Tally XML SOAP请求获取旁白和运行平衡
<ENVELOPE>
<HEADER>
<TALLYREQUEST>Export Data</TALLYREQUEST>
</HEADER>
<BODY>
<EXPORTDATA>
<REQUESTDESC>
<REPORTNAME>Ledger Vouchers</REPORTNAME>
<STATICVARIABLES>
<SVCURRENTCOMPANY>My Company</SVCURRENTCOMPANY
<SVEXPORTFORMAT>$$SysName:XML</SVEXPORTFORMAT
<LEDGERNAME>Ledger Name</LEDGERNAME>
<SVFROMDATE>01-APR-2015</SVFROMDATE>
<SVTODATE>30-Apr-2015</SVTODATE>
</STATICVARIABLES>
</REQUESTDESC>
</EXPORTDATA>
</BODY>
</ENVELOPE>
答案 0 :(得分:0)
@Sameer Grover使用集合来获取数据
<COLLECTION NAME=\"MyLedgerVchrBackupColl\" ISMODIFY=\"No\" ISFIXED=\"No\" ISINITIALIZE=\"No\" ISOPTION=\"No\" ISINTERNAL=\"No\">
<TYPE>Voucher</TYPE>
<NativeMethod>VoucherNumber, narration</NativeMethod>
<Method>cmpName :##SVCurrentCompany</Method>
<METHOD>VSPLVchDate:\$Date</METHOD>
<METHOD>VSPLVchAmount:\$Amount</METHOD>
</COLLECTION>
答案 1 :(得分:0)
<ENVELOPE>
<HEADER>
<TALLYREQUEST>Export Data</TALLYREQUEST>
</HEADER>
<BODY>
<EXPORTDATA>
<REQUESTDESC>
<REPORTNAME>Ledger Vouchers</REPORTNAME>
<STATICVARIABLES>
<SVCURRENTCOMPANY>My Company</SVCURRENTCOMPANY
<SVEXPORTFORMAT>$$SysName:XML</SVEXPORTFORMAT
<LEDGERNAME>Ledger Name</LEDGERNAME>
<ExplodeNarrFlag>YES</ExplodeNarrFlag>
<SVFROMDATE>01-APR-2015</SVFROMDATE>
<SVTODATE>30-Apr-2015</SVTODATE>
</STATICVARIABLES>
</REQUESTDESC>
</EXPORTDATA>
</BODY>
</ENVELOPE>
在STATICVARIABLES中,将ExplodeNarrFlag行添加为“是”以显示“叙事”
我使用此页面来查找此爆炸标志和其他爆炸标志。这些爆炸标记适用于提示报告而不是提取。 http://tdlexpert.com/index.php?threads/php-xml-tally-integration.3369/