public int GetAccountingYearIDByFlag(string flag) { //VICKY : GetAccountingYearIDByFlag : CACHE THIS AS DONE IF AccountGroupManagement-GetAccountGroupList() string Context = string.Format("GetAccountingYearIDByFlag_{0}", flag); int AccountYear; if (HttpRuntime.Cache[Context] == null) { AccountYear = AccountingYearIntegration.GetAccountingYearIDByFlag(flag); HttpRuntime.Cache[Context] = AccountYear; } else { AccountYear = ((int)(HttpRuntime.Cache[Context])); } return(AccountYear); }
public AccountingYear GetAccountingYearById(int recordId) { // VICKY : GetAccountingYearById : CACHE THIS AS DONE IF AccountGroupManagement-GetAccountGroupList() string Context = string.Format("GetAccountingYearById_{0}", recordId); AccountingYear AccountYear = new AccountingYear(); if (HttpRuntime.Cache[Context] == null) { AccountYear = AccountingYearIntegration.GetAccountingYearById(recordId); HttpRuntime.Cache[Context] = AccountYear; } else { AccountYear = ((AccountingYear)(HttpRuntime.Cache[Context])); } return(AccountYear); }
public AccountingYear GetAccountingYearById(int recordId) { return(AccountingYearIntegration.GetAccountingYearById(recordId)); }
public int DeleteAccountingYear(AccountingYear theAccountingYear) { return(AccountingYearIntegration.DeleteAccountingYear(theAccountingYear)); }
public int UpdateAccountingYear(AccountingYear theAccountingYear) { return(AccountingYearIntegration.UpdateAccountingYear(theAccountingYear)); }
public int InsertAccountingYear(AccountingYear theAccountingYear) { return(AccountingYearIntegration.InsertAccountingYear(theAccountingYear)); }
public List <AccountingYear> GetAccountingYearList(string searchText) { return(AccountingYearIntegration.GetAccountingYearList(searchText)); }
public List <AccountBookClose> GetMonthByOfficeId(int OfficeId) { return(AccountingYearIntegration.GetMonthByOfficeId(OfficeId)); }
public List <AccountingYear> GetAllMonthsFromCurrentAccountYear() { return(AccountingYearIntegration.GetAllMonthsFromCurrentAccountYear()); }