示例#1
0
 public static List<ACC_JournalMaster> GetAllACC_JournalMastersByDateRange(string searchString)
 {
     List<ACC_JournalMaster> aCC_JournalMasters = new List<ACC_JournalMaster>();
     SqlACC_JournalMasterProvider sqlACC_JournalMasterProvider = new SqlACC_JournalMasterProvider();
     aCC_JournalMasters = sqlACC_JournalMasterProvider.GetAllACC_JournalMastersByDateRange(searchString);
     return aCC_JournalMasters;
 }
示例#2
0
 public static ACC_JournalMaster GetACC_JournalMasterByID(int id)
 {
     ACC_JournalMaster aCC_JournalMaster = new ACC_JournalMaster();
     SqlACC_JournalMasterProvider sqlACC_JournalMasterProvider = new SqlACC_JournalMasterProvider();
     aCC_JournalMaster = sqlACC_JournalMasterProvider.GetACC_JournalMasterByID(id);
     return aCC_JournalMaster;
 }
示例#3
0
 public static List<ACC_JournalMaster> GetAllACC_JournalMasters()
 {
     List<ACC_JournalMaster> aCC_JournalMasters = new List<ACC_JournalMaster>();
     SqlACC_JournalMasterProvider sqlACC_JournalMasterProvider = new SqlACC_JournalMasterProvider();
     aCC_JournalMasters = sqlACC_JournalMasterProvider.GetAllACC_JournalMasters();
     return aCC_JournalMasters;
 }
示例#4
0
 public static DataSet GetDropDownListAllACC_JournalMaster()
 {
     DataSet aCC_JournalMasters = new DataSet();
     SqlACC_JournalMasterProvider sqlACC_JournalMasterProvider = new SqlACC_JournalMasterProvider();
     aCC_JournalMasters = sqlACC_JournalMasterProvider.GetDropDownLisAllACC_JournalMaster();
     return aCC_JournalMasters;
 }
示例#5
0
 public static ACC_JournalMaster GetACC_RowStatusByRowStatusID(int RowStatusID)
 {
     ACC_JournalMaster aCC_JournalMaster = new ACC_JournalMaster();
     SqlACC_JournalMasterProvider sqlACC_JournalMasterProvider = new SqlACC_JournalMasterProvider();
     aCC_JournalMaster = sqlACC_JournalMasterProvider.GetACC_JournalMasterByRowStatusID(RowStatusID);
     return aCC_JournalMaster;
 }
示例#6
0
    public static ACC_JournalMaster GetACC_JournalMasterByID(int id)
    {
        ACC_JournalMaster            aCC_JournalMaster            = new ACC_JournalMaster();
        SqlACC_JournalMasterProvider sqlACC_JournalMasterProvider = new SqlACC_JournalMasterProvider();

        aCC_JournalMaster = sqlACC_JournalMasterProvider.GetACC_JournalMasterByID(id);
        return(aCC_JournalMaster);
    }
示例#7
0
    public static List <ACC_JournalMaster> GetAllACC_JournalMastersByDateRange(string searchString)
    {
        List <ACC_JournalMaster>     aCC_JournalMasters           = new List <ACC_JournalMaster>();
        SqlACC_JournalMasterProvider sqlACC_JournalMasterProvider = new SqlACC_JournalMasterProvider();

        aCC_JournalMasters = sqlACC_JournalMasterProvider.GetAllACC_JournalMastersByDateRange(searchString);
        return(aCC_JournalMasters);
    }
示例#8
0
    public static List <ACC_JournalMaster> GetAllACC_JournalMasters()
    {
        List <ACC_JournalMaster>     aCC_JournalMasters           = new List <ACC_JournalMaster>();
        SqlACC_JournalMasterProvider sqlACC_JournalMasterProvider = new SqlACC_JournalMasterProvider();

        aCC_JournalMasters = sqlACC_JournalMasterProvider.GetAllACC_JournalMasters();
        return(aCC_JournalMasters);
    }
示例#9
0
    public static bool DeleteACC_JournalMaster(int aCC_JournalMasterID)
    {
        SqlACC_JournalMasterProvider sqlACC_JournalMasterProvider = new SqlACC_JournalMasterProvider();

        return(sqlACC_JournalMasterProvider.DeleteACC_JournalMaster(aCC_JournalMasterID));
    }
示例#10
0
    public static bool UpdateACC_JournalMaster(ACC_JournalMaster aCC_JournalMaster)
    {
        SqlACC_JournalMasterProvider sqlACC_JournalMasterProvider = new SqlACC_JournalMasterProvider();

        return(sqlACC_JournalMasterProvider.UpdateACC_JournalMaster(aCC_JournalMaster));
    }
示例#11
0
    public static int InsertACC_JournalMasterTmp(ACC_JournalMaster aCC_JournalMaster)
    {
        SqlACC_JournalMasterProvider sqlACC_JournalMasterProvider = new SqlACC_JournalMasterProvider();

        return(sqlACC_JournalMasterProvider.InsertACC_JournalMasterTmp(aCC_JournalMaster));
    }
示例#12
0
 public static bool UpdateACC_JournalMaster(ACC_JournalMaster aCC_JournalMaster)
 {
     SqlACC_JournalMasterProvider sqlACC_JournalMasterProvider = new SqlACC_JournalMasterProvider();
     return sqlACC_JournalMasterProvider.UpdateACC_JournalMaster(aCC_JournalMaster);
 }
示例#13
0
 public static int InsertACC_JournalMasterTmp(ACC_JournalMaster aCC_JournalMaster)
 {
     SqlACC_JournalMasterProvider sqlACC_JournalMasterProvider = new SqlACC_JournalMasterProvider();
     return sqlACC_JournalMasterProvider.InsertACC_JournalMasterTmp(aCC_JournalMaster);
 }
示例#14
0
 public static bool DeleteACC_JournalMaster(int aCC_JournalMasterID)
 {
     SqlACC_JournalMasterProvider sqlACC_JournalMasterProvider = new SqlACC_JournalMasterProvider();
     return sqlACC_JournalMasterProvider.DeleteACC_JournalMaster(aCC_JournalMasterID);
 }
示例#15
0
 public static DataSet SearchACC_AccountJournalMaster(int journalMasterID, DateTime startTime, DateTime endTime)
 {
     DataSet aCC_JournalMasters = new DataSet();
     SqlACC_JournalMasterProvider sqlACC_JournalMasterProvider = new SqlACC_JournalMasterProvider();
     aCC_JournalMasters = sqlACC_JournalMasterProvider.SearchACC_AccountJournalMaster(journalMasterID, startTime, endTime);
     return aCC_JournalMasters;
 }
示例#16
0
 public static void LoadACC_JournalMasterPage(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_JournalMasterProvider sqlACC_JournalMasterProvider = new SqlACC_JournalMasterProvider();
     DataSet ds =  sqlACC_JournalMasterProvider.GetACC_JournalMasterPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      aCC_JournalMastersPaggination(rptPager,recordCount, pageIndex, PageSize);
 }