Описание
(Нет описания для таблицы ITTRANSPORT)
Поля
PK | FK | Поле | Домен | Тип | NN | По умолчанию | Описание |
---|---|---|---|---|---|---|---|
|
INVENTORYID |
INTEGER |
|
|
|||
|
|
BARCODE |
VARCHAR(31) |
|
|
||
|
|
CAPACITYWEIGHT |
INTEGER |
|
|
||
|
|
CAPACITYVOLUME |
INTEGER |
|
|
||
|
|
SAMPLERINDATE |
DATE |
|
|
||
|
|
SAMPLERINTIME |
TIME |
|
|
||
|
|
SAMPLEROUTDATE |
DATE |
|
|
||
|
|
SAMPLEROUTTIME |
TIME |
|
|
||
|
|
TAREBYHAND |
SMALLINT |
|
|
||
|
|
GROSSBYHAND |
SMALLINT |
|
|
||
|
|
LOADTIME |
TIMESTAMP |
|
|
||
|
|
TRANSPORTTYPEID |
INTEGER |
|
|
||
|
|
TRANSPORTNUMBER |
VARCHAR(31) |
|
|
||
|
|
CHECKPOINTINTIME |
TIMESTAMP |
|
|
||
|
|
CHECKPOINTOUTTIME |
TIMESTAMP |
|
|
||
|
|
WEIGHTSESSION |
INTEGER |
|
|
||
|
|
INVOICEGROSS |
INTEGER |
|
|
||
|
|
INVOICETARE |
INTEGER |
|
|
||
|
|
INVOICENET |
INTEGER |
|
|
||
|
|
SENDERQUALITYID |
INTEGER |
|
|
||
|
|
OWNERFIELDID |
INTEGER |
|
|
||
|
|
OWNERSTORAGEID |
INTEGER |
|
|
||
|
|
BUNKERS |
|
DECIMAL(2,1) |
|
|
|
|
|
GRAINFIELDOUTTIME |
TIMESTAMP |
|
|
||
|
|
CHECKPOINTSESSION |
INTEGER |
|
|
||
|
|
SAMPLERSESSION |
INTEGER |
|
|
||
|
|
HUMWEIGHT |
INTEGER |
|
убыль зач. веса по влажности |
||
|
|
DIRTWEIGHT |
INTEGER |
|
убыль зач. веса по сорности |
||
|
|
SCREENWEIGHT |
INTEGER |
|
убыль зач. веса по зерн. примеси |
||
|
|
SAMPLERWEIGHT |
|
INTEGER |
|
Вес возвращаемых проб |
|
|
|
PREANALYSISTIME |
|
TIMESTAMP |
|
Дата и время простановки предварительного анализа |
|
|
|
DISPATCHINGTIME |
|
TIMESTAMP |
|
Дата и время выезда из буферной зоны |
Триггеры
Триггер | Тип | Активность | Порядок | Описание |
---|---|---|---|---|
BEFORE UPDATE |
Yes |
0 |
  |
|
AFTER INSERT OR UPDATE |
Yes |
0 |
  |
Индексы
Индекс | Поля | Активен | Уникальный | Порядок |
---|---|---|---|---|
CHECKPOINTINTIME |
ASC |
|||
DISPATCHINGTIME |
ASC |
|||
SAMPLERINDATE |
ASC |
|||
SAMPLERINDATE |
ASC |
|||
SAMPLEROUTDATE |
ASC |
|||
TRANSPORTTYPEID |
ASC |
|||
WEIGHTSESSION |
ASC |
|||
INVENTORYID |
ASC |
Ссылается на
(Нет таблиц, используемых таблицей ITTRANSPORT)
Ссылающиеся
(Нет таблиц, использующих таблицу ITTRANSPORT)
Определение
CREATE TABLE ITTRANSPORT (
INVENTORYID DINVENTORYID NOT NULL,
BARCODE DSHORTNAME COLLATE WIN1251_UA,
CAPACITYWEIGHT DWEIGHT,
CAPACITYVOLUME DINTEGER,
SAMPLERINDATE DDATE,
SAMPLERINTIME DTIME,
SAMPLEROUTDATE DDATE,
SAMPLEROUTTIME DTIME,
TAREBYHAND DSMALLINT,
GROSSBYHAND DSMALLINT,
LOADTIME DTIMESTAMP,
TRANSPORTTYPEID DTRANSPORTTYPEID,
TRANSPORTNUMBER DSHORTNAME COLLATE WIN1251_UA,
CHECKPOINTINTIME DTIMESTAMP,
CHECKPOINTOUTTIME DTIMESTAMP,
WEIGHTSESSION DINTEGER,
INVOICEGROSS DWEIGHT,
INVOICETARE DWEIGHT,
INVOICENET DWEIGHT,
SENDERQUALITYID DQUALITYID,
OWNERFIELDID DINTEGER,
OWNERSTORAGEID DINTEGER,
BUNKERS DECIMAL(2,1),
GRAINFIELDOUTTIME DTIMESTAMP,
CHECKPOINTSESSION DINTEGER,
SAMPLERSESSION DINTEGER,
HUMWEIGHT DWEIGHT,
DIRTWEIGHT DWEIGHT,
SCREENWEIGHT DWEIGHT,
SAMPLERWEIGHT INTEGER,
PREANALYSISTIME TIMESTAMP,
DISPATCHINGTIME TIMESTAMP
);
ALTER TABLE ITTRANSPORT ADD CONSTRAINT PK_ITTRANSPORT PRIMARY KEY (INVENTORYID);
CREATE INDEX ITTRANSPORT_CHECKPOINTINTIME ON ITTRANSPORT (CHECKPOINTINTIME);
CREATE INDEX ITTRANSPORT_DISPATCHINGTIME ON ITTRANSPORT (DISPATCHINGTIME);
CREATE INDEX ITTRANSPORT_SAMPLERINDATE ON ITTRANSPORT (SAMPLERINDATE);
CREATE INDEX ITTRANSPORT_SAMPLERINDATE_IDX ON ITTRANSPORT (SAMPLERINDATE);
CREATE INDEX ITTRANSPORT_SAMPLEROUTDATE ON ITTRANSPORT (SAMPLEROUTDATE);
CREATE INDEX ITTRANSPORT_TRANSPORTTYPEID ON ITTRANSPORT (TRANSPORTTYPEID);
CREATE INDEX ITTRANSPORT_WEIGHTSESSION ON ITTRANSPORT (WEIGHTSESSION);