This table provides a list of valid virtual enterprises. This information is static and doesn't need a data entry page. At this time there is only one virtual enterprise, Romber.
Source romber_meta_virtual_enterprises_tbl.sql
create table romber_meta.virtual_enterprises ( meta_virtual_enterprise_code romber_base.generic_code not null, meta_virtual_enterprise_id romber_meta.virtual_enterprise_id not null default nextval ( 'romber_base.generic_id_seq' ), meta_virtual_enterprise_name romber_base.generic_name not null );
Source romber_meta_virtual_enterprises_pk.sql
alter table romber_meta.virtual_enterprises add constraint romber_meta_virtual_enterprises_pk primary key ( meta_virtual_enterprise_id );
Source romber_meta_virtual_enterprises_uk1.sql
alter table romber_meta.virtual_enterprises add constraint romber_meta_virtual_enterprises_uk1 unique ( meta_virtual_enterprise_code );
Source romber_meta_virtual_enterprises_fk1.sql
alter table romber_meta.virtual_enterprises add constraint romber_meta_virtual_enterprises_fk1 foreign key ( meta_virtual_enterprise_id ) references romber_member.relationships ( member_relationship_id );
Source romber_meta_virtual_enterprises_load.sql
insert into romber_meta.virtual_enterprises ( meta_virtual_enterprise_code, meta_virtual_enterprise_id, meta_virtual_enterprise_name ) values ( '', 0, '' ); insert into romber_meta.virtual_enterprises ( meta_virtual_enterprise_code, meta_virtual_enterprise_id, meta_virtual_enterprise_name ) values ( 'UNIVERSAL', 1, 'Universal' ); insert into romber_meta.virtual_enterprises ( meta_virtual_enterprise_code, meta_virtual_enterprise_id, meta_virtual_enterprise_name ) values ( 'ROMBER', 2, 'Romber' );