Ejemplo n.º 1
0
        }       //	getValueDisplay_Location

        /// <summary>
        /// Get value BP location
        /// </summary>
        /// <returns></returns>
        private String GetValueDisplay_BPLocation()
        {
            try
            {
                int C_BPartner_Location_ID = int.Parse(GetValueKey());
                if (C_BPartner_Location_ID != 0)
                {
                    MLocation loc = MLocation.GetBPLocation(Env.GetContext(), C_BPartner_Location_ID, null);
                    if (loc != null)
                    {
                        return(loc.ToStringCR());
                    }
                }
            }
            catch
            {
            }
            return(_value.ToString());
        }       //	getValueDisplay_BPLocation