Ejemplo n.º 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;
            }
        }
Ejemplo n.º 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;
            }
        }
Ejemplo n.º 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;
            }
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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
        }