|
|
@ -1032,7 +1032,7 @@ namespace ICSSoft.DataProject |
|
|
|
c.WarehouseCode,c.LocationCode,'','',c.Quantity+{6}, |
|
|
|
'','0','{4}','31','0','', |
|
|
|
'','','',f.F_Account ,f.F_RealName , |
|
|
|
SYSDATETIME() ,'{9}' ,'' |
|
|
|
SYSDATETIME() ,'{1}' ,'{9}' |
|
|
|
FROM ICSInventoryLot a |
|
|
|
INNER JOIN ICSInventoryLotDetail b ON a.LotNo=b.LotNo AND a.WorkPoint=b.WorkPoint |
|
|
|
INNER JOIN ICSWareHouseLotInfo c ON a.LotNo=c.LotNo AND a.WorkPoint=c.WorkPoint |
|
|
@ -1132,13 +1132,13 @@ namespace ICSSoft.DataProject |
|
|
|
c.WarehouseCode,c.LocationCode,'{11}','{12}','{6}', |
|
|
|
'','0','{7}','{8}','0','', |
|
|
|
'','','',f.F_Account ,f.F_RealName , |
|
|
|
SYSDATETIME() ,'{1}' ,'','{9}' |
|
|
|
SYSDATETIME() ,'{1}' ,'{13}','{9}' |
|
|
|
FROM ICSInventoryLot a |
|
|
|
INNER JOIN ICSWareHouseLotInfo c ON a.LotNo=c.LotNo AND a.WorkPoint=c.WorkPoint |
|
|
|
INNER JOIN Sys_SRM_User f ON f.F_Account='{2}' AND a.WorkPoint=f.F_Location |
|
|
|
WHERE a.LotNo='{0}' AND a.WorkPoint='{1}' |
|
|
|
WHERE a.LotNo='{0}' AND a.WorkPoint='{13}' |
|
|
|
";
|
|
|
|
sql = string.Format(sql, LotNo, tranferWorkpoint, User, Identification, TransCode, TransSequence, Quantity, TransType, BusinessCode, MergeID, lotstr, WarehouseCode, LocationCode); |
|
|
|
sql = string.Format(sql, LotNo, WorkPoint, User, Identification, TransCode, TransSequence, Quantity, TransType, BusinessCode, MergeID, lotstr, WarehouseCode, LocationCode, tranferWorkpoint); |
|
|
|
cmd.CommandText = sql; |
|
|
|
result = cmd.ExecuteNonQuery(); |
|
|
|
if (result <= 0) |
|
|
@ -1161,13 +1161,13 @@ namespace ICSSoft.DataProject |
|
|
|
c.WarehouseCode,c.LocationCode,'','',c.Quantity, |
|
|
|
'','0','{7}','32','0','', |
|
|
|
'','','',f.F_Account ,f.F_RealName , |
|
|
|
SYSDATETIME() ,'{10}' ,'','{9}' |
|
|
|
SYSDATETIME() ,'{1}' ,'{10}','{9}' |
|
|
|
FROM ICSInventoryLot a |
|
|
|
INNER JOIN ICSWareHouseLotInfo c ON a.LotNo=c.LotNo AND a.WorkPoint=c.WorkPoint |
|
|
|
INNER JOIN Sys_SRM_User f ON f.F_Account='{2}' AND a.WorkPoint=f.F_Location |
|
|
|
WHERE a.LotNo='{0}' AND a.WorkPoint='{1}' |
|
|
|
WHERE a.LotNo='{0}' AND a.WorkPoint='{10}' |
|
|
|
";
|
|
|
|
sql = string.Format(sql, LotNo, tranferWorkpoint, User, Identification, TransCode, TransSequence, Quantity, TransType, BusinessCode, MergeID, tranferWorkpoint); |
|
|
|
sql = string.Format(sql, LotNo, WorkPoint, User, Identification, TransCode, TransSequence, Quantity, TransType, BusinessCode, MergeID, tranferWorkpoint); |
|
|
|
|
|
|
|
if (!DBHelper.ExecuteNonQuery(sql, cmd)) |
|
|
|
{ |
|
|
@ -1212,7 +1212,7 @@ namespace ICSSoft.DataProject |
|
|
|
c.WarehouseCode,c.LocationCode,'{9}','{10}',{6}, |
|
|
|
'','0','{7}','{8}','0','', |
|
|
|
'','','',f.F_Account ,f.F_RealName , |
|
|
|
SYSDATETIME() ,'{12}' ,'','{11}' |
|
|
|
SYSDATETIME() ,'{1}' ,'{12}','{11}' |
|
|
|
FROM ICSInventoryLot a |
|
|
|
INNER JOIN ICSWareHouseLotInfo c ON a.LotNo=c.LotNo AND a.WorkPoint=c.WorkPoint |
|
|
|
INNER JOIN Sys_SRM_User f ON f.F_Account='{2}' AND a.WorkPoint=f.F_Location |
|
|
|