mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-16 15:55:16 +03:00
d34ddd41ff
Custom attributes on AccumulationRegister, AccountingRegister and
CalculationRegister do NOT support FillFromFillingValue, FillValue or
DataHistory — platform logs "Неверное свойство объекта метаданных" and
silently drops them. InformationRegister DOES support these properties
(verified against erp_8.3.24 dump for both variants).
Split the single "register" Emit-Attribute context into:
- register-info → emits the three properties (InformationRegister)
- register-other → skips them (Accum/Acc/Calc)
Chart* context already handled by 3ba6072 remains as-is. Extended the
exclusion list in Emit-Attribute to cover register-other symmetrically
for FillFromFillingValue, FillValue and DataHistory.
Updated snapshots:
- accounting-register: removed the 3 bad lines on Содержание attribute
- accumulation-register/calculation-register: added test attributes
to exercise the register-other path and regenerate snapshots cleanly
Closes the silent-rejection class #4 from upload/form-baseline/gotchas.md,
now caught by verify-snapshots -StrictLog on the E2E platform load.
Bumped meta-compile.ps1 + .py to v1.8.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
17 lines
729 B
JSON
17 lines
729 B
JSON
{
|
|
"name": "Регистр расчёта с периодичностью",
|
|
"input": {
|
|
"type": "CalculationRegister",
|
|
"name": "Начисления",
|
|
"chartOfCalculationTypes": "ChartOfCalculationTypes.ВидыНачислений",
|
|
"periodicity": "Month",
|
|
"dimensions": ["Сотрудник: CatalogRef.Сотрудники"],
|
|
"resources": ["Результат: Number(15,2)", "ОтработаноДней: Number(5,0)"],
|
|
"attributes": ["Комментарий: String(200)"]
|
|
},
|
|
"validatePath": "CalculationRegisters/Начисления",
|
|
"expect": {
|
|
"files": ["CalculationRegisters/Начисления.xml", "CalculationRegisters/Начисления/Ext/RecordSetModule.bsl"]
|
|
}
|
|
}
|