K3关账提示:未有审核的进出单据存在

解决办法:(先备份帐套!)

首先:

select * from ICStockBill where (FCheckerID is null or FCheckerID=0) and FCancellation=0 and FDate>='2011-04-01' AND FDate<'2011-05-01'

--红色部分的日期,就是本期日期。比如现在是第4期,那么日期范围就是2011-04-01和2011-05-01之前的日期。(2011-04-01~2011-04-30)

 

然后:

select * into mytemptable from ICStockBill

--将ICStockBill的数据写入mytemptable里。(作为备份,以免这里的操作进行完毕后无效,便于恢复)

最后:

delete from ICStockBill where (FCheckerID is null or FCheckerID=0) and FCancellation=0 and FDate>='2011-04-01' AND FDate<'2011-05-01'

--删除没有审核的出入库单据。这张单据是因为暂估业务处理不当,系统自动生成的未审核单据。删除后,再次去运行期末结账即可!

 

相关文章:

  • 2021-12-31
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2021-04-17
猜你喜欢
  • 2021-09-30
  • 2021-04-13
  • 2022-01-18
  • 2021-11-05
  • 2021-08-04
  • 2022-12-23
  • 2021-09-05
相关资源
相似解决方案