| | |
| | | |
| | | var itemIdLinkU9 = Db.Queryable<MesLinkU9>() |
| | | .Where(s => s.TableType == "MES_ITEMS" |
| | | && s.U9Id == ItemQtRKList.Itemld).First(); |
| | | && s.U9Id == ItemQtRKList.ItemId).First(); |
| | | |
| | | if (itemIdLinkU9 == null) |
| | | { |
| | |
| | | |
| | | if (mesItems == null) |
| | | { |
| | | throw new NotImplementedException("[" + ItemQtRKList.Itemld + |
| | | throw new NotImplementedException("[" + ItemQtRKList.ItemId + |
| | | "]物料不存在,请同步给MES"); |
| | | } |
| | | var mesDepot = ""; |
| | |
| | | ProductionOrder = ItemQtRKList.ProductionOrder, |
| | | DailyPlan = ItemQtRKList.DailyPlan, |
| | | ProductionActivity = ItemQtRKList.ProductionActivity, |
| | | FinishedProduct = ItemQtRKList.FinishedProduct |
| | | FinishedProduct = ItemQtRKList.FinishedProduct, |
| | | PickingUsage= ItemQtRKList.PickingUsage |
| | | |
| | | |
| | | }); |
| | | } |