Beta Releas 2.1.0.4-2

All Transaction Import Complted, Tested
This commit is contained in:
2023-05-07 12:16:49 +05:30
parent 35206614ef
commit 686d8675be
5 changed files with 6 additions and 6 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+6 -6
View File
@@ -1002,7 +1002,7 @@ namespace TallyDataTool
{ {
pStrInvLedgerName = "Sales KTM"; pStrInvLedgerName = "Sales KTM";
} }
else if (TransType == "Chekak") else if (TransType == "CHETAK")
{ {
pStrInvLedgerName = "Sales Chetak"; pStrInvLedgerName = "Sales Chetak";
} }
@@ -1061,7 +1061,7 @@ namespace TallyDataTool
{ {
pStrXMLResponse = oLibTallySync.TallyVoucherSyncInventory(pStrVoucherXML, pStrTallyPort); pStrXMLResponse = oLibTallySync.TallyVoucherSyncInventory(pStrVoucherXML, pStrTallyPort);
if (pStrXMLResponse.Contains("ERROR") == true && pStrXMLResponse.Contains("already exists!") == false) if (pStrXMLResponse.Contains("ERRORS>1") == true && pStrXMLResponse.Contains("already exists!") == false)
{ {
pSWTallySyncLogs.WriteLine(dtExcelSource.Rows[i]["docno"] + "-" + pStrXMLResponse); pSWTallySyncLogs.WriteLine(dtExcelSource.Rows[i]["docno"] + "-" + pStrXMLResponse);
@@ -1756,13 +1756,13 @@ namespace TallyDataTool
if (dtExcelData.Columns.Contains("FAME Subsidy") == true) if (dtExcelData.Columns.Contains("FAME Subsidy") == true)
{ {
pDecTotalFameAmount = pDecTotalFameAmount + Convert.ToDecimal(string.IsNullOrEmpty(dtExcelData.Rows[i]["FAME Subsidy"].ToString()) ? "0" : dtExcelData.Rows[i]["FAME Subsidy"].ToString()); pDecTotalFameAmount = pDecTotalFameAmount + Convert.ToDecimal(string.IsNullOrEmpty(dtExcelData.Rows[i]["FAME Subsidy"].ToString()) ? "0" : dtExcelData.Rows[i]["FAME Subsidy"].ToString().Replace("-", ""));
} }
if (dtExcelData.Columns.Contains("CGST(2.5%)") == true) if (dtExcelData.Columns.Contains("CGST(2#5%)") == true)
{ {
pDecTotalCGST9 = pDecTotalCGST9 + Convert.ToDecimal(string.IsNullOrEmpty(dtExcelData.Rows[i]["CGST(2.5%)"].ToString()) ? "0" : dtExcelData.Rows[i]["CGST(2.5%)"].ToString()); pDecTotalCGST9 = pDecTotalCGST9 + Convert.ToDecimal(string.IsNullOrEmpty(dtExcelData.Rows[i]["CGST(2#5%)"].ToString()) ? "0" : dtExcelData.Rows[i]["CGST(2#5%)"].ToString());
pDecTotalSGST9 = pDecTotalSGST9 + Convert.ToDecimal(string.IsNullOrEmpty(dtExcelData.Rows[i]["SGST/ UTGST(2.5%)"].ToString()) ? "0" : dtExcelData.Rows[i]["SGST/ UTGST(2.5%)"].ToString()); pDecTotalSGST9 = pDecTotalSGST9 + Convert.ToDecimal(string.IsNullOrEmpty(dtExcelData.Rows[i]["SGST/ UTGST(2#5%)"].ToString()) ? "0" : dtExcelData.Rows[i]["SGST/ UTGST(2#5%)"].ToString());
} }