Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count Time taken
Options
Set default





Collapse Expand Requery Edit Explain Profiling Bookmark Query failed Database : Queried time :
Table structure

Settings for the table structure (list of columns).

Documentation Whether the table structure actions should be hidden.
Documentation Whether column comments should be shown in table structure view
Default transformations
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.

ms_msu

# Name Type Collation Attributes Null Default Comments Extra Action
1 bigint(10) No None AUTO_INCREMENT
2 int(4) Yes 0
3 int(9) Yes 0
4 int(9) UNSIGNED Yes 0 Сюда пишем snon_id комплекта при комплектации
5 varchar(32) utf8mb3_general_ci Yes
6 date Yes NULL
7 varchar(20) utf8mb3_general_ci Yes NULL Номер документа
8 varchar(10) utf8mb3_general_ci No 00:00:00 Время документа
9 int(4) Yes 0
10 int(4) Yes 0
11 int(1) Yes 0
12 int(9) Yes 0
13 int(9) Yes 0
14 int(9) Yes 0
15 int(9) Yes 0
16 int(9) Yes 0
17 varchar(15) utf8mb3_general_ci Yes
18 varchar(20) utf8mb3_general_ci Yes
19 int(10) No 0 op_sppr.id
20 double Yes 0
21 double Yes 0
22 double No 0 Зарезервировано
23 double Yes 0
24 int(4) Yes 0
25 double No None Курс валюты цены закупки
26 double Yes 0
27 int(4) Yes 0
28 double No None Курс валюты цены продажи
29 double No 0 Цена продажи без учета скидки
30 double Yes NULL Исходная стоимость товара
31 double No 0 Скидка на позицию
32 int(3) Yes 0
33 varchar(10) utf8mb3_general_ci Yes
34 date Yes NULL
35 int(9) Yes 0
36 varchar(20) utf8mb3_general_ci Yes
37 varchar(15) utf8mb3_general_ci Yes
38 int(3) Yes 0
39 int(9) Yes 0
40 int(1) Yes 0
41 date Yes NULL
42 varchar(10) utf8mb3_general_ci Yes
43 int(11) Yes 0
44 int(9) UNSIGNED No 0 ID пользователя
45 bigint(10) UNSIGNED No None Идентификатор транзакции (MS_MSUT:ID)
46 bigint(10) UNSIGNED Yes 0 Идентификатор связанной транзакции (для возвратов)
47 double No 0 Ставка НДС, по умолчанию из номенклатуры
48 double No 0 НДС за единицу товара
49 int(10) UNSIGNED No 1 Тип расчета итоговой суммы с НДС
50 varchar(100) utf8mb3_general_ci Yes NULL Идентификатор устройства с которого была совершена транзакция
51 int(10) UNSIGNED Yes NULL Идентификатор устройства с которого была совершена транзакция
52 varchar(100) utf8mb3_general_ci Yes NULL Данные по маркировке товара
53 varchar(255) utf8mb3_general_ci Yes NULL Полный код маркировки товара
54 varchar(32) utf8mb3_general_ci Yes NULL Результат проверки кода маркировки товара
55 int(10) UNSIGNED No 0
56 varchar(36) utf8mb3_general_ci Yes NULL Доп. параметр для разрешительного режима при ОКассе
57 varchar(25) utf8mb3_general_ci Yes NULL Доп. параметр для разрешительного режима при ОКассе
58 varchar(512) utf8mb3_general_ci Yes NULL
59 int(10) UNSIGNED No 0 id устройства для фискализации
60 double Yes NULL Проданное (фактическое) количество товара, как правило с курьера/кассы
61 varchar(200) utf8mb3_general_ci Yes NULL Текущее название продукта
62 text utf8mb3_general_ci Yes NULL Модификаторы на момент продажи
63 varchar(15) utf8mb3_general_ci Yes NULL ИНН поставщика
64 varchar(20) utf8mb3_general_ci Yes NULL Телефон поставщика
65 varchar(200) utf8mb3_general_ci Yes NULL Название организации поставщика
66 bigint(20) Yes NULL Идентификатор поставщика в нашей системе as_sabor.id
67 tinyint(4) Yes NULL признак поставщика (4,5,6)
68 int(11) UNSIGNED Yes 0 Группа из op_snon

Move the columns by dragging them up and down.

    Add column  Add column(s)  
    Indexes Documentation
    Action Keyname Type Unique Packed Column Cardinality Collation Null Comment
    PRIMARY BTREE Yes No id 1900 A No
    MS2MSU BTREE No No snon_id 126 A Yes
    spz_sid 172 A Yes
    sgo_id 172 A Yes
    cena 190 A Yes
    kont 380 A Yes
    seizm_id 380 A Yes
    pnz 1900 A Yes
    MS3MSU BTREE No No kont 316 A Yes
    pnz 1900 A Yes
    MS4MSU BTREE No No dataop 100 A Yes
    msut_id BTREE No No msut_id 1900 A No
    parent_msut_id BTREE No No parent_msut_id 633 A Yes
    ms_msu_mz_id BTREE No No mz_id 475 A Yes
    susers_id BTREE No No susers_id 10 A No
    spd_id BTREE No No spd_id 14 A Yes
    Partitions Documentation
    Information
    Space usage
    Data 1.5 MiB
    Index 864.0 KiB
    Overhead 4.0 MiB
    Effective -1,720,320 B
    Total 2.4 MiB
    Row statistics
    Format dynamic
    Collation utf8mb3_general_ci
    Next autoindex 2,787
    Creation Sep 22, 2026 at 09:27 PM
    Last update Oct 27, 2026 at 02:30 AM
    Last check Oct 27, 2026 at 02:30 AM