Ejemplo n.º 1
0
 public static List<ACC_Account> GetAllAccountBySubBasicAccountID(int subBasicAccountID)
 {
     List<ACC_Account> aCC_Accounts = new List<ACC_Account>();
     SqlACC_AccountProvider sqlACC_AccountProvider = new SqlACC_AccountProvider();
     aCC_Accounts = sqlACC_AccountProvider.GetAllAccountBySubBasicAccountID(subBasicAccountID);
     return aCC_Accounts;
 }
Ejemplo n.º 2
0
 public static DataSet GetACC_AccountBySubBasicAccountID(int SubBasicAccountID,bool isDataset)
 {
     DataSet aCC_Account = new DataSet();
     SqlACC_AccountProvider sqlACC_AccountProvider = new SqlACC_AccountProvider();
     aCC_Account = sqlACC_AccountProvider.GetACC_AccountBySubBasicAccountID(SubBasicAccountID,isDataset);
     return aCC_Account;
 }
Ejemplo n.º 3
0
 public static ACC_Account GetACC_SubBasicAccountBySubBasicAccountID(int SubBasicAccountID)
 {
     ACC_Account aCC_Account = new ACC_Account();
     SqlACC_AccountProvider sqlACC_AccountProvider = new SqlACC_AccountProvider();
     aCC_Account = sqlACC_AccountProvider.GetACC_AccountBySubBasicAccountID(SubBasicAccountID);
     return aCC_Account;
 }
Ejemplo n.º 4
0
 public static DataSet GetAllACC_AccountsWithRelation()
 {
     DataSet aCC_Accounts = new DataSet();
     SqlACC_AccountProvider sqlACC_AccountProvider = new SqlACC_AccountProvider();
     aCC_Accounts = sqlACC_AccountProvider.GetAllACC_Accounts();
     return aCC_Accounts;
 }
Ejemplo n.º 5
0
 public static List<ACC_Account> ViewAllACC_JournalsByAccountID(DateTime startDate, DateTime endDate)
 {
     List<ACC_Account> aCC_Accounts = new List<ACC_Account>();
     SqlACC_AccountProvider sqlACC_AccountProvider = new SqlACC_AccountProvider();
     aCC_Accounts = sqlACC_AccountProvider.ViewAllACC_JournalsByDateRange(startDate, endDate);
     return aCC_Accounts;
 }
Ejemplo n.º 6
0
 public static bool DeleteACC_Account(int aCC_AccountID)
 {
     SqlACC_AccountProvider sqlACC_AccountProvider = new SqlACC_AccountProvider();
     return sqlACC_AccountProvider.DeleteACC_Account(aCC_AccountID);
 }
Ejemplo n.º 7
0
 public static bool UpdateACC_Account(ACC_Account aCC_Account)
 {
     SqlACC_AccountProvider sqlACC_AccountProvider = new SqlACC_AccountProvider();
     return sqlACC_AccountProvider.UpdateACC_Account(aCC_Account);
 }
Ejemplo n.º 8
0
 public static void LoadACC_AccountPage(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_AccountProvider sqlACC_AccountProvider = new SqlACC_AccountProvider();
     DataSet ds =  sqlACC_AccountProvider.GetACC_AccountPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      aCC_AccountsPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
Ejemplo n.º 9
0
 public static int InsertACC_Account(ACC_Account aCC_Account)
 {
     SqlACC_AccountProvider sqlACC_AccountProvider = new SqlACC_AccountProvider();
     return sqlACC_AccountProvider.InsertACC_Account(aCC_Account);
 }
Ejemplo n.º 10
0
 public static DataSet GetDropDownListAllACC_Account()
 {
     DataSet aCC_Accounts = new DataSet();
     SqlACC_AccountProvider sqlACC_AccountProvider = new SqlACC_AccountProvider();
     aCC_Accounts = sqlACC_AccountProvider.GetDropDownLisAllACC_Account();
     return aCC_Accounts;
 }
Ejemplo n.º 11
0
 public static ACC_Account GetCOMN_RowStatusByRowStatusID(int RowStatusID)
 {
     ACC_Account aCC_Account = new ACC_Account();
     SqlACC_AccountProvider sqlACC_AccountProvider = new SqlACC_AccountProvider();
     aCC_Account = sqlACC_AccountProvider.GetACC_AccountByRowStatusID(RowStatusID);
     return aCC_Account;
 }