Посмотрите
\Forms\EcoResAttribute
Например
\Forms\EcoResAttribute\Methods\defaultValueSetInvisible
X++:
if (defaultValueIntEdit.visible() &&
!(ecoResValue_Default is EcoResIntValue))
{
defaultValueIntEdit.visible(false);
}
ecoResValue_Default - имя DataSource на форме на основе EcoResValue.
EcoResIntValue - таблица на основе EcoResValue.
Если надо метод вызвать на EcoResIntValue:
X++:
EcoResIntValue ecoResIntValue;
if(ecoResValue_Default is EcoResIntValue)
{
ecoResIntValue = ecoResValue_Default as EcoResIntValue;
ecoResIntValue.MyMethod();
}