예제 #1
0
        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());
        }
예제 #2
0
        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());
        }
예제 #3
0
        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());
        }
예제 #4
0
        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());
        }
예제 #5
0
        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());
        }