I am trying to render the function into general modules and try it on an elementary example.
&НаКлиенте Процедура Команда1(Команда) ВыполнитьЗапросНаСервере(); КонецПроцедуры &НаСервере Процедура ВыполнитьЗапросНаСервере() a = ОбщиеФункции.ЗаполнитьТаблицуФормы(); сообщить(a); КонецПроцедуры In the general module I created the module общиеФункции with the function ЗаполнитьТаблицуФормы() общиеФункции ЗаполнитьТаблицуФормы()
Функция ЗаполнитьТаблицуФормы()экспорт рез = 1+1; возврат рез; КонецФункции On the general functions there is a tick Server and Call of the Server
Mistake:
{Form.Form.Form (17,6)}: The variable is not defined (General Functions) a = <> General Functions. Fill in the Table Forms ();