ALTER TABLE UTILRECFLEX ADD CONSTRAINT FKCOC00689FILIAL FOREIGN KEY (CDFILIAL, NRORG) REFERENCES FILIAL (CDFILIAL, NRORG)
/
ALTER TABLE UTILRECFLEX ADD CONSTRAINT FKCOC00690RECEITAM FOREIGN KEY (CDRECEITA, NRORG) REFERENCES RECEITAM (CDRECEITA, NRORG)
/
CREATE INDEX FKCOC00689FILIAL ON UTILRECFLEX  (CDFILIAL, NRORG)
/
CREATE INDEX FKCOC00690RECEITAM ON UTILRECFLEX (CDRECEITA, NRORG)