mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-06 03:08:57 +03:00
fdfe4ac2f4
Previously #noFilter/#noOrder/#noGroup flags were included verbatim in <expression> instead of generating <useRestriction>. Now parsed and handled identically to add-field. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
22 lines
690 B
JSON
22 lines
690 B
JSON
{
|
||
"name": "Вычисляемое поле с useRestriction",
|
||
"preRun": [
|
||
{
|
||
"script": "skd-compile/scripts/skd-compile",
|
||
"input": {
|
||
"dataSets": [{
|
||
"name": "Основной",
|
||
"query": "ВЫБРАТЬ Т.Цена, Т.Закупка ИЗ Регистр КАК Т",
|
||
"fields": ["Цена: decimal(15,2)", "Закупка: decimal(15,2)"]
|
||
}]
|
||
},
|
||
"args": { "-DefinitionFile": "{inputFile}", "-OutputPath": "{workDir}/Template.xml" }
|
||
}
|
||
],
|
||
"params": {
|
||
"templatePath": "Template.xml",
|
||
"operation": "add-calculated-field",
|
||
"value": "Служебное: string = \"\" #noFilter #noOrder #noGroup"
|
||
}
|
||
}
|