zoukankan      html  css  js  c++  java
  • 用友U8 |【合同管理】合同结算单不能失效

    问题描述:

    合同结算单不能失效;

    处理方法:

     select iverifystate ,cCurrentAuditor,cAuditer,dtAuditedate,* from CM_Balance  where  cBalanceID='0000003197'   --查找结算单主表信息
    
    update CM_Balance set cAuditer=''   where  cBalanceID='0000003089'   --取消生效人
    update CM_Balance set dtAuditedate =null  where  cBalanceID='0000003089'  --取消生效日期
    
    update CM_Balance set cAdmin=null,dtAdminDate=null where cBalanceID='0000003089' 
    update CM_Balance set cCurrentAuditor=null where cBalanceID='0000003089' 

    思路:

    --先查询cCurrentAuditor是否正确,【最终审核人C】审核后,这个字段应该是null
    --如果有C的名字,执行update CM_Balance set cCurrentAuditor=null where cBalanceID='0000003089' 
    ---再执行  update CM_Balance set cAuditer=''   where  cBalanceID='0000003089'   --取消生效人
    --update CM_Balance set dtAuditedate =null  where  cBalanceID='0000003089'  --取消生效日期
    --然后用C账号,点重新提交

  • 相关阅读:
    课后作业之评价
    课堂作业之寻找水王
    构建之法阅读笔记04
    课下作业
    构建之法阅读笔记03
    学习进度条九
    学习进度条八
    冲刺第五天
    构建之法阅读笔记02
    冲刺第四天
  • 原文地址:https://www.cnblogs.com/lxhui/p/15047646.html
Copyright © 2011-2022 走看看