ALTER TABLE PERCITEMDETALGOP ADD CONSTRAINT FKGOP00656PERCITEMGOP FOREIGN KEY (NRPERCITEMGOP) REFERENCES PERCITEMGOP (NRPERCITEMGOP) ON DELETE CASCADE
/
ALTER TABLE PERCITEMDETALGOP ADD CONSTRAINT FKGOP00657PRODUTO FOREIGN KEY (CDPRODUTO) REFERENCES PRODUTO (CDPRODUTO)
/
ALTER TABLE PERCITEMDETALGOP ADD CONSTRAINT FKGOP00658IMPOSTO FOREIGN KEY (CDIMPOSTO) REFERENCES IMPOSTO (CDIMPOSTO)
/
ALTER TABLE PERCITEMDETALGOP ADD CONSTRAINT FKGOP00659TIPOOPERAC FOREIGN KEY (CDTIPOOPER, IDENTRSAIDOP)  REFERENCES TIPOOPERAC (CDTIPOOPER, IDENTRSAIDOP)
/
ALTER TABLE PERCITEMDETALGOP ADD  CONSTRAINT FKGOP00660INVESTIMENTOS FOREIGN KEY (CDINVEST) REFERENCES INVESTIMENTOS (CDINVEST)
/
ALTER TABLE PERCITEMDETALGOP ADD CONSTRAINT FKGOP00661ORCAMENTOMO FOREIGN KEY (CDORCAMENTOMO, CDFILIALMO) REFERENCES ORCAMENTOMO (CDORCAMENTOMO, CDFILIAL)