有问题文章留言 看内容决定收费与免费
另外接收数据库质疑 勒索病毒数据恢复等项目。

日结报错“算术溢出”?

【问】日结报错“算术溢出”?
【适用版本】专卖店8 【模块】零售管理 【点击数】598
【知识编号】Z2012052800004
【问题描述】日结报错“算术溢出”?

【答】 您好:此类问题一般为前台销售或者批发时将商品条码输入了数量栏导致,按照以下步骤进行处理(执行语句前需备份数据)。请注意里面的日期,修改为相应的日期即可。
1、找出问题记录
use isszmv8
go
select * from t_rm_saleflow where item_no=’商品货号’ and convert(char(10),oper_date,121)=’2007-09-27′
and flow_no=’错误的销售单号’
go
2、根据提示修改语句,更正问题
update t_rm_saleflow set sale_price=’正确的销售单价’,sale_money=’正确的销售金额’
where item_no=’6938247301823’and convert(char(10),oper_date,121)=’2007-09-27′ and flow_no=’错误的销售单号’
go
3、找出问题记录(如果没有记录就不用修改)
select * from t_im_flow where item_no=’6938247301823′ and memo=’前台销售’ and
convert(char(10),oper_date,121)=’2007-09-27′
go
4、根据提示修改语句,更正问题
update t_im_flow set price=’正确的销售单价’ ,sheet_amt=’错误销售金额’
where item_no=’6938247301823′ and memo=’前台销售’ and convert(char(10),oper_date,121)=’2007-09-27′ and
sheet_amt=’错误销售金额’
go
5、找出问题记录
select * from t_rm_payflow where convert(char(10),oper_date,121)=’2007-09-27′ and flow_no=’错误的销售单号’
go
6、根据提示修改语句,更正问题
update t_rm_payflow set sale_amount=’正确的销售单价’,pay_amount=’错误销售金额’
where convert(char(10),oper_date,121)=’2007-09-27′ and flow_no=’错误的销售单号’
go

赞(0)
未经允许不得转载:思迅软件知识库 » 日结报错“算术溢出”?
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址