public static InwardRegisterResultEntity[] GetInwardRegisterData(InwardRegisterParamEntity obj) { List <InwardRegisterResultEntity> details = new List <InwardRegisterResultEntity>(); try { details = new InwardEntryDAO().GetInwardRegister(obj); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static InwardEntryEntity[] GetINData(InwardEntryDateFilterEntity obj) { var details = new List <InwardEntryEntity>(); try { details = new InwardEntryDAO().GetInwardEntryList(obj); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static PendingOutwardEntries[] GetPendingOutwardEntries(string str) { List <PendingOutwardEntries> details = new List <PendingOutwardEntries>(); try { details = new InwardEntryDAO().GetPendingOutwardEntries(str); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static InwardEntryEditParam[] EditDataIN(Int64 id) { var details = new List <InwardEntryEditParam>(); try { details = new InwardEntryDAO().EditInwardEnrty(id); } catch (Exception ex) { //details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static Int64[] CheckVoidInwardEnrty(Int64 id) { List <Int64> lstvalues = new List <Int64>(); try { lstvalues = new InwardEntryDAO().CheckVoidInwardEnrty(id); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(lstvalues.ToArray()); }