1
This commit is contained in:
parent
4f6ed39575
commit
8bbf5d8e3c
@ -240,6 +240,7 @@
|
|||||||
<Compile Include="RECEIVEBILL\ReceivebillCounterOrder.cs" />
|
<Compile Include="RECEIVEBILL\ReceivebillCounterOrder.cs" />
|
||||||
<Compile Include="RECEIVEBILL\ReceivebillAuditOrder.cs" />
|
<Compile Include="RECEIVEBILL\ReceivebillAuditOrder.cs" />
|
||||||
<Compile Include="REFUNDBILL\RefundbillAuditOrder.cs" />
|
<Compile Include="REFUNDBILL\RefundbillAuditOrder.cs" />
|
||||||
|
<Compile Include="SAL_ORDER\SaveF_VRYF_Combo-lsn.cs" />
|
||||||
<Compile Include="SAL_OUTSTOCK\AuditSal_Order.cs" />
|
<Compile Include="SAL_OUTSTOCK\AuditSal_Order.cs" />
|
||||||
<Compile Include="SAL_OUTSTOCK\ListSFDateForm.cs" />
|
<Compile Include="SAL_OUTSTOCK\ListSFDateForm.cs" />
|
||||||
<Compile Include="SAL_OUTSTOCK\ListSFDate.cs" />
|
<Compile Include="SAL_OUTSTOCK\ListSFDate.cs" />
|
||||||
|
28
SAL_ORDER/SaveF_VRYF_Combo-lsn.cs
Normal file
28
SAL_ORDER/SaveF_VRYF_Combo-lsn.cs
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
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"]));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -290,5 +290,13 @@ namespace GZ_LTHPilot_ORDER.SqlManage
|
|||||||
",FID);
|
",FID);
|
||||||
DBServiceHelper.ExecuteDynamicObject(ctx, sql.ToString(), null, null, CommandType.Text, null);
|
DBServiceHelper.ExecuteDynamicObject(ctx, sql.ToString(), null, null, CommandType.Text, null);
|
||||||
}
|
}
|
||||||
|
//根据销售订单的纸质合同号,修改销售订单的销售类型字段
|
||||||
|
public static void UpdateSal_OrderF_VRYF_Combo_lsn(Context ctx,string FID)
|
||||||
|
{
|
||||||
|
string sql = string.Format(@"/*dialect*/
|
||||||
|
EXEC GZTH_UpdateSal_OrderF_VRYF_Combo_lsn '{0}'
|
||||||
|
",FID);
|
||||||
|
DBServiceHelper.ExecuteDynamicObject(ctx, sql.ToString(), null, null, CommandType.Text, null);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Binary file not shown.
BIN
兴诺模板/Xceed.Document.NET.dll
Normal file
BIN
兴诺模板/Xceed.Document.NET.dll
Normal file
Binary file not shown.
BIN
兴诺模板/Xceed.Words.NET.dll
Normal file
BIN
兴诺模板/Xceed.Words.NET.dll
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user