This table provides a list of valid payment types. This information is static and doesn't need a data entry page.
Source romber_payment_types_tbl.sql
create table romber_financial.payment_types ( encrypted_or_not boolean not null, number_digits smallint not null, number_or_not boolean not null, payment_type_code romber_base.generic_code not null, payment_type_id romber_financial.payment_type_id not null default nextval ( 'romber_base.generic_id_seq' ), payment_type_name romber_base.generic_name not null );
Source romber_payment_types_pk.sql
alter table romber_financial.payment_types add constraint romber_payment_types_pk primary key ( payment_type_id );
Source romber_payment_types_uk1.sql
alter table romber_financial.payment_types add constraint romber_payment_types_uk1 unique ( payment_type_code );
Source romber_payment_types_fk1.sql
alter table romber_financial.payment_types add constraint romber_payment_types_fk1 foreign key ( payment_type_id ) references romber_meta.objects ( meta_object_id );
Source romber_payment_types_load.sql
insert into romber_financial.payment_types ( encrypted_or_not, number_digits, number_or_not, payment_type_code, payment_type_id, payment_type_name ) values ( false, 0, false, '', 0, '' );