

select * from  op_wms where CNTRNO='TCNU6772727'

select * from OP_WMS_PHYSICS where wmsid in(
select wmsid from  op_wms where CNTRNO='TCNU6772727'
)

select * from OP_WMS_PHYSICS_CHANGE where wmsid in(
select wmsid from  op_wms where CNTRNO='TCNU6772727'
)



select * from  op_wms where wmsid='F0888103-DFFA-4647-AFAE-351733776F29'

select * from  OP_WMS_CHANGE where wmsid='F0888103-DFFA-4647-AFAE-351733776F29'

update OP_WMS_CHANGE set KGS2=22561.184,PKGS2=100.000,NETWEIGHT2=22379.738,RULEUNITCOUNT2=22379.738,STORAGEUNITCOUNT2=22.561184 
,KGS3=14213.546,PKGS3=63.000,NETWEIGHT3=14099.235,STORAGEUNITCOUNT3=14.213546,RULEUNITCOUNT3=14099.235
where WMSLOGID='7DCD4B12-BF49-4C13-1083-08D960573C60'

update OP_WMS_CHANGE set KGS2=14213.546,PKGS2=63.000,NETWEIGHT2=14099.235,STORAGEUNITCOUNT2=14.213546,RULEUNITCOUNT2=14099.235
,KGS3=0,PKGS3=0,NETWEIGHT3=0,STORAGEUNITCOUNT3=0,RULEUNITCOUNT3=0
where WMSLOGID='22444F7B-DC50-4787-550E-08D94133C697'


select * from  OP_WMS_PHYSICS where wmsid='F0888103-DFFA-4647-AFAE-351733776F29'

select * from  OP_WMS_PHYSICS_CHANGE where wmsid='F0888103-DFFA-4647-AFAE-351733776F29'


update OP_WMS_PHYSICS_CHANGE set KGS2=22561.184,PKGS2=100.000,NETWEIGHT2=22379.738,RULEUNITCOUNT2=22379.738,STORAGEUNITCOUNT2=22.561184 
,KGS3=14213.546,PKGS3=63.000,NETWEIGHT3=14099.235,STORAGEUNITCOUNT3=14.213546,RULEUNITCOUNT3=14099.235
where WMSPHYSICS_LOGID='B62E8F0A-D678-4DB3-87D0-3473C8201A64'

update OP_WMS_PHYSICS_CHANGE set KGS2=14213.546,PKGS2=63.000,NETWEIGHT2=14099.235,STORAGEUNITCOUNT2=14.213546,RULEUNITCOUNT2=14099.235
,KGS3=0,PKGS3=0,NETWEIGHT3=0,STORAGEUNITCOUNT3=0,RULEUNITCOUNT3=0
where WMSPHYSICS_LOGID='C0057095-AEB8-4AB7-CBD4-08D94133C6D8'
