예제 #1
0
        //Item Grid Bind
        #region [Item Grid Bind]

        public DataSet BindItemGrid_BL(EWA_PurchaseOrder objEWA)
        {
            try
            {
                DL_PurchaseOrder objDL = new DL_PurchaseOrder();
                DataSet          ds    = objDL.BindItemGrid_DL(objEWA);
                return(ds);
            }
            catch (Exception exp)
            {
                throw exp;
            }
        }
예제 #2
0
        //To Fetch CourseId

        #region [Fetch POCode]

        public DataSet GetPOCode_BL(EWA_PurchaseOrder objEWA)
        {
            try
            {
                DL_PurchaseOrder objDL = new DL_PurchaseOrder();
                DataSet          ds    = objDL.GetPOCode_DL(objEWA);
                return(ds);
            }
            catch (Exception exp)
            {
                throw exp;
            }
        }
예제 #3
0
        //Bind Supplier Category
        #region [Bind Supplier Category]

        public DataSet BindSupplier_BL(EWA_PurchaseOrder objEWA)
        {
            try
            {
                DL_PurchaseOrder objDL = new DL_PurchaseOrder();
                DataSet          ds    = objDL.BindSupplier_DL(objEWA);
                return(ds);
            }
            catch (Exception)
            {
                throw;
            }
        }
예제 #4
0
        //Action Performed
        #region [ActionPerformed For Supplier ]

        public DataSet POAction_BL(EWA_PurchaseOrder objEWA, DataTable dt)
        {
            DataSet ds = new DataSet();

            try
            {
                DL_PurchaseOrder objDL = new DL_PurchaseOrder();
                ds = objDL.POAction_DL(objEWA, dt);
            }
            catch (Exception)
            {
                //throw;
            }
            return(ds);
        }
예제 #5
0
        private void GetReportData()
        {
            crPurchaseOrder   crt    = new crPurchaseOrder();
            EWA_PurchaseOrder objEWA = new EWA_PurchaseOrder();
            DL_PurchaseOrder  objDL  = new DL_PurchaseOrder();
            String            POCode = Session["POCode"].ToString();

            objEWA.POCode = POCode;
            DataSet ds = objDL.BindPurchaseOrderReport(objEWA);

            crt.SetDataSource(ds.Tables[0]);

            crvPO.ReportSource = crt;
            crvPO.RefreshReport();
            Session.Add("CR_Session", crt);  //Add Report into Session CR_Session
        }