static boolean exist(CustGroupId custGroupId)
{
return custGroupId
&& (select firstOnly RecId from custGroup
where custGroup.custGroup == custGroupId).RecId != 0;
}