//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; } }
//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; } }
//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; } }
//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); }
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 }