예제 #1
0
        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);
        }
예제 #2
0
        /// <summary>
        /// Get Currency Code
        /// </summary>
        /// <param name="pintCurencyID"></param>
        /// <returns></returns>

        public string GetCurrencyCode(int pintCurencyID)
        {
            try
            {
                MST_CurrencyVO voCurrency = (MST_CurrencyVO)(new MST_CurrencyDS()).GetObjectVO(pintCurencyID);
                if (voCurrency != null)
                {
                    return(voCurrency.Code);
                }

                return(string.Empty);
            }
            catch (PCSDBException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }