|
1 |
| -# Запрет незаполненных значений (DenyIncompleteValues) |
| 1 | +# Deny incomplete values for dimensions (DenyIncompleteValues) |
2 | 2 |
|
3 | 3 | <!-- Блоки выше заполняются автоматически, не трогать -->
|
4 | 4 | ## Description
|
5 | 5 | <!-- Описание диагностики заполняется вручную. Необходимо понятным языком описать смысл и схему работу -->
|
| 6 | +Often when designing a metadata structure, it is required that the dimensions of a register must always be filled with values (should not be empty). |
| 7 | + |
| 8 | +Checking for completeness of the dimension value should be done using the "Deny Incomplete Values" flag for the register dimension; additional software control of measurement filling is not required. |
| 9 | +It is assumed that records with an empty dimension value do not make sense in the infobase. |
| 10 | +The absence of a set flag can lead to potential problems if the application developers have not provided a value validation algorithm. |
| 11 | + |
| 12 | +The current rule may give a lot of false positives, use at your own risk. |
| 13 | + |
| 14 | +The rule applies to the following registers: |
| 15 | +- information register |
| 16 | +- accumulation register |
| 17 | +- accounting register |
| 18 | +- calculation register |
6 | 19 |
|
7 | 20 | ## Examples
|
8 | 21 | <!-- В данном разделе приводятся примеры, на которые диагностика срабатывает, а также можно привести пример, как можно исправить ситуацию -->
|
|
11 | 24 | <!-- Необходимо указывать ссылки на все источники, из которых почерпнута информация для создания диагностики -->
|
12 | 25 | <!-- Примеры источников
|
13 | 26 |
|
14 |
| -* Источник: [Стандарт: Тексты модулей](https://its.1c.ru/db/v8std#content:456:hdoc) |
15 |
| -* Полезная информация: [Отказ от использования модальных окон](https://its.1c.ru/db/metod8dev#content:5272:hdoc) |
| 27 | +* Source: [Standard: Modules (RU)](https://its.1c.ru/db/v8std#content:456:hdoc) |
| 28 | +* Useful information: [Refusal to use modal windows (RU)](https://its.1c.ru/db/metod8dev#content:5272:hdoc) |
16 | 29 | * Источник: [Cognitive complexity, ver. 1.4](https://www.sonarsource.com/docs/CognitiveComplexity.pdf) -->
|
| 30 | +- [Development of the interface for applied solutions on the "1C:Enterprise" platform (RU). Ch "Fill check and check on write"](https://its.1c.ru/db/pubv8devui#content:225:1) |
| 31 | +- [Developer's Guide - Properties of a dimension (resource, attribute) of the information register (RU)](https://its.1c.ru/db/v8323doc#bookmark:dev:TI000000349) |
| 32 | +- [Developer's Guide - Properties of a dimension (resource, attribute) of the accumulation register (RU)](https://its.1c.ru/db/v8323doc#bookmark:dev:TI000000363) |
0 commit comments