Небольшое исправление к коду для 4.0:
DEV_FormHelpers
X++:
private static Set getSetOfClassIds(Set _set)
{
classId locClassId;
Set ret;
;
if (_set)
{
if (_set.typeId() != typeof(locClassId))
{
//callStack2Infolog();
// for 4.0
info(con2str( xSession::xppCallStack() ));
throw error( error::wrongUseOfFunction( funcname() ) );
}
ret = _set;
}
else
{
ret = new Set( typeof(locClassId) );
}
return ret;
}