ERP1TEAM / ERP

0 stars 0 forks source link

테이블 생성 코드 #7

Open 5ore5o opened 2 months ago

5ore5o commented 2 months ago

상품테이블

create table product( code varchar(8) not null primary key, supplier_code varchar(5) not null, classification_code varchar(6) not null, location_code varchar(6) not null, warehouse_code varchar(3) not null, use_flag enum('Y','N') default 'Y' not null, name varchar(200) not null, safety_inventory int not null, price int not null, expiration_dt datetime null, created_dt datetime not null, created_manager varchar(100) not null, manager varchar(100) not null, updated_dt datetime not null, memo text null );

FOREIGN KEY (location_code) REFERENCES location(code), FOREIGN KEY (warehouse_code) REFERENCES warehouse(code), FOREIGN KEY (classification_code) REFERENCES category(code)

Donggeon0304 commented 2 months ago

ERP_Table.txt ERP_Trigger.txt ERP_ViewTable.txt

5ore5o commented 2 months ago

(stock)ERP_Table.txt

5ore5o commented 1 month ago

(9월19일 수정) (공용)재고 + 상품 + lot 테이블만 따로 빼놨어요 !

(Shared)ERP_Table.txt

hajoo29 commented 1 month ago

newtable.txt