mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-13 01:14:56 +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>
26 lines
1.2 KiB
JSON
26 lines
1.2 KiB
JSON
{
|
||
"name": "set-structure с @name= и Folder в selection + @group=",
|
||
"preRun": [
|
||
{
|
||
"script": "skd-compile/scripts/skd-compile",
|
||
"input": {
|
||
"dataSets": [{
|
||
"name": "Основной",
|
||
"query": "ВЫБРАТЬ Т.Счет, Т.Поступление1, Т.Поступление2, Т.Выбытие1 ИЗ Регистр КАК Т",
|
||
"fields": ["Счет: string", "Поступление1: decimal(15,2)", "Поступление2: decimal(15,2)", "Выбытие1: decimal(15,2)"]
|
||
}]
|
||
},
|
||
"args": { "-DefinitionFile": "{inputFile}", "-OutputPath": "{workDir}/Template.xml" }
|
||
},
|
||
{
|
||
"script": "skd-edit/scripts/skd-edit",
|
||
"args": { "-TemplatePath": "{workDir}/Template.xml", "-Operation": "set-structure", "-Value": "Счет @name=ДанныеОтчета" }
|
||
}
|
||
],
|
||
"params": {
|
||
"templatePath": "Template.xml",
|
||
"operation": "add-selection",
|
||
"value": "Auto @group=ДанныеОтчета ;; Счет @group=ДанныеОтчета ;; Folder(Поступление: Поступление1, Поступление2) @group=ДанныеОтчета ;; Выбытие1 @group=ДанныеОтчета"
|
||
}
|
||
}
|