mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-05 18:58:57 +03:00
9727635e5d
- skd-edit: conditionalAppearance with DesignTimeValue/OrGroup/Format - skd-edit: modify-parameter with use/denyIncompleteValues/availableValue - skd-edit: set-structure @name= + add-selection Folder() @group= - skd-compile: availableValues/denyIncompleteValues + Folder in selection - Fix xsi namespace in @group= XPath query Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
49 lines
2.0 KiB
JSON
49 lines
2.0 KiB
JSON
{
|
|
"name": "availableValues, denyIncompleteValues, Folder в selection",
|
|
"params": { "outputPath": "Template.xml" },
|
|
"input": {
|
|
"dataSets": [{
|
|
"name": "Основной",
|
|
"query": "ВЫБРАТЬ Т.Счет, Т.Остаток, Т.Поступление1, Т.Поступление2, Т.Выбытие1, Т.Выбытие2 ИЗ Регистр КАК Т",
|
|
"fields": ["Счет: string", "Остаток: decimal(15,2)", "Поступление1: decimal(15,2)", "Поступление2: decimal(15,2)", "Выбытие1: decimal(15,2)", "Выбытие2: decimal(15,2)"]
|
|
}],
|
|
"parameters": [{
|
|
"name": "ПорядокОкругления",
|
|
"type": "EnumRef.Округления",
|
|
"value": "Перечисление.Округления.Окр1_00",
|
|
"use": "Always",
|
|
"denyIncompleteValues": true,
|
|
"availableValues": [
|
|
{"value": "Перечисление.Округления.Окр1_00", "presentation": "руб. коп"},
|
|
{"value": "Перечисление.Округления.Окр1", "presentation": "руб."},
|
|
{"value": "Перечисление.Округления.Окр1000", "presentation": "тыс. руб"}
|
|
]
|
|
}],
|
|
"settingsVariants": [{
|
|
"name": "Основной",
|
|
"settings": {
|
|
"selection": [
|
|
"Auto",
|
|
"Счет",
|
|
"Остаток",
|
|
{"folder": "Поступление", "items": ["Поступление1", "Поступление2"]},
|
|
{"folder": "Выбытие", "items": ["Выбытие1", "Выбытие2"]}
|
|
],
|
|
"structure": {
|
|
"type": "group",
|
|
"name": "ДанныеОтчета",
|
|
"groupBy": ["Счет"],
|
|
"selection": [
|
|
"Auto",
|
|
{"folder": "Поступление", "items": ["Поступление1", "Поступление2"]}
|
|
]
|
|
}
|
|
}
|
|
}]
|
|
},
|
|
"validatePath": "Template.xml",
|
|
"expect": {
|
|
"files": ["Template.xml"]
|
|
}
|
|
}
|