diff --git a/ICSSoft.FromERP/ICSSoft.FromERP/ICSWareHouseLotInfoDoc.cs b/ICSSoft.FromERP/ICSSoft.FromERP/ICSWareHouseLotInfoDoc.cs index 77aad87..5933830 100644 --- a/ICSSoft.FromERP/ICSSoft.FromERP/ICSWareHouseLotInfoDoc.cs +++ b/ICSSoft.FromERP/ICSSoft.FromERP/ICSWareHouseLotInfoDoc.cs @@ -69,6 +69,10 @@ namespace ICSSoft.FromERP string sequence = data.Sequence; var warehouse = db.ICSWarehouse.SingleOrDefault(e => e.WarehouseCode == data.WHCode && e.WorkPoint == data.WorkPoint); string location = db.ICSLocation.Where(e => e.WHID == warehouse.ID && e.WorkPoint == workPoint).FirstOrDefault()?.LocationCode; + if (data.WHCode=="108") + { + location = "108-108-GJ"; + } log.Info(location); string sql = $@"EXEC Addins_GetSerialCode '{workPoint}','ICSInventoryLot','LotNO','KCP{rcvCode}{sequence}',5;"; log.Info(sql);