违约金未下账解决方法

所需工具

1.sql数据库
2.云端服务器表
3.mstsc远程工具

开始操作

需要更改的
1.已收字段 = 应收字段
2.欠费字段=0

1)在云端服务器表中查找该物业所在哪个云端服务器上,如果服务器是在本地就询问物业人员。
2)用mstsc远程工具登陆对应云端服务器。
3)在服务器管理器>角色>Web服务器(IIS)>Internet信息服务(IIS)管理器>网站中找到该物业查看所在的库。
4)进入数据库先查询物业发的单据流水号,用sql语句查找
select * from TBL_Charge_ChatgeInformation where OrderNumber=‘流水号’

5)用应收表的ID对应已收表的CostingInfoID查询对应票据的应收
select * from TBL_Charge_CostingInfo where ID in (select CostingInfoID from TBL_Charge_ChargeInformation where OrderNumber=‘流水号’)

6)查询到后核实票据后开始更改票据,sql更新语句。

update TBL_Charge_CostingInfo set LiquidatedBalance = 0,LiquidatedPayment=LiquidatedAccounts where ID in (select CostingInfoID from TBL_Charge_ChargeInformation where OrderNumber=‘流水号’)

欠费字段:LiquidatedBalance
已收字段:LiquidatedPayment
应收字段:LiquidatedAccounts

你可能感兴趣的:(违约金未下账解决方法)