ALTER TABLE FORMPGTO ADD CONSTRAINT PK_FORMPGTO PRIMARY KEY (CDFORMPGTO)
/

CREATE INDEX CMP00173_FK  ON AUTOFORNE (CDFORMPGTO ASC)
/

ALTER TABLE AUTOFORNE
    ADD CONSTRAINT FKCMP00173FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO)
/

CREATE INDEX FAT00061_FK  ON SERVCONTRAT (CDFORMPGTO ASC)
/

ALTER TABLE SERVCONTRAT
    ADD CONSTRAINT FKFAT00061FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO)
/

CREATE INDEX ADM00002_FK  ON CLIENTE (CDFORMPGTO ASC)
/

ALTER TABLE CLIENTE
    ADD CONSTRAINT FKADM00002FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO)
/

CREATE INDEX HOS00316_FK  ON FORMPRPROT (CDFORMPGTO ASC)
/

ALTER TABLE FORMPRPROT
    ADD CONSTRAINT FKHOS00316FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO)
/

CREATE INDEX PED00077_FK  ON PROPOSTA (CDFORMPGTO ASC)
/

ALTER TABLE PROPOSTA
    ADD CONSTRAINT FKPED00077FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO)
/

CREATE INDEX ORC00155_FK  ON ORCAEVENTO (CDFORMPGTO ASC)
/

ALTER TABLE ORCAEVENTO
    ADD CONSTRAINT FKORC00155FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO)
/

CREATE INDEX PED00022_FK  ON PEDIDO (CDFORMPGTO ASC)
/

ALTER TABLE PEDIDO
    ADD CONSTRAINT FKPED00022FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO)
/

CREATE INDEX PED00035_FK  ON MODPGTO (CDFORMPGTO ASC)
/

ALTER TABLE MODPGTO
    ADD CONSTRAINT FKPED00035FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO)
/

CREATE INDEX ADM00003_FK  ON FORNECEDOR (CDFORMPGTO ASC)
/

ALTER TABLE FORNECEDOR
    ADD CONSTRAINT FKADM00003FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO)
/

CREATE INDEX CMP00175_FK  ON ITEMCOLE (CDFORMPGTO ASC)
/

ALTER TABLE ITEMCOLE
    ADD CONSTRAINT FKCMP00175FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO)
/

CREATE INDEX CMP00177_FK  ON PRODFORN (CDFORMPGTO ASC)
/

ALTER TABLE PRODFORN
    ADD CONSTRAINT FKCMP00177FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO)
/

CREATE INDEX CMP00312_FK  ON ITMPREVLIST (CDFORMPGTO ASC)
/

ALTER TABLE ITMPREVLIST
    ADD CONSTRAINT FKCMP00312FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO)
/

CREATE INDEX ADM00004_FK  ON DIAPGTO (CDFORMPGTO ASC)
/

ALTER TABLE DIAPGTO
    ADD CONSTRAINT FKADM00004FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO) ON DELETE CASCADE
/

CREATE INDEX ADM00266_FK  ON RELFORMPGTO (CDFORMPGTO ASC)
/

ALTER TABLE RELFORMPGTO
    ADD CONSTRAINT FKADM00266FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO)
/

CREATE INDEX ORC00155_FK ON ORCAEVENTO (CDFORMPGTO ASC)
/

ALTER TABLE ORCAEVENTO
    ADD CONSTRAINT FKORC00155FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO)
/

CREATE INDEX VND00351_FK  ON TIPORECE (CDFORMPGTO ASC)
/

ALTER TABLE TIPORECE
    ADD CONSTRAINT FKVND00351FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO)
/

CREATE INDEX VND00352_FK  ON TIPORECEFILIAL  (CDFORMPGTO ASC)
/

ALTER TABLE TIPORECEFILIAL
    ADD CONSTRAINT FKVND00352FORMPGTO FOREIGN KEY  (CDFORMPGTO)
       REFERENCES FORMPGTO (CDFORMPGTO)
/

CREATE INDEX FIS00665_FK ON PARAMIMPOSGUIA (CDFORMPGTO ASC)
/

ALTER TABLE PARAMIMPOSGUIA 
   ADD CONSTRAINT FKFIS00665FORMPGTO FOREIGN KEY (CDFORMPGTO)
      REFERENCES FORMPGTO (CDFORMPGTO)