home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 May
/
Chip_2000-05_cd1.bin
/
tema
/
SW602
/
Winbase
/
EShop_demo
/
OBJ_HEADER.TDF
< prev
next >
Wrap
Text File
|
2000-03-16
|
1KB
|
34 lines
{$$3215846795 }CREATE TABLE `OBJ_HEADER` ZCR UNIKEY LUO DETECT DOCFLOW (
ID_DOBJ INTEGER ,
ID_ORG INTEGER ,
ICO CHAR(15) ,
CIS_EOB CHAR(15) ,
DATUM DATE DEFAULT today ,
DATUM_D DATE DEFAULT today+7 ,
DOPRAV CHAR(8) COLLATE CSISTRING ,
POTVRZENA BIT DEFAULT false ,
STORNO_DAT DATE ,
STORNO BIT DEFAULT false ,
ZPRACOVANA DATE ,
SUM_CENA NUMERIC(14,2) ,
EXOK BIT DEFAULT false ,
POZN CHAR(80) COLLATE CSISTRING ,
OB_SLEVA REAL ,
SUM_OBJ NUMERIC(14,2) ,
POSTOVNE NUMERIC(14,2) DEFAULT 0 ,
DPH_ZBOZ NUMERIC(14,2) ,
DPH_POST NUMERIC(14,2) ,
DPH_SUM NUMERIC(14,2) ,
Z_ROZDIL NUMERIC(14,2) ,
K_UHRADE NUMERIC(14,2) ,
OBCHODNIK INTEGER ,
SUMVAHA REAL ,
DAT_ACT TIMESTAMP DEFAULT now ,
DAT_EXP TIMESTAMP ,
CONSTRAINT `INDEX2` INDEX (`ID_ORG`),
CONSTRAINT `INDEX4` INDEX (`ICO`),
CONSTRAINT `INDEX3` INDEX (`DOPRAV`),
CONSTRAINT `INDEX1` UNIQUE (`ID_DOBJ`)BY `OBJ_POLOZKY`,
CONSTRAINT `INDEX5` INDEX (`OBCHODNIK`),
FOREIGN KEY (`OBCHODNIK`) REFERENCES `OBCHODNICI`(`ID_OBCHODNIKA`))