zoukankan      html  css  js  c++  java
  • 会计期关闭打开问题

    --会计期关闭打开问题:
    --在12月30号被我关了,之后就不能打开,后来开了SR,一下是提供的解决方法

    select acct_period_id period,
           open_flag,
           period_name name,
           
           period_start_date,
           schedule_close_date,
           period_close_date

      
    from org_acct_periods

     
    where organization_id = &org_id

     
    order by 1,
              
    2;

    update org_acct_periods

       
    set open_flag = 'Y',
           
           period_close_date 
    = null,
           
           summarized_flag 
    = 'N'

     
    where organization_id = &&org_id
          
       
    and acct_period_id >= &&acct_period_id;

    delete mtl_period_summary

     
    where organization_id = &org_id
          
       
    and acct_period_id >= &acct_period_id;

    delete mtl_period_cg_summary

     
    where organization_id = &org_id
          
       
    and acct_period_id >= &acct_period_id;

    delete mtl_per_close_dtls

     
    where organization_id = &org_id
          
       
    and acct_period_id >= &acct_period_id;

    delete cst_period_close_summary

     
    where organization_id = &org_id
          
       
    and acct_period_id >= &acct_period_id;


             

                成长

           /      |     \

        学习   总结   分享

    QQ交流群:122230156

  • 相关阅读:
    最长回文子串(马拉车)
    ubutun 启动/停止/重启MySQL数据库
    臭大佬_LZW
    Beauty Contest(求凸包最大直径)
    Smallest Bounding Rectangle(最小面积外接矩形)
    Triangle(求凸包最大内接三角形)
    P4196 [CQOI2006]凸多边形
    P4724 【模板】三维凸包(简洁)
    P2600 [ZJOI2008]瞭望塔【半平面交】
    退役记
  • 原文地址:https://www.cnblogs.com/benio/p/1923230.html
Copyright © 2011-2022 走看看