如何使用理货以xml格式在应收票据报表中显示期初金额?
How to show opening amount in bills receivable report in xml format using tally?
我正在尝试通过 post XML 请求获取 Tally Erp 9 应收票据,除了期初金额外,一切正常。请指导我获取开仓金额。
XML请求:
<ENVELOPE>
<HEADER>
<TALLYREQUEST>Export Data</TALLYREQUEST>
</HEADER>
<BODY>
<EXPORTDATA>
<REQUESTDESC>
<STATICVARIABLES>
<SVEXPORTFORMAT>SysName:XML</SVEXPORTFORMAT>
</STATICVARIABLES>
<REPORTNAME>Bills Receivable</REPORTNAME>
</REQUESTDESC>
</EXPORTDATA>
</BODY>
</ENVELOPE>
XML 响应:
<ENVELOPE>
<BILLFIXED>
<BILLDATE>1-Dec-2016</BILLDATE>
<BILLREF>A-2602</BILLREF>
<BILLPARTY>ABC Company</BILLPARTY>
</BILLFIXED>
<BILLCL>-17000.00</BILLCL>
<BILLPDC></BILLPDC>
<BILLFINAL>-17000.00</BILLFINAL>
<BILLDUE>31-Dec-2016</BILLDUE>
<BILLOVERDUE>1848</BILLOVERDUE>
<BILLFIXED>
<BILLDATE>15-Dec-2016</BILLDATE>
<BILLREF>A-2726</BILLREF>
<BILLPARTY>XYZ Company</BILLPARTY>
</BILLFIXED>
<BILLCL>-74400.00</BILLCL>
<BILLPDC></BILLPDC>
<BILLFINAL>-74400.00</BILLFINAL>
<BILLDUE></BILLDUE>
<BILLOVERDUE>1834</BILLOVERDUE>
</ENVELOPE>
预期XML响应:
<ENVELOPE>
<BILLFIXED>
<BILLDATE>1-Dec-2016</BILLDATE>
<BILLREF>A-2602</BILLREF>
<BILLPARTY>ABC Company</BILLPARTY>
</BILLFIXED>
<BILLOP>-17000.00</BILLOP>
<BILLCL>-17000.00</BILLCL>
<BILLPDC></BILLPDC>
<BILLFINAL>-17000.00</BILLFINAL>
<BILLDUE>31-Dec-2016</BILLDUE>
<BILLOVERDUE>1848</BILLOVERDUE>
<BILLFIXED>
<BILLDATE>15-Dec-2016</BILLDATE>
<BILLREF>A-2726</BILLREF>
<BILLPARTY>XYZ Company</BILLPARTY>
</BILLFIXED>
<BILLOP>-90000.00</BILLOP>
<BILLCL>-74400.00</BILLCL>
<BILLPDC></BILLPDC>
<BILLFINAL>-74400.00</BILLFINAL>
<BILLDUE></BILLDUE>
<BILLOVERDUE>1834</BILLOVERDUE>
</ENVELOPE>
如何通过post XML 请求获得Tally Erp 9 Bills Receivable with opening amount?在 XML 请求中是否有设置 Show Opening Amount: Yes
的选项?
扩展报告并添加 <SET>ShowOpBillAmt:Yes </SET>
满XML将
<ENVELOPE>
<HEADER>
<VERSION>1</VERSION>
<TALLYREQUEST>EXPORT</TALLYREQUEST>
<TYPE>DATA</TYPE>
<ID>CustBillsreceivable</ID>
</HEADER>
<BODY>
<DESC>
<TDL>
<TDLMESSAGE>
<REPORT ISMODIFY="No" ISFIXED="No" ISINITIALIZE="No" ISOPTION="No" ISINTERNAL="No" NAME="CustBillsreceivable">
<USE>Bills Receivable </USE>
<SET>ShowOpBillAmt:Yes </SET>
</REPORT>
</TDLMESSAGE>
</TDL>
</DESC>
</BODY>
</ENVELOPE>
我正在尝试通过 post XML 请求获取 Tally Erp 9 应收票据,除了期初金额外,一切正常。请指导我获取开仓金额。
XML请求:
<ENVELOPE>
<HEADER>
<TALLYREQUEST>Export Data</TALLYREQUEST>
</HEADER>
<BODY>
<EXPORTDATA>
<REQUESTDESC>
<STATICVARIABLES>
<SVEXPORTFORMAT>SysName:XML</SVEXPORTFORMAT>
</STATICVARIABLES>
<REPORTNAME>Bills Receivable</REPORTNAME>
</REQUESTDESC>
</EXPORTDATA>
</BODY>
</ENVELOPE>
XML 响应:
<ENVELOPE>
<BILLFIXED>
<BILLDATE>1-Dec-2016</BILLDATE>
<BILLREF>A-2602</BILLREF>
<BILLPARTY>ABC Company</BILLPARTY>
</BILLFIXED>
<BILLCL>-17000.00</BILLCL>
<BILLPDC></BILLPDC>
<BILLFINAL>-17000.00</BILLFINAL>
<BILLDUE>31-Dec-2016</BILLDUE>
<BILLOVERDUE>1848</BILLOVERDUE>
<BILLFIXED>
<BILLDATE>15-Dec-2016</BILLDATE>
<BILLREF>A-2726</BILLREF>
<BILLPARTY>XYZ Company</BILLPARTY>
</BILLFIXED>
<BILLCL>-74400.00</BILLCL>
<BILLPDC></BILLPDC>
<BILLFINAL>-74400.00</BILLFINAL>
<BILLDUE></BILLDUE>
<BILLOVERDUE>1834</BILLOVERDUE>
</ENVELOPE>
预期XML响应:
<ENVELOPE>
<BILLFIXED>
<BILLDATE>1-Dec-2016</BILLDATE>
<BILLREF>A-2602</BILLREF>
<BILLPARTY>ABC Company</BILLPARTY>
</BILLFIXED>
<BILLOP>-17000.00</BILLOP>
<BILLCL>-17000.00</BILLCL>
<BILLPDC></BILLPDC>
<BILLFINAL>-17000.00</BILLFINAL>
<BILLDUE>31-Dec-2016</BILLDUE>
<BILLOVERDUE>1848</BILLOVERDUE>
<BILLFIXED>
<BILLDATE>15-Dec-2016</BILLDATE>
<BILLREF>A-2726</BILLREF>
<BILLPARTY>XYZ Company</BILLPARTY>
</BILLFIXED>
<BILLOP>-90000.00</BILLOP>
<BILLCL>-74400.00</BILLCL>
<BILLPDC></BILLPDC>
<BILLFINAL>-74400.00</BILLFINAL>
<BILLDUE></BILLDUE>
<BILLOVERDUE>1834</BILLOVERDUE>
</ENVELOPE>
如何通过post XML 请求获得Tally Erp 9 Bills Receivable with opening amount?在 XML 请求中是否有设置 Show Opening Amount: Yes
的选项?
扩展报告并添加 <SET>ShowOpBillAmt:Yes </SET>
满XML将
<ENVELOPE>
<HEADER>
<VERSION>1</VERSION>
<TALLYREQUEST>EXPORT</TALLYREQUEST>
<TYPE>DATA</TYPE>
<ID>CustBillsreceivable</ID>
</HEADER>
<BODY>
<DESC>
<TDL>
<TDLMESSAGE>
<REPORT ISMODIFY="No" ISFIXED="No" ISINITIALIZE="No" ISOPTION="No" ISINTERNAL="No" NAME="CustBillsreceivable">
<USE>Bills Receivable </USE>
<SET>ShowOpBillAmt:Yes </SET>
</REPORT>
</TDLMESSAGE>
</TDL>
</DESC>
</BODY>
</ENVELOPE>