修改物料属性时怎么移除生产页签仓库随库存页签变动的逻辑
移除实体服务规则代码注册到表单插件即可
from Kingdee.BOS.Core.DependencyRules import *
def OnInitialize(e):
removeRule = None
if this.View.RuleContainer.Rules is not None:
for rule in this.View.RuleContainer.Rules:
if rule.DependencyFields is not None and len(rule.DependencyFields)==1 and rule.DependencyFields[0].Field.Key=='FStockId' and rule.Seq==0:
removeRule = rule
break;
if removeRule is not None:
this.View.RuleContainer.Rules.Remove(removeRule)
修改物料属性时怎么移除生产页签仓库随库存页签变动的逻辑
移除实体服务规则代码注册到表单插件即可from Kingdee.BOS.Core.DependencyRules import *def OnInitialize(e): removeRule = N...
点击下载文档
本文2024-09-23 03:10:44发表“云星空知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-k3cloud-157213.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章