public edit Name editVendGroup(boolean _set,
Name _group)
{
VendGroup vendGroup;
if (_set)
{
if (_group)
{
if (VendGroup::exist(_group))
{
this.Name = _group;
}

else
{
select firstOnly VendGroup from vendGroup
where vendGroup.Name == _group;
this.Name = vendGroup.VendGroup;
}
}
else
{
this.Name = ”;
}
}
return VendGroup::name(this.Name);
}