{ "name": "Связь параметров выбора на реквизит формы переводится на его id исходной формы", "preRun": [ { "script": "meta-compile/scripts/meta-compile", "input": { "type": "Catalog", "name": "Склады" }, "args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" } }, { "script": "meta-compile/scripts/meta-compile", "input": { "type": "Catalog", "name": "Ячейки" }, "args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" } }, { "script": "meta-compile/scripts/meta-compile", "input": { "type": "Document", "name": "Размещение", "attributes": [ { "name": "Ячейка", "type": "CatalogRef.Ячейки" } ] }, "args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" } }, { "script": "form-add/scripts/form-add", "args": { "-ObjectPath": "{workDir}/Documents/Размещение.xml", "-FormName": "ФормаДокумента" } }, { "script": "form-compile/scripts/form-compile", "input": { "title": "Размещение", "elements": [ { "input": "Ячейка", "path": "Объект.Ячейка", "choiceParameterLinks": [ { "name": "Отбор.Владелец", "dataPath": "Склад" } ] } ], "attributes": [ { "name": "Объект", "type": "DocumentObject.Размещение", "main": true }, { "name": "Склад", "type": "CatalogRef.Склады" } ] }, "args": { "-JsonPath": "{inputFile}", "-OutputPath": "{workDir}/Documents/Размещение/Forms/ФормаДокумента/Ext/Form.xml" } }, { "script": "cfe-init/scripts/cfe-init", "args": { "-Name": "Тест", "-OutputDir": "{workDir}/ext", "-ConfigPath": "{workDir}" } } ], "params": { "extensionPath": "ext", "object": "Document.Размещение.Form.ФормаДокумента" }, "expect": { "fileContains": { "file": "ext/Documents/Размещение/Forms/ФормаДокумента/Ext/Form.xml", "text": "" }, "fileNotContains": { "file": "ext/Documents/Размещение/Forms/ФормаДокумента/Ext/Form.xml", "text": "Склад" } } }