我有 2 笔具有相同凭证号的交易 - 20-21/示例
在第一笔交易中,我有 1 件商品 - 50,000
在第二次交易中,我有第二次 - 10,000
当我通过 XML 发送时,第二个事务覆盖第一个事务
但我想将两张优惠券合并到
Party a/c 60,000
to sales 60,000
Item-1
Item-2
XMLS 我正在发送第一笔交易
<ENVELOPE>
<HEADER>
<VERSION>1</VERSION>
<TALLYREQUEST>Import</TALLYREQUEST>
<TYPE>Data</TYPE>
<ID>All Masters</ID>
</HEADER>
<BODY>
<DESC>
<STATICVARIABLES />
</DESC>
<DATA>
<TALLYMESSAGE>
<VOUCHER DATE="20210331" TAGNAME="Voucher Number" TAGVALUE="20-21/Example" VCHTYPE="Sales">
<DATE>20210331</DATE>
<VOUCHERTYPENAME>Sales</VOUCHERTYPENAME>
<VOUCHERNUMBER>20-21/Example</VOUCHERNUMBER>
<NARRATION>sdcvds</NARRATION>
<BASICSHIPDELIVERYNOTE />
<ALLLEDGERENTRIES.LIST>
<LEDGERNAME>abc India Pvt. Ltd.</LEDGERNAME>
<ISDEEMEDPOSITIVE>Yes</ISDEEMEDPOSITIVE>
<AMOUNT>-50000</AMOUNT>
</ALLLEDGERENTRIES.LIST>
<ALLLEDGERENTRIES.LIST>
<LEDGERNAME>Sales</LEDGERNAME>
<ISDEEMEDPOSITIVE>No</ISDEEMEDPOSITIVE>
<AMOUNT>50000</AMOUNT>
<INVENTORYALLOCATIONS.LIST>
<STOCKITEMNAME>HP - 27</STOCKITEMNAME>
<RATE>500</RATE>
<ACTUALQTY>100</ACTUALQTY>
<AMOUNT>50000</AMOUNT>
<BATCHALLOCATIONS.LIST>
<GODOWNNAME>Main Location</GODOWNNAME>
<ACTUALQTY>100</ACTUALQTY>
<AMOUNT>50000</AMOUNT>
</BATCHALLOCATIONS.LIST>
</INVENTORYALLOCATIONS.LIST>
</ALLLEDGERENTRIES.LIST>
</VOUCHER>
</TALLYMESSAGE>
</DATA>
</BODY>
第二笔交易
<ENVELOPE>
<HEADER>
<VERSION>1</VERSION>
<TALLYREQUEST>Import</TALLYREQUEST>
<TYPE>Data</TYPE>
<ID>All Masters</ID>
</HEADER>
<BODY>
<DESC>
<STATICVARIABLES />
</DESC>
<DATA>
<TALLYMESSAGE>
<VOUCHER DATE="20210331" TAGNAME="Voucher Number" TAGVALUE="20-21/Example" VCHTYPE="Sales">
<DATE>20210331</DATE>
<VOUCHERTYPENAME>Sales</VOUCHERTYPENAME>
<VOUCHERNUMBER>20-21/Example</VOUCHERNUMBER>
<NARRATION>sdcvds</NARRATION>
<BASICSHIPDELIVERYNOTE />
<ALLLEDGERENTRIES.LIST>
<LEDGERNAME>abc India Pvt. Ltd.</LEDGERNAME>
<ISDEEMEDPOSITIVE>Yes</ISDEEMEDPOSITIVE>
<AMOUNT>-10000</AMOUNT>
</ALLLEDGERENTRIES.LIST>
<ALLLEDGERENTRIES.LIST>
<LEDGERNAME>Sales</LEDGERNAME>
<ISDEEMEDPOSITIVE>No</ISDEEMEDPOSITIVE>
<AMOUNT>10000</AMOUNT>
<INVENTORYALLOCATIONS.LIST>
<STOCKITEMNAME>HP - 28</STOCKITEMNAME>
<RATE>10000</RATE>
<ACTUALQTY>1</ACTUALQTY>
<AMOUNT>10000</AMOUNT>
<BATCHALLOCATIONS.LIST>
<GODOWNNAME>Main Location</GODOWNNAME>
<ACTUALQTY>1</ACTUALQTY>
<AMOUNT>50000</AMOUNT>
</BATCHALLOCATIONS.LIST>
</INVENTORYALLOCATIONS.LIST>
</ALLLEDGERENTRIES.LIST>
</VOUCHER>
</TALLYMESSAGE>
</DATA>
</BODY>
</ENVELOPE>