/* ================================================================================ 档案代号:imh_file 档案名称:多单位库存调整单头档 档案目的: 上游档案: 下游档案: ============.========================.========================================== */ create table imh_file ( imh01 varchar2(16) NOT NULL, /*库存调整单 */ imh02 date, /*扣帐日期 */ imh03 date, /*输入日期 */ imh04 varchar2(40), /*料号 */ imh05 varchar2(10), /*仓库 */ imh06 varchar2(10), /*储位 */ imh07 varchar2(24), /*批号 */ imh08 varchar2(255), /*备注 */ imh09 number(15,3), /*库存数量 */ imh10 varchar2(1), /*No Use */ imhpost varchar2(1), /*过帐码 */ /*'y':已过帐 */ /*'n':未过帐 */ /*'x':作废 */ imhuser varchar2(10), /*资料所有者 */ imhgrup varchar2(10), /*资料所有群 */ imhmodu varchar2(10), /*资料更改者 */ imhdate date, /*最近修改日 */ imhconf varchar2(1) /*确认码 */ /*(Y/N/X) */ ); create unique index imh_pk on imh_file (imh01); alter table imh_file add constraint imh_pk primary key (imh01) enable validate; grant select on imh_file to public; grant index on imh_file to public; grant update on imh_file to public; grant delete on imh_file to public; grant insert on imh_file to public; |