Generates a minimal set of XML sources for a 1C external report: the root metadata file and the report directory.
Usage
/erf-init <Name> [Synonym] [SrcDir] [FormatVersion] [--with-skd]
| Parameter | Required | Default | Description |
|---|---|---|---|
| Name | yes | — | Report name (Latin/Cyrillic) |
| Synonym | no | = Name | Synonym (display name) |
| SrcDir | no | src |
Source directory relative to CWD |
| FormatVersion | no | 2.17 |
Export format version — see below |
| --WithSKD | no | — | Create an empty DCS and bind it to MainDataCompositionSchema |
FormatVersion — not higher than the platform format version on which the object will be built and opened:
8.3.24 — 2.17, 8.3.25 — 2.18, 8.3.26 — 2.19, 8.3.27 — 2.20, 8.5 — 2.21. You can take lower:
the platform reads its own format and any older one, so the default 2.17 is suitable for the entire line
8.3.24 and higher. For older platforms the count goes the same way, one version per release (8.3.23 — 2.16),
but the skills have not been tested on them — such a value is accepted with a warning.
Command
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/init.ps1" -Name "<Name>" [-Synonym "<Synonym>"] [-SrcDir "<SrcDir>"] [-FormatVersion "<версия>"] [-WithSKD]
Next steps
- Add a form:
/form-add - Add a template:
/template-add - Add help:
/help-add - Build ERF:
/erf-build