获取单据当前工作流状态
SELECT
assign.FRECEIVERNAMES 处理人
,assign_l.FASSIGNNAME 节点
,approval.FASSIGNID
,approval.FOBJECTTYPEID 单据id
,approval.FKEYVALUE 单据id
FROM (
select FASSIGNID, FOBJECTTYPEID, FKEYVALUE from (
select ROW_NUMBER() over(partition by FOBJECTTYPEId, FKEYVALUE order by fdealtime desc) RowNum ,T_WF_APPROVALASSIGN.* from T_WF_APPROVALASSIGN ) as t1
where RowNum = 1
) approval
left join T_WF_ASSIGN assign on approval.FASSIGNID = assign.FASSIGNID
left join T_WF_ASSIGN_L assign_l on assign.FASSIGNID = assign_l.FASSIGNID and FLOCALEID = 2052
where assign.FSTATUS = 0
--and approval.FKEYVALUE= '124388'
获取单据当前工作流状态
SELECT assign.FRECEIVERNAMES 处理人,assign_l.FASSIGNNAME 节点,approval.FASSIGNID,approval.FOBJECTTYPEID 单据id,approval.FKEYVAL...
点击下载文档
上一篇:wise迁移星空企业版常见问题下一篇:WEBAPI常见问题
本文2024-09-16 17:52:27发表“云星空知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-k3cloud-18495.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章