public string GetCategoryNameFromSChemeCode(int schemePlanCode) { ProductMFDao productMFDao = new ProductMFDao(); string category; try { category = productMFDao.GetCategoryNameFromSChemeCode(schemePlanCode); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "ProductMFBo.cs:GetAMCfromFolioNo()"); object[] objects = new object[0]; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(category); }
public List <ProductMFSchemePlanVo> GetCodeSchemePlans(int schemeCode) { ProductMFDao productMFDao = new ProductMFDao(); List <ProductMFSchemePlanVo> codeSchemePlanList = new List <ProductMFSchemePlanVo>(); try { codeSchemePlanList = productMFDao.GetAMCSchemePlans(schemeCode); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "ProductMFBo.cs:GetCodeSchemePlans()"); object[] objects = new object[0]; objects[0] = schemeCode; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(codeSchemePlanList); }
public string GetModefromFolioNo(int accountId) { ProductMFDao productMFDao = new ProductMFDao(); string mode = string.Empty; try { mode = productMFDao.GetModefromFolioNo(accountId); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "ProductMFBo.cs:GetModefromFolioNo()"); object[] objects = new object[2]; objects[0] = accountId; objects[1] = 100; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(mode); }
public DataSet GetMessagefromFolioNo(int schemePlanCode) { DataSet dsGetMessage; ProductMFDao productMFDao = new ProductMFDao(); try { dsGetMessage = productMFDao.GetMessagefromFolioNo(schemePlanCode); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "ProductMFBo.cs:GetMessagefromFolioNo()"); object[] objects = new object[1]; objects[0] = schemePlanCode; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(dsGetMessage); }
public DataSet GetFolioNumber(int portfolioId, int amcCode, int all) { ProductMFDao productMFDao = new ProductMFDao(); DataSet dsGetFolioNumber; try { dsGetFolioNumber = productMFDao.GetFolioNumber(portfolioId, amcCode, all); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "ProductMFBo.cs:GetFolioNumber()"); object[] objects = new object[0]; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(dsGetFolioNumber); }
public int GetAMCfromFolioNo(int accountId) { ProductMFDao productMFDao = new ProductMFDao(); int amcCode; try { amcCode = productMFDao.GetAMCfromFolioNo(accountId); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "ProductMFBo.cs:GetAMCfromFolioNo()"); object[] objects = new object[0]; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(amcCode); }
public DataSet GetSchemeName(int amcCode, string categoryCode, int all, int status) { ProductMFDao productMFDao = new ProductMFDao(); DataSet dsGetScheme; try { dsGetScheme = productMFDao.GetSchemeName(amcCode, categoryCode, all, status); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "ProductMFBo.cs:GetSchemeName()"); object[] objects = new object[0]; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(dsGetScheme); }
public DataSet GetProductAssetCategory() { ProductMFDao productMFDao = new ProductMFDao(); DataSet dsAssetCategory; try { dsAssetCategory = productMFDao.GetProductAssetCategory(); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "ProductMFBo.cs:GetProductAssetCategory()"); object[] objects = new object[0]; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(dsAssetCategory); }
public DataTable GetSwitchSchemePlanPrefix(string prefixText, int SchemePlanCode) { DataTable dtSchemePlans; ProductMFDao productMFDao = new ProductMFDao(); try { dtSchemePlans = productMFDao.GetSwitchSchemePlanPrefix(prefixText, SchemePlanCode); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "ProductMFBo.cs:GetSchemePlanPrefix()"); object[] objects = new object[0]; objects[0] = prefixText; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(dtSchemePlans); }
public int GetScheme(string schemePlanName) { ProductMFDao productMFDao = new ProductMFDao(); int schemePlanCode; try { schemePlanCode = productMFDao.GetScheme(schemePlanName); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "ProductMFBo.cs:GetScheme()"); object[] objects = new object[1]; objects[0] = schemePlanName; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(schemePlanCode); }
public DataTable GetSchemeGuess(string prefix, int exchangeType) { DataTable dtGetSchemePlanName; ProductMFDao productMFDao = new ProductMFDao(); dtGetSchemePlanName = productMFDao.GetSchemeGuess(prefix, exchangeType); return(dtGetSchemePlanName); }
public DataTable GetSchemePlanOnline(int AMCCode) { DataTable dtGetSchemePlanOnline; ProductMFDao productMFDao = new ProductMFDao(); dtGetSchemePlanOnline = productMFDao.GetSchemePlanOnline(AMCCode); return(dtGetSchemePlanOnline); }
public DataSet GetSWPSchemeNames(string prefixText, int amcCode) { ProductMFDao productMFDao = new ProductMFDao(); DataSet dsGetScheme; try { dsGetScheme = productMFDao.GetSWPSchemeNames(prefixText, amcCode); } catch (BaseApplicationException Ex) { throw Ex; } return(dsGetScheme); }