| | |
| | | Dt_LocationInfo newLocation; |
| | | Dt_LocationInfo newSourceAddress; |
| | | newSourceAddress = _basicService.LocationInfoService.GetLocationplatform(generate.SourceAddress); |
| | | newLocation = _basicService.LocationInfoService.GetLocation(newSourceAddress.RoadwayNo); |
| | | int Locationtype = 9; //é»è®¤ä¸º9 |
| | | if(dt_StockInfo.MaterialType== (int)InventoryMaterialType.æå) |
| | | { |
| | | Locationtype = 11; |
| | | }else if(dt_StockInfo.MaterialType == (int)InventoryMaterialType.åææ) |
| | | { |
| | | Locationtype = 10; |
| | | } |
| | | newLocation = _basicService.LocationInfoService.GetLocation(newSourceAddress.RoadwayNo, Locationtype); |
| | | //string[] Pallet = PalletCode.Split("-"); |
| | | if (newLocation != null && newSourceAddress != null) |
| | | { |
| | |
| | | StockStatus = (int)StockStatusEmun.ç»çæå, |
| | | Creater = "WMS", |
| | | CreateDate = DateTime.Now, |
| | | MaterialType = (int)InventoryMaterialType.åææ, |
| | | MaterialType = (int)InventoryMaterialType.æå, |
| | | Materialweight = 0, |
| | | }; |
| | | _unitOfWorkManage.BeginTran(); |