/*
================================================================================
档案代号:msi_file
档案名称:不纳入MRP计算订单别资料档
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table msi_file
(
msi01       varchar2(5) NOT NULL,    /*订单单别                               */
msi02       varchar2(1),             /*No Use                                 */
msi03       varchar2(1),             /*No Use                                 */
msiacti     varchar2(1),             /*资料有效码                             */
msiuser     varchar2(10),            /*资料所有者                             */
msigrup     varchar2(10),            /*资料所有部门                           */
msimodu     varchar2(10),            /*资料修改者                             */
msidate     date                     /*最近修改日                             */
);

create unique index msi_pk on msi_file (msi01);
alter table msi_file add  constraint msi_pk primary key  (msi01) enable validate;
grant select on msi_file to public;
grant index on msi_file to public;
grant update on msi_file to public;
grant delete on msi_file to public;
grant insert on msi_file to public;