脚本1:执行完成后提交,之后到软件界面库存管理基础设置调整现存量节点做调整现存量,调整月结记录
update ic_general_h h set dr='1' where h.vbillcode='TR1304280001' and pk_corp=(select pk_corp from bd_corp bd where bd.unitcode='公司编码' )
脚本2:执行后提交,之后到软件界面存货核算基础设置下面做数据修正
update ia_bill ia set dr='1' where ia.vbillcode='I4130428000655' and pk_corp=(select pk_corp from bd_corp bd where bd.unitcode='公司编码' )
update ia_bill_b ib set dr='1' where ib.vbillcode='I4130428000655' and pk_corp=(select pk_corp from bd_corp bd where bd.unitcode='公司编码' )
select * from ia_bill ia where ia.vbillcode='I4130428000655'
select * from ia_bill_b ib where ib.vbillcode='I4130428000655'
公司代码指:登录系统时的代码。