|
|
@@ -192,7 +192,7 @@ namespace UAS_MES_NEW.Packing
|
|
|
OperateResult.AppendText(">>" + ErrorMessage + "\n", Color.Red, outboxcode);
|
|
|
return;
|
|
|
}
|
|
|
- dh.UpdateByCondition("package", "pa_printcount= nvl(pa_printcount,0)+1,pa_weight='" + ActualWeight + "',pa_status=1,pa_packageqty=pa_currentqty,pa_totalqty=pa_currentqty", "pa_outboxcode='" + outboxcode.Text + "'");
|
|
|
+ dh.UpdateByCondition("package", "pa_printcount= nvl(pa_printcount,0)+1,pa_status=1,pa_packageqty=pa_currentqty,pa_totalqty=pa_currentqty", "pa_outboxcode='" + outboxcode.Text + "'");
|
|
|
dh.UpdateByCondition("package", "pa_nextstep='" + dh.getFieldDataByCondition("packagedetail left join makeserial on ms_sncode=pd_barcode and ms_makecode=pd_makecode", "max(ms_nextstepcode)", "pd_outboxcode='" + outboxcode.Text + "'").ToString() + "' ,PA_CURRENTSTEP = '' ", "pa_outboxcode='" + outboxcode.Text + "'");
|
|
|
LoadCheckQTY();
|
|
|
outboxcode.Clear();
|