改写 上机操作日志 表单插件Python版本原创
5人赞赏了该文章
118次浏览
编辑于2024年08月27日 23:19:32
from System import * from System.Collections.Generic import List from System.Linq import Enumerable from System.ComponentModel import * from Kingdee.BOS.Util import * from Kingdee.BOS.ServiceHelper import * from Kingdee.BOS.Core.DynamicForm.PlugIn import * from Kingdee.BOS.Core.DynamicForm.PlugIn.Args import BarItemClickEventArgs from Kingdee.BOS.Core.Log import LogObject def BarItemClick(e): logObjs = List[LogObject]() log = LogObject() log.Description = "具体描述" log.OperateName = "操作名称" log.ObjectTypeId = this.View.BillBusinessInfo.GetForm().Id log.SubSystemId = this.View.BillBusinessInfo.GetForm().SubsysId log.Environment = OperatingEnvironment.BizOperate logObjs.Add(log) LogServiceHelper.BatchWriteLog(this.Context, logObjs) LogServiceHelper.WriteLog(this.Context, log)
C#改写自
https://vip.kingdee.com/article/310770015119715840?productLineId=1&lang=zh-CN
赞 5
5人点赞
还没有人点赞,快来当第一个点赞的人吧!
打赏
0人打赏
还没有人打赏,快来当第一个打赏的人吧!
推荐阅读