Exemplo n.º 1
0
 public static ACC_VoucherIteam GetCOMN_RowStatusByRowStatusID(int RowStatusID)
 {
     ACC_VoucherIteam aCC_VoucherIteam = new ACC_VoucherIteam();
     SqlACC_VoucherIteamProvider sqlACC_VoucherIteamProvider = new SqlACC_VoucherIteamProvider();
     aCC_VoucherIteam = sqlACC_VoucherIteamProvider.GetACC_VoucherIteamByRowStatusID(RowStatusID);
     return aCC_VoucherIteam;
 }
Exemplo n.º 2
0
 public static DataSet GetAllACC_VoucherIteamsWithRelation()
 {
     DataSet aCC_VoucherIteams = new DataSet();
     SqlACC_VoucherIteamProvider sqlACC_VoucherIteamProvider = new SqlACC_VoucherIteamProvider();
     aCC_VoucherIteams = sqlACC_VoucherIteamProvider.GetAllACC_VoucherIteams();
     return aCC_VoucherIteams;
 }
Exemplo n.º 3
0
 public static ACC_VoucherIteam GetACC_VoucherIteamByVoucherIteamID(int VoucherIteamID)
 {
     ACC_VoucherIteam aCC_VoucherIteam = new ACC_VoucherIteam();
     SqlACC_VoucherIteamProvider sqlACC_VoucherIteamProvider = new SqlACC_VoucherIteamProvider();
     aCC_VoucherIteam = sqlACC_VoucherIteamProvider.GetACC_VoucherIteamByVoucherIteamID(VoucherIteamID);
     return aCC_VoucherIteam;
 }
Exemplo n.º 4
0
 public static void LoadACC_VoucherIteamPage(System.Web.UI.WebControls.GridView gv, System.Web.UI.WebControls.Repeater rptPager, int pageIndex, DropDownList ddlPageSize)
 {
     int recordCount=0;
     int PageSize =  int.Parse(ddlPageSize.SelectedValue);
     SqlACC_VoucherIteamProvider sqlACC_VoucherIteamProvider = new SqlACC_VoucherIteamProvider();
     DataSet ds =  sqlACC_VoucherIteamProvider.GetACC_VoucherIteamPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      aCC_VoucherIteamsPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
Exemplo n.º 5
0
 public static int InsertACC_VoucherIteam(ACC_VoucherIteam aCC_VoucherIteam)
 {
     SqlACC_VoucherIteamProvider sqlACC_VoucherIteamProvider = new SqlACC_VoucherIteamProvider();
     return sqlACC_VoucherIteamProvider.InsertACC_VoucherIteam(aCC_VoucherIteam);
 }
Exemplo n.º 6
0
 public static DataSet GetDropDownListAllACC_VoucherIteam()
 {
     DataSet aCC_VoucherIteams = new DataSet();
     SqlACC_VoucherIteamProvider sqlACC_VoucherIteamProvider = new SqlACC_VoucherIteamProvider();
     aCC_VoucherIteams = sqlACC_VoucherIteamProvider.GetDropDownLisAllACC_VoucherIteam();
     return aCC_VoucherIteams;
 }
Exemplo n.º 7
0
 public static bool DeleteACC_VoucherIteam(int aCC_VoucherIteamID)
 {
     SqlACC_VoucherIteamProvider sqlACC_VoucherIteamProvider = new SqlACC_VoucherIteamProvider();
     return sqlACC_VoucherIteamProvider.DeleteACC_VoucherIteam(aCC_VoucherIteamID);
 }
Exemplo n.º 8
0
 public static bool UpdateACC_VoucherIteam(ACC_VoucherIteam aCC_VoucherIteam)
 {
     SqlACC_VoucherIteamProvider sqlACC_VoucherIteamProvider = new SqlACC_VoucherIteamProvider();
     return sqlACC_VoucherIteamProvider.UpdateACC_VoucherIteam(aCC_VoucherIteam);
 }