1
This commit is contained in:
parent
875da8f2bf
commit
cadb353234
@ -896,9 +896,11 @@ namespace Pilot_KD_Parino.QPHY_AutoWrire
|
|||||||
|
|
||||||
|
|
||||||
int ISXSNUM = 0;
|
int ISXSNUM = 0;
|
||||||
|
errorList = new List<string>();
|
||||||
//循环收款单/新增核销记录
|
//循环收款单/新增核销记录
|
||||||
foreach (var item in fCombinaAddSK)
|
foreach (var item in fCombinaAddSK)
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
//创建核销记录单
|
//创建核销记录单
|
||||||
string FBILLNO = CommonHelper.CreateAutoWrireRecord2(this.Context, Convert.ToString(FOrgId), item.XSAPList, item);
|
string FBILLNO = CommonHelper.CreateAutoWrireRecord2(this.Context, Convert.ToString(FOrgId), item.XSAPList, item);
|
||||||
@ -910,7 +912,13 @@ namespace Pilot_KD_Parino.QPHY_AutoWrire
|
|||||||
ISXSNUM++;
|
ISXSNUM++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
errorList.Add(ex.Message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (errorList.Count > 0)
|
||||||
|
Message = Message + " 有部分单失败,原因是:"+string.Join(",", errorList);
|
||||||
this.View.ShowMessage(Message);
|
this.View.ShowMessage(Message);
|
||||||
if (successFbillNo.Count > 0)
|
if (successFbillNo.Count > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user