1
0
mirror of https://github.com/1C-Company/GitConverter.git synced 2025-02-07 13:08:20 +02:00

Вывод использования рег. задания в форме списка хранилищ конфигураций.

This commit is contained in:
Popov_MA 2018-09-12 16:27:54 +03:00
parent 925dcf306e
commit fe4e8dbd49
2 changed files with 67 additions and 0 deletions

View File

@ -51,6 +51,53 @@
</dataPath>
<defaultItem>true</defaultItem>
<titleLocation>None</titleLocation>
<items xsi:type="form:FormField">
<name>КонвертироватьПоРасписанию</name>
<id>35</id>
<visible>true</visible>
<enabled>true</enabled>
<userVisible>
<common>true</common>
</userVisible>
<dataPath xsi:type="form:DataPath">
<segments>Список.КонвертироватьПоРасписанию</segments>
</dataPath>
<titleLocation>None</titleLocation>
<extendedTooltip>
<name>КонвертироватьПоРасписаниюРасширеннаяПодсказка</name>
<id>37</id>
<visible>true</visible>
<enabled>true</enabled>
<userVisible>
<common>true</common>
</userVisible>
<type>Label</type>
<autoMaxWidth>true</autoMaxWidth>
<autoMaxHeight>true</autoMaxHeight>
<extInfo xsi:type="form:LabelDecorationExtInfo">
<horizontalAlign>Left</horizontalAlign>
</extInfo>
</extendedTooltip>
<contextMenu>
<name>КонвертироватьПоРасписаниюКонтекстноеМеню</name>
<id>36</id>
<visible>true</visible>
<enabled>true</enabled>
<userVisible>
<common>true</common>
</userVisible>
<autoFill>true</autoFill>
</contextMenu>
<type>CheckBoxField</type>
<editMode>Enter</editMode>
<showInHeader>true</showInHeader>
<headerPicture xsi:type="core:PictureRef">
<picture>StdPicture.GenerateReport</picture>
</headerPicture>
<headerHorizontalAlign>Left</headerHorizontalAlign>
<showInFooter>true</showInFooter>
<extInfo xsi:type="form:CheckBoxFieldExtInfo"/>
</items>
<items xsi:type="form:FormField">
<name>ВыполнятьКоммиты</name>
<id>32</id>
@ -62,6 +109,7 @@
<dataPath xsi:type="form:DataPath">
<segments>Список.ВыполнятьКоммиты</segments>
</dataPath>
<titleLocation>None</titleLocation>
<extendedTooltip>
<name>ВыполнятьКоммитыРасширеннаяПодсказка</name>
<id>34</id>
@ -90,6 +138,9 @@
<type>CheckBoxField</type>
<editMode>Enter</editMode>
<showInHeader>true</showInHeader>
<headerPicture xsi:type="core:PictureRef">
<picture>StdPicture.WriteAndClose</picture>
</headerPicture>
<headerHorizontalAlign>Left</headerHorizontalAlign>
<showInFooter>true</showInFooter>
<extInfo xsi:type="form:CheckBoxFieldExtInfo"/>

View File

@ -0,0 +1,16 @@
#Область ОбработчикиСобытийТаблицыФормыСписок
&НаСервереБезКонтекста
Процедура СписокПриПолученииДанныхНаСервере(ИмяЭлемента, Настройки, Строки)
Для Каждого Строка Из Строки Цикл
Задание = РегламентныеЗадания.НайтиПоУникальномуИдентификатору(Строка.Значение.Данные.РегламентноеЗадание);
Если Задание <> Неопределено Тогда
Строка.Значение.Данные.КонвертироватьПоРасписанию = Задание.Использование;
КонецЕсли;
КонецЦикла;
КонецПроцедуры
#КонецОбласти