public static StockEntryEditParam[] EditDataSTK(Int64 id) { var details = new List <StockEntryEditParam>(); try { details = new StockEntryDAO().EditStockEnrty(id); } catch (Exception ex) { //details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static Int64[] CheckVoidStockEnrty(Int64 id) { List <Int64> lstvalues = new List <Int64>(); try { lstvalues = new StockEntryDAO().CheckVoidStockEnrty(id); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(lstvalues.ToArray()); }
public static StockEntryEntity[] GetSTKData(StockEntryDateFilterEntity obj) { var details = new List <StockEntryEntity>(); try { details = new StockEntryDAO().GetStockEntryList(obj); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static StockEntryRegisterResultEntity[] GetStockEntryRegisterData(StockEntryRegisterParamEntity obj) { List <StockEntryRegisterResultEntity> details = new List <StockEntryRegisterResultEntity>(); try { details = new StockEntryDAO().GetStockEntryRegister(obj); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }