private void NewRowManual(ref PLocationTypeRow ARow)
        {
            string newName = Catalog.GetString("NEWTYPE");
            Int32 countNewDetail = 0;

            if (FMainDS.PLocationType.Rows.Find(new object[] { newName }) != null)
            {
                while (FMainDS.PLocationType.Rows.Find(new object[] { newName + countNewDetail.ToString() }) != null)
                {
                    countNewDetail++;
                }

                newName += countNewDetail.ToString();
            }

            ARow.Code = newName;
        }
        private void NewRowManual(ref PLocationTypeRow ARow)
        {
            string newName        = Catalog.GetString("NEWTYPE");
            Int32  countNewDetail = 0;

            if (FMainDS.PLocationType.Rows.Find(new object[] { newName }) != null)
            {
                while (FMainDS.PLocationType.Rows.Find(new object[] { newName + countNewDetail.ToString() }) != null)
                {
                    countNewDetail++;
                }

                newName += countNewDetail.ToString();
            }

            ARow.Code = newName;
        }