예제 #1
0
 public static DataSet GetACC_UserTypeByUserTypeID(int UserTypeID,bool isdataset)
 {
     DataSet aCC_AccountingUser = new DataSet();
     SqlACC_AccountingUserProvider sqlACC_AccountingUserProvider = new SqlACC_AccountingUserProvider();
     aCC_AccountingUser = sqlACC_AccountingUserProvider.GetACC_AccountingUserByUserTypeID(UserTypeID,isdataset);
     return aCC_AccountingUser;
 }
예제 #2
0
 public static ACC_AccountingUser GetACC_RowStatusByRowStatusID(int RowStatusID)
 {
     ACC_AccountingUser aCC_AccountingUser = new ACC_AccountingUser();
     SqlACC_AccountingUserProvider sqlACC_AccountingUserProvider = new SqlACC_AccountingUserProvider();
     aCC_AccountingUser = sqlACC_AccountingUserProvider.GetACC_AccountingUserByRowStatusID(RowStatusID);
     return aCC_AccountingUser;
 }
예제 #3
0
 public static ACC_AccountingUser GetACC_UserTypeByUserTypeID(int UserTypeID)
 {
     ACC_AccountingUser aCC_AccountingUser = new ACC_AccountingUser();
     SqlACC_AccountingUserProvider sqlACC_AccountingUserProvider = new SqlACC_AccountingUserProvider();
     aCC_AccountingUser = sqlACC_AccountingUserProvider.GetACC_AccountingUserByUserTypeID(UserTypeID);
     return aCC_AccountingUser;
 }
예제 #4
0
 public static ACC_AccountingUser GetACC_AccountingUserByAccountingUserID(int AccountingUserID)
 {
     ACC_AccountingUser aCC_AccountingUser = new ACC_AccountingUser();
     SqlACC_AccountingUserProvider sqlACC_AccountingUserProvider = new SqlACC_AccountingUserProvider();
     aCC_AccountingUser = sqlACC_AccountingUserProvider.GetACC_AccountingUserByAccountingUserID(AccountingUserID);
     return aCC_AccountingUser;
 }
예제 #5
0
 public static DataSet GetACC_BankForChecks()
 {
     DataSet aCC_AccountingUsers = new DataSet();
     SqlACC_AccountingUserProvider sqlACC_AccountingUserProvider = new SqlACC_AccountingUserProvider();
     aCC_AccountingUsers = sqlACC_AccountingUserProvider.GetACC_BankForChecks();
     return aCC_AccountingUsers;
 }
예제 #6
0
 public static DataSet GetAllACC_AccountingUsersOnlyBank()
 {
     DataSet aCC_AccountingUsers = new DataSet();
     SqlACC_AccountingUserProvider sqlACC_AccountingUserProvider = new SqlACC_AccountingUserProvider();
     aCC_AccountingUsers = sqlACC_AccountingUserProvider.GetAllACC_AccountingUsersOnlyBank();
     return aCC_AccountingUsers;
 }
예제 #7
0
 public static bool DeleteACC_AccountingUser(int aCC_AccountingUserID)
 {
     SqlACC_AccountingUserProvider sqlACC_AccountingUserProvider = new SqlACC_AccountingUserProvider();
     return sqlACC_AccountingUserProvider.DeleteACC_AccountingUser(aCC_AccountingUserID);
 }
예제 #8
0
 public static bool UpdateACC_AccountingUser(ACC_AccountingUser aCC_AccountingUser)
 {
     SqlACC_AccountingUserProvider sqlACC_AccountingUserProvider = new SqlACC_AccountingUserProvider();
     return sqlACC_AccountingUserProvider.UpdateACC_AccountingUser(aCC_AccountingUser);
 }
예제 #9
0
 public static void LoadACC_AccountingUserPage(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_AccountingUserProvider sqlACC_AccountingUserProvider = new SqlACC_AccountingUserProvider();
     DataSet ds =  sqlACC_AccountingUserProvider.GetACC_AccountingUserPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      aCC_AccountingUsersPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
예제 #10
0
 public static int InsertACC_AccountingUser(ACC_AccountingUser aCC_AccountingUser)
 {
     SqlACC_AccountingUserProvider sqlACC_AccountingUserProvider = new SqlACC_AccountingUserProvider();
     return sqlACC_AccountingUserProvider.InsertACC_AccountingUser(aCC_AccountingUser);
 }
예제 #11
0
 public static DataSet GetDropDownListAllACC_AccountingUser()
 {
     DataSet aCC_AccountingUsers = new DataSet();
     SqlACC_AccountingUserProvider sqlACC_AccountingUserProvider = new SqlACC_AccountingUserProvider();
     aCC_AccountingUsers = sqlACC_AccountingUserProvider.GetDropDownLisAllACC_AccountingUser();
     return aCC_AccountingUsers;
 }