mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-09-27 04:25:54 +03:00
У заимствованного объекта расширения в Properties только изменённые свойства. add-registerRecord и прочие add-*/set-* над списками не находили элемент, печатали WARN, файл не меняли и выходили с кодом 0. - Движения заимствованного документа: отсутствующий RegisterRecords создаётся. - Прочие списки у заимствованного объекта — отказ. Проверено на 8.3.27: Owners и RegisteredDocuments платформа контролирует на равенство основной конфигурации (расширение не применяется), BasedOn/InputByString/DataLockFields и движения последовательности молча выбрасывает при загрузке. - Свойство, которого у типа объекта нет (движения у справочника), — отказ; раньше modify.properties дописывал его, и meta-validate это пропускал. - У обычного объекта отсутствие элемента — отказ вместо WARN. - reference/properties.md: типы объектов в таблице — по выгрузкам ERP, БП, УТ, УНФ. - verify-snapshots: двухэтапная загрузка и по params.extensionPath кейса. Co-Authored-By: Roman Syuzyov <rsyuzyov@gmail.com> Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
105 lines
2.5 KiB
JSON
105 lines
2.5 KiB
JSON
{
|
|
"name": "Ввод на основании у заимствованного документа: отказ — платформа выбросила бы свойство при загрузке расширения",
|
|
"setup": "empty-config-220",
|
|
"preRun": [
|
|
{
|
|
"script": "meta-compile/scripts/meta-compile",
|
|
"input": {
|
|
"type": "AccumulationRegister",
|
|
"name": "Ост",
|
|
"dimensions": [
|
|
"Товар: String(10)"
|
|
],
|
|
"resources": [
|
|
"Кол: Number(10,0)"
|
|
]
|
|
},
|
|
"args": {
|
|
"-JsonPath": "{inputFile}",
|
|
"-OutputDir": "{workDir}"
|
|
}
|
|
},
|
|
{
|
|
"script": "meta-compile/scripts/meta-compile",
|
|
"input": {
|
|
"type": "AccumulationRegister",
|
|
"name": "Ост2",
|
|
"dimensions": [
|
|
"Товар: String(10)"
|
|
],
|
|
"resources": [
|
|
"Кол: Number(10,0)"
|
|
]
|
|
},
|
|
"args": {
|
|
"-JsonPath": "{inputFile}",
|
|
"-OutputDir": "{workDir}"
|
|
}
|
|
},
|
|
{
|
|
"script": "meta-compile/scripts/meta-compile",
|
|
"input": {
|
|
"type": "Document",
|
|
"name": "Расх",
|
|
"registerRecords": [
|
|
"AccumulationRegister.Ост",
|
|
"AccumulationRegister.Ост2"
|
|
]
|
|
},
|
|
"args": {
|
|
"-JsonPath": "{inputFile}",
|
|
"-OutputDir": "{workDir}"
|
|
}
|
|
},
|
|
{
|
|
"script": "meta-compile/scripts/meta-compile",
|
|
"input": {
|
|
"type": "Document",
|
|
"name": "Прих"
|
|
},
|
|
"args": {
|
|
"-JsonPath": "{inputFile}",
|
|
"-OutputDir": "{workDir}"
|
|
}
|
|
},
|
|
{
|
|
"script": "cfe-init/scripts/cfe-init",
|
|
"args": {
|
|
"-Name": "Расш",
|
|
"-OutputDir": "{workDir}/cfe",
|
|
"-ConfigPath": "{workDir}"
|
|
}
|
|
},
|
|
{
|
|
"script": "cfe-borrow/scripts/cfe-borrow",
|
|
"args": {
|
|
"-ExtensionPath": "{workDir}/cfe",
|
|
"-ConfigPath": "{workDir}",
|
|
"-Object": "Document.Прих ;; AccumulationRegister.Ост ;; AccumulationRegister.Ост2"
|
|
}
|
|
}
|
|
],
|
|
"params": {
|
|
"objectPath": "cfe/Documents/Прих.xml",
|
|
"extensionPath": "cfe"
|
|
},
|
|
"input": {
|
|
"modify": {
|
|
"properties": {
|
|
"BasedOn": [
|
|
"Document.Расх"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"expectError": "расширение не меняет",
|
|
"expect": {
|
|
"fileNotContains": [
|
|
{
|
|
"file": "cfe/Documents/Прих.xml",
|
|
"text": "BasedOn"
|
|
}
|
|
]
|
|
}
|
|
}
|