|
|
@ -9714,7 +9714,7 @@ inner join (select TransCode,sum(Quantity) Quantity,WorkPoint from ICSWareHouseL |
|
|
|
} |
|
|
|
|
|
|
|
string chksql = @" --获取调拨数据
|
|
|
|
select a.* ,b.ToWarehouseCode |
|
|
|
select a.* ,b.ToWarehouseCode TransferToWarehouseCode |
|
|
|
from ICSWareHouseLotInfoLog a |
|
|
|
inner join [ICSTransfer] b on a.TransCode=b.TransferNO and a.TransSequence=b.Sequence and a.InvCode=b.InvCode and a.WorkPoint=b.WorkPoint |
|
|
|
where a.TransCode ='{0}' and a.WorkPoint='{1}' |
|
|
@ -9727,7 +9727,7 @@ inner join (select TransCode,sum(Quantity) Quantity,WorkPoint from ICSWareHouseL |
|
|
|
ICSWareHouseService.OneStepTransferDocIn(JsonData.TransCode, dr["TransSequence"].ToString(), JsonData.WorkPoint, dr["Quantity"].ToString(), cmd, language); |
|
|
|
|
|
|
|
//更新条码信息
|
|
|
|
printTable = ICSWareHouseLotInfoService.WareHouseLotInfoTransfer(Identification, JsonData.TransCode, dr["TransSequence"].ToString(), dr["ToWarehouseCode"].ToString(), BinCode, |
|
|
|
printTable = ICSWareHouseLotInfoService.WareHouseLotInfoTransfer(Identification, JsonData.TransCode, dr["TransSequence"].ToString(), dr["TransferToWarehouseCode"].ToString(), BinCode, |
|
|
|
dr["LotNo"].ToString(), dr["Quantity"].ToString(), JsonData.User, JsonData.WorkPoint, JsonData.TransType, TransTypeEnum.OneStepTransferDocIn.GetDescription<DBValue>(), cmd, language, MergeID); |
|
|
|
} |
|
|
|
//上传ERP
|
|
|
|