/*
================================================================================
档案代号:ahh_file
档案名称:分录底稿摘要弹性设定档
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table ahh_file
(
ahh00       varchar2(5),             /*帐别                                   */
ahh01       varchar2(24) NOT NULL,   /*科目代号                               */
ahh02       varchar2(20) NOT NULL,   /*交易作业代号                           */
ahh03       varchar2(80),            /*摘要设定值                             */
ahh04       varchar2(60)             /*No Use                                 */
);

create unique index ahh_pk on ahh_file (ahh01,ahh02);
alter table ahh_file add  constraint ahh_pk primary key  (ahh01,ahh02) enable validate;
grant select on ahh_file to public;
grant index on ahh_file to public;
grant update on ahh_file to public;
grant delete on ahh_file to public;
grant insert on ahh_file to public;