public List <vmPrdSetSetup> GetDyeingSetAll(int?companyID, int?loggedUser, int?pageNumber, int?pageSize, int?IsPaging) { try { using (iProductionDDLMgt objDDLService = new ProductionDDLMgt()) { return(objDDLService.GetDyeingSetAll(companyID, loggedUser, pageNumber, pageSize, IsPaging)); } } catch (Exception e) { throw new Exception(e.Message.ToString()); } }
public vmPrdDyingMachineSetup GetPrdDyingMachineSetupByItemMachine(int?companyID, int?loggedUser, int?pageNumber, int?pageSize, int?IsPaging, int?ItemID, int?MechineID) { vmPrdDyingMachineSetup ent = null; try { ent = new ProductionDDLMgt().GetPrdDyingMachineSetupByItemMachine(companyID, loggedUser, pageNumber, pageSize, IsPaging, ItemID, MechineID).FirstOrDefault(); } catch (Exception e) { e.ToString(); } return(ent); }
public object GetDyingReferenceByItemID(int?companyID, int?loggedUser, int?pageNumber, int?pageSize, int?IsPaging, int?ItemID) { try { using (iProductionDDLMgt objDDLService = new ProductionDDLMgt()) { var list = objDDLService.GetDyingReferenceByItemID(companyID, loggedUser, pageNumber, pageSize, IsPaging, ItemID); return(list); } } catch (Exception e) { throw new Exception(e.Message.ToString()); } }
public object GetDyingMachineForChemicalProcess(int?companyID, int?loggedUser, int?pageNumber, int?pageSize, int?IsPaging) { try { using (iProductionDDLMgt objDDLService = new ProductionDDLMgt()) { var list = objDDLService.GetDyingMachineForChemicalProcess(companyID, loggedUser, pageNumber, pageSize, IsPaging); return(list); } } catch (Exception e) { throw new Exception(e.Message.ToString()); } }
public IEnumerable <vmProductionPrdSetSetupDDL> GetSetNoByItemID(int?companyID, int?loggedUser, int?pageNumber, int?pageSize, int?IsPaging, int?ItemID) { IEnumerable <vmProductionPrdSetSetupDDL> list = null; try { using (iProductionDDLMgt objDDLService = new ProductionDDLMgt()) { list = objDDLService.GetSetNoByItemID(companyID, loggedUser, pageNumber, pageSize, IsPaging, ItemID); } } catch (Exception e) { e.ToString(); } return(list); }
public IEnumerable <vmItemMaster> GetDyingItemMachineByItemTypeGroup(int?companyID, int?loggedUser, int?pageNumber, int?pageSize, int?IsPaging, int?ItemTypeID, int?ItemGroupID) { IEnumerable <vmItemMaster> list = null; try { using (iProductionDDLMgt objDDLService = new ProductionDDLMgt()) { list = objDDLService.GetDyingItemMachineByItemTypeGroup(companyID, loggedUser, pageNumber, pageSize, IsPaging, ItemTypeID, ItemGroupID); } } catch (Exception e) { e.ToString(); } return(list); }
public IEnumerable <vmProductionDyingHRMShiftDropDown> GetShift(int?companyID, int?loggedUser, int?pageNumber, int?pageSize, int?IsPaging) { IEnumerable <vmProductionDyingHRMShiftDropDown> list = null; try { using (iProductionDDLMgt objDDLService = new ProductionDDLMgt()) { list = objDDLService.GetShift(companyID, loggedUser, pageNumber, pageSize, IsPaging); } } catch (Exception e) { e.ToString(); } return(list); }
public List <vmPrdWeavingMachinConfig> GetMachine(int?companyID, int?loggedUser, int?pageNumber, int?pageSize, int?IsPaging, int?DepartmentID, int?ItemID) { List <vmPrdWeavingMachinConfig> list = null; Models.ViewModel.SystemCommon.vmCmnParameters param = new Models.ViewModel.SystemCommon.vmCmnParameters(); param.loggedCompany = companyID ?? 1; param.loggeduser = loggedUser ?? 1; param.DepartmentID = DepartmentID ?? 1; param.ItemID = ItemID ?? 1; try { list = new ProductionDDLMgt().GetMachine(param); } catch (Exception e) { e.ToString(); } return(list); }