mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-12 17:04: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>
23 lines
1.0 KiB
JSON
23 lines
1.0 KiB
JSON
{
|
|
"name": "modify-parameter: use, denyIncompleteValues, availableValue",
|
|
"preRun": [
|
|
{
|
|
"script": "skd-compile/scripts/skd-compile",
|
|
"input": {
|
|
"dataSets": [{
|
|
"name": "Основной",
|
|
"query": "ВЫБРАТЬ Т.Сумма ИЗ Регистр КАК Т",
|
|
"fields": ["Сумма: decimal(15,2)"]
|
|
}],
|
|
"parameters": [{"name": "ПорядокОкругления", "type": "string", "value": "Окр1_00"}]
|
|
},
|
|
"args": { "-DefinitionFile": "{inputFile}", "-OutputPath": "{workDir}/Template.xml" }
|
|
}
|
|
],
|
|
"params": {
|
|
"templatePath": "Template.xml",
|
|
"operation": "modify-parameter",
|
|
"value": "ПорядокОкругления use=Always ;; ПорядокОкругления denyIncompleteValues=true ;; ПорядокОкругления availableValue=Перечисление.Округления.Окр1_00 presentation=руб. коп ;; ПорядокОкругления availableValue=Перечисление.Округления.Окр1 presentation=руб."
|
|
}
|
|
}
|