public string GetCurrencyCode(int pintCurrencyID) { MST_CurrencyDS dsCurrency = new MST_CurrencyDS(); MST_CurrencyVO voCurrency = (MST_CurrencyVO)dsCurrency.GetObjectVO(pintCurrencyID); if (voCurrency != null) { return(voCurrency.Code); } return(string.Empty); }
/// <summary> /// Get home currency code /// </summary> /// <param name="pintID">ID of home currency</param> /// <returns>Code of currency</returns> /// <author> Tuan DM - Jan 14, 2005</author> public string GetHomeCurrency(int pintID) { var dsCur = new MST_CurrencyDS(); return(((MST_CurrencyVO)dsCur.GetObjectVO(pintID)).Code); }