22
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using DevExpress.Data.Linq;
|
||||
using DevExpress.Data.PLinq.Helpers;
|
||||
using DocumentFormat.OpenXml.Drawing.Spreadsheet;
|
||||
using FarPoint.Excel;
|
||||
using Kingdee.BOS.App.Core.Utils;
|
||||
using Kingdee.BOS.BusinessEntity.BusinessFlow;
|
||||
using Kingdee.BOS.Core.CommonFilter;
|
||||
@@ -23,6 +24,7 @@ using Pilot_KD_Parino.Common;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -846,12 +848,12 @@ namespace Pilot_KD_Parino.QPHY_AutoWrire
|
||||
|
||||
});
|
||||
List<string> errorList = new List<string>();
|
||||
var eee = ReceiveBILLLIST2.Where(t => t.FDAMOUNT < t.BenCi).ToList();
|
||||
if (eee.Count > 0)
|
||||
{
|
||||
string kk =string.Join(",", eee.Select(t => t.FBIllNO).ToList());
|
||||
errorList.Add("这些订单的本次核销金额大于待核销金额"+ kk);
|
||||
}
|
||||
//var eee = ReceiveBILLLIST2.Where(t => (t.FALLAMOUNT- t.FYAMOUNT) < t.BenCi).ToList();
|
||||
//if (eee.Count > 0)
|
||||
//{
|
||||
// string kk =string.Join(",", eee.Select(t => t.FBIllNO).ToList());
|
||||
// errorList.Add("这些订单的本次核销金额大于待核销金额"+ kk);
|
||||
//}
|
||||
|
||||
var shouKuanList = ReceiveBILLLIST2.Where(t => t.F_RowNew == 1).ToList();
|
||||
|
||||
@@ -933,6 +935,9 @@ namespace Pilot_KD_Parino.QPHY_AutoWrire
|
||||
successFbillNo.Add(item.FBIllNO);
|
||||
ISXSNUM++;
|
||||
}
|
||||
|
||||
//string tempsql=$@"update T_AR_RECEIVEBILL set F_contractnumber='{item.FCONTRACTNUMBER}' where FBILLNO='{item.FBIllNO}' ;":
|
||||
//DBServiceHelper.ExecuteDynamicObject(ctx, sql.ToString(), null, null, CommandType.Text, null);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user