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.

fd_mdr

# Name Type Collation Attributes Null Default Comments Extra Action
1 bigint(10) UNSIGNED No None AUTO_INCREMENT
2 bigint(10) UNSIGNED No 0 Вид документа
3 bigint(2) UNSIGNED No 1 Характеристика документа - (as_shr) Константа: =1-Поставка =2-Оплата =3-Услуга
4 date Yes NULL Дата документа
5 varchar(20) utf8mb3_general_ci Yes NULL Номер документа
6 varchar(10) utf8mb3_general_ci No 00:00:00 Время документа
7 int(1) UNSIGNED No 1 признак оборота. = 1-приход =2-расход
8 bigint(10) UNSIGNED No 0 Клиента - (as_sabor)
9 bigint(10) UNSIGNED No 0 ID Резидента - (as_sabor)
10 double Yes NULL на сумму
11 bigint(10) UNSIGNED Yes 0 валюта - (as_sgo)
12 double Yes NULL Курс - (fd_skv)
13 bigint(10) UNSIGNED No 0 ID накладной
14 bigint(10) UNSIGNED No 0 ID платежки
15 bigint(10) UNSIGNED No 0 ID связанного документа
16 date Yes NULL Дата обработки
17 date Yes NULL Планируемая дата платежа
18 varchar(20) utf8mb3_general_ci Yes NULL Дебет по плану счетов -as_sps
19 varchar(20) utf8mb3_general_ci Yes NULL Кредит по плану счетов -as_sps
20 mediumtext utf8mb3_general_ci Yes NULL примечание
21 date Yes NULL
22 varchar(10) utf8mb3_general_ci Yes NULL
23 bigint(10) UNSIGNED No 0 Идентификатор транзакции (MS_MSUT:ID)
24 bigint(20) UNSIGNED No 0 Идентификатор заказа
25 bigint(20) UNSIGNED No 0 Идентификатор заказа orders id
26 int(3) UNSIGNED No 0 0 - безнал, 1 - наличные, 2 - карточка
27 double No 0 Ставка НДС, для позиции в транзакции
28 double No 0 Сумма НДС
29 text utf8mb3_general_ci Yes NULL Внешние данные
30 bigint(11) UNSIGNED Yes NULL UTC timestamp процесингово центра
31 varchar(100) utf8mb3_general_ci Yes NULL Идентификатор устройства
32 bigint(10) UNSIGNED Yes NULL Склад (as_spz)
33 int(10) UNSIGNED Yes NULL Идентификатор устройства
34 varchar(255) utf8mb3_general_ci Yes NULL
35 int(10) UNSIGNED No 1 0 - Ожидает оплаты, 1 - Оплачено, 2 - Не оплачено
36 int(10) UNSIGNED No 0 id устройства для фискализации

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 0 A No
    msut_id BTREE No No msut_id 0 A No
    device_id BTREE No No device_id 0 A Yes
    ddok BTREE No No ddok 0 A Yes
    ddok_2 BTREE No No ddok 0 A Yes
    fd_mdr_mz_id BTREE No No mz_id 0 A No
    spd_id BTREE No No spd_id 0 A Yes
    spd_id_2 BTREE No No spd_id 0 A Yes
    idx_fd_mdr_daily_revenue_iframe_v2 BTREE No No shr_id 0 A No Индекс для построения отчета daily_revenue_iframe_v2
    msut_id 0 A No
    pu 0 A No
    payment_status 0 A No
    date_plan 0 A Yes
    Partitions Documentation
    Information

    Table comments: Массив движения расчетов

    Space usage
    Data 16.0 KiB
    Index 128.0 KiB
    Overhead 0 B
    Effective 144.0 KiB
    Total 144.0 KiB
    Row statistics
    Format dynamic
    Collation utf8mb3_general_ci
    Next autoindex 1
    Creation Sep 22, 2026 at 09:27 PM
    Last update Oct 27, 2026 at 05:19 AM
    Last check Oct 27, 2026 at 05:19 AM