{ "name": "Связь на стандартное поле объекта: с основным реквизитом остаётся ссылка на сам реквизит", "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": "Объект.Ref" } ] } ], "attributes": [ { "name": "Объект", "type": "DocumentObject.Размещение", "main": true } ] }, "args": { "-JsonPath": "{inputFile}", "-OutputPath": "{workDir}/Documents/Размещение/Forms/ФормаДокумента/Ext/Form.xml" } }, { "script": "cfe-init/scripts/cfe-init", "args": { "-Name": "Тест", "-OutputDir": "{workDir}/cfe", "-ConfigPath": "{workDir}" } } ], "params": { "extensionPath": "cfe", "object": "Document.Размещение.Form.ФормаДокумента" }, "expect": { "fileContains": { "file": "cfe/Documents/Размещение/Forms/ФормаДокумента/Ext/Form.xml", "text": "" }, "fileNotContains": { "file": "cfe/Documents/Размещение/Forms/ФормаДокумента/Ext/Form.xml", "text": "Объект.Ref" } }, "args_extra": [ "-BorrowMainAttribute", "Form" ] }