做之前记得做好备份表数据!
--1、 出错数据日期为:schedule_close_date =2024/2/28
 Select *
   From inv.org_acct_periods
  Where period_set_name = 'NIPRC_CALENDAR' --根据自己的实际命名
    And period_name = 'FEB-24';
 --修正为:schedule_close_date =2024/2/29
 Update inv.org_acct_periods
    Set schedule_close_date = to_date('2024/02/29', 'yyyy/mm/dd')
  Where period_set_name = 'NIPRC_CALENDAR' --根据自己的实际命名
    And period_name = 'FEB-24';
 --2、出错数据日期为:end_date=2024/2/28
 Select *
   From gl.gl_period_statuses
  Where period_name = 'FEB-24';
 --修改为:end_date=2024/2/29
 Update gl.gl_period_statuses
    Set end_date = to_date('2024/02/29', 'yyyy/mm/dd')
  Where period_name = 'FEB-24';
 --3、出错数据:period_name=NOT ASSIGNED  
 Select *
   From gl.gl_date_period_map
  Where accounting_date = to_date('2024/02/29', 'yyyy/mm/dd');
 --修改为:  period_name = FEB-24
 Update gl.gl_date_period_map
    Set period_name = 'FEB-24'
  Where accounting_date = to_date('2024/02/29', 'yyyy/mm/dd');
 --4、总账跑报表《Other - Calendar Validation Report》(中文:其它 - 日历验证报表)
 --如没警告或出错即可