电脑桌面
添加蚂蚁七词文库到电脑桌面
安装后可以在桌面快捷访问

二开案例.单据插件.事件.BeforeEntryRowDataBinder

来源:金蝶云社区作者:金蝶2024-09-236

二开案例.单据插件.事件.BeforeEntryRowDataBinder

【事件名称】

BeforeEntryRowDataBinder

分录行新建前事件



【事件参数】

BeforeEntryRowDataBinderArgs

RowData:分录行数据包

RowIndex:分录行行号

Control:单据体的外观元数据

BindValue:回发给前端的分录行数据包

Cancel:是否取消新增分录行

EventType:始终等于Kingdee.BOS.Core.DependencyRules.RaiseEventType.ItemAdding



【触发时机】

该事件运行在Model层的DataBinder中,在新增分录行前触发,在BeforeCreateNewEntryRow事件之后执行,在AfterCreateNewEntryRow事件之前执行。



【功能说明】

可以在此事件中,取消新增分录行。



【注意事项】

在此方法修改分录行的数据,既不会触发字段的值更新事件和表单服务,也不会和Model联动。



【应用场景】

取消新增分录行。

单据查看界面,对单据体的某些字段的值进行特殊处理。



【代码模板】

using Kingdee.BOS.Core.DynamicForm.PlugIn;

using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;

using Kingdee.BOS.Util;

using System.ComponentModel;


/// <summary>

/// 【表单插件】BeforeEntryRowDataBinder

/// </summary>

[Description("【表单插件】BeforeEntryRowDataBinder"), HotUpdate]

public clas

二开案例.单据插件.事件.BeforeEntryRowDataBinder

【事件名称】BeforeEntryRowDataBinder分录行新建前事件【事件参数】BeforeEntryRowDataBinderArgsRowData:分录行数据包RowIndex:分录行...
点击下载文档文档为doc格式

声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。如若本站内容侵犯了原著者的合法权益,可联系本站删除。

已经是第一篇
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息
QQ群
  • 答案:my7c点击这里加入QQ群
支持邮箱
微信
  • 微信