30 lines
976 B
C#
30 lines
976 B
C#
using Kingdee.BOS.Core.DynamicForm.PlugIn;
|
|
using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
|
|
using Kingdee.BOS.Util;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GZ_LTHPilot_ORDER.XMYSLRB
|
|
{
|
|
[Description("服务插件:项目预算利润表保存后计算公式并对字段赋值"), HotUpdate]
|
|
public class Save : AbstractOperationServicePlugIn
|
|
{
|
|
public override void AfterExecuteOperationTransaction(AfterExecuteOperationTransaction e)
|
|
{
|
|
base.AfterExecuteOperationTransaction(e);
|
|
foreach(var Row in e.SelectedRows)
|
|
{
|
|
//获取单据信息
|
|
var Billobj = Row.DataEntity;
|
|
//更新项目预算利润表的财务信息字段
|
|
SqlManage.SqlManage.GZTH_XMYSBSave(this.Context, Convert.ToString(Billobj["Id"]));
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|