{ "name": "modify-field пересобирает поле — сохранённые части на своих местах по XSD", "preRun": [ { "script": "skd-compile/scripts/skd-compile", "input": { "dataSets": [ { "name": "Основной", "query": "ВЫБРАТЬ Т.Вид, Т.Сумма ИЗ Регистр КАК Т", "fields": [ { "dataPath": "Вид", "field": "Вид", "title": "Вид", "type": "decimal(1)", "attrRestrict": [ "noGroup" ], "presentationExpression": "ВЫБОР КОГДА Вид = 1 ТОГДА \"Доход\" ИНАЧЕ \"Расход\" КОНЕЦ", "orderExpression": { "expression": "Вид", "orderType": "Desc", "autoOrder": false }, "appearance": { "Формат": "ЧН=-" }, "availableValues": [ { "value": 1, "presentation": "Доход" }, { "value": 2, "presentation": "Расход" } ] }, "Сумма: decimal(15,2)" ] } ] }, "args": { "-DefinitionFile": "{inputFile}", "-OutputPath": "{workDir}/Template.xml" } } ], "params": { "templatePath": "Template.xml", "operation": "modify-field", "value": "Вид [Вид операции]: decimal(2) @dimension #noOrder #noField" } }