a
This commit is contained in:
36
GZ.LJY000.Eti/PUR_PurchaseOrder/OperationEventPlugInEx.cs
Normal file
36
GZ.LJY000.Eti/PUR_PurchaseOrder/OperationEventPlugInEx.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using Kingdee.BOS.Core.DynamicForm.PlugIn;
|
||||
using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace GZ.LJY000.Eti.PUR_PurchaseOrder
|
||||
{
|
||||
public class OperationEventPlugInEx: AbstractOperationServicePlugIn
|
||||
{
|
||||
public override void OnPreparePropertys(PreparePropertysEventArgs e)
|
||||
{
|
||||
base.OnPreparePropertys(e);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 操作事物后事件(事务内触发)
|
||||
/// </summary>
|
||||
/// <param name="e"></param>
|
||||
/// <remarks>
|
||||
/// 1. 此事件在操作执行代码之后,操作的内部逻辑已经执行完毕
|
||||
/// 2. 此事件在操作事务提交之前
|
||||
/// 3. 此事件中的数据库处理,受操作的事务保护
|
||||
/// 4. 通常此事件,可以用来做同步数据,如同步生成其他单据,而且需要受事务保护
|
||||
/// </remarks>
|
||||
public override void EndOperationTransaction(EndOperationTransactionArgs e)
|
||||
{
|
||||
base.EndOperationTransaction(e);
|
||||
// 保存8提交9审核1反审核26
|
||||
if (this.FormOperation.OperationId == 8)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user