public static void CheckOrderIsCompleteOrderStatus4(List<ViewPlanningJournal> myOrderCompletionJrnl) { for (int i = 0; i < myOrderCompletionJrnl.Count; i++) { var db = new IstokDoorsDBContext(); db.usp_CheckOrderForCompletionStatus4(myOrderCompletionJrnl[i].OrderId); } }
//========================== CHECK ORDER IS COMPLETE AFTER ALLOCATION FROM INVENTORY========================== public static void CheckOrderCompletionAfterAllocationFromInventory(List<ViewPlanningJournal> myPlanJrnlList) { var db = new IstokDoorsDBContext(); for (int i = 0; i < myPlanJrnlList.Count; i++) { db.usp_CheckOrderForCompletionStatus4(myPlanJrnlList[i].OrderId); } }