BOS单据审核后插件中解锁字段
Dim dct As KFO.Dictionary
Dim lBillStatusBak As String
lBillStatusBak = m_BillInterface.BillStatus '先备份单据状态
m_BillInterface.BillCtl.BillStatus = 2 '设置单据为修改状态
Set dct = m_BillInterface.GetFieldInfoByKey("FText", "", 0) '获得字段的模板信息
Call m_BillInterface.LockCell(dct, -1, False) 'False表示解锁
'解锁完成后,还原单据状态
m_BillInterface.BillCtl.BillStatus = lBillStatusBak
BOS单据审核后插件中解锁字段
Dim dct As KFO.Dictionary Dim lBillStatusBak As String lBillStatusBak = m_BillInterface.BillStatus '先备份...
点击下载文档
本文2024-09-22 16:40:09发表“k3wise知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-k3wise-89425.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章