29 lines
958 B
C#
29 lines
958 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.SAL_ORDER
|
|
{
|
|
[Description("服务插件:销售订单根据纸质合同号变更销售类型"), HotUpdate]
|
|
public class SaveF_VRYF_Combo_lsn : AbstractOperationServicePlugIn
|
|
{
|
|
public override void AfterExecuteOperationTransaction(AfterExecuteOperationTransaction e)
|
|
{
|
|
base.AfterExecuteOperationTransaction(e);
|
|
foreach (var Row in e.SelectedRows)
|
|
{
|
|
// 获取单据信息
|
|
var Billobj = Row.DataEntity;
|
|
//sql
|
|
SqlManage.SqlManage.UpdateSal_OrderF_VRYF_Combo_lsn(this.Context, Convert.ToString(Billobj["Id"]));
|
|
}
|
|
}
|
|
}
|
|
}
|