11
This commit is contained in:
@@ -31,6 +31,8 @@ namespace Pilot_KD_Parino.QPHY_AutoWrireRecord
|
||||
var Billobj = rows.DataEntity;
|
||||
//获取销售订单核销金额数据
|
||||
SqlManage.FUpdateSalOrderAmount(this.Context, Convert.ToString(Billobj["Id"]));
|
||||
//int id = Convert.ToInt32(Billobj["Id"]);
|
||||
|
||||
|
||||
string sql1 = string.Format(@"/*dialect*/Select B.FBILLNO2,B.FALLAMOUNT2 From T_AutoWrireRecord A
|
||||
JOIN T_AutoWrireRecordEntry B
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using Kingdee.BOS;
|
||||
using Kingdee.BOS.Log;
|
||||
using Kingdee.BOS.Orm.DataEntity;
|
||||
using Kingdee.BOS.ServiceHelper;
|
||||
using System;
|
||||
@@ -36,6 +37,7 @@ namespace Pilot_KD_Parino.SQL
|
||||
//定义SQL,调用物料视图
|
||||
string sql = string.Format(@"/*dialect*/
|
||||
EXEC FUpdateSalOrderAmount {0} ", FID);
|
||||
Logger.Error("FUpdateSalOrderAmount", sql, new Exception());
|
||||
//执行SQL
|
||||
DBServiceHelper.ExecuteDynamicObject(ctx, sql.ToString(), null, null, CommandType.Text, null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user