ALTER TABLE ITPADRAOGERPREVPAX ADD CONSTRAINT FKCOC00739PADRAOGERPREVPAX FOREIGN KEY  (CDFILIAL, NRPADRAOGERPREVPAX, NRORG) 
REFERENCES PADRAOGERPREVPAX (CDFILIAL, NRPADRAOGERPREVPAX, NRORG)
/
CREATE INDEX FKCOC00739PADRAOGERPREVPAX ON ITPADRAOGERPREVPAX (CDFILIAL, NRPADRAOGERPREVPAX, NRORG)
/
ALTER TABLE ITPADRAOGERPREVPAX ADD CONSTRAINT FKCOC00740VOOTRECHO FOREIGN KEY  (CDFILIAL, CDCIA, NRVOO, CDTRECHO, NRORG) REFERENCES VOOTRECHO (CDFILIAL, CDCIA, NRVOO, CDTRECHO, NRORG)
/
CREATE INDEX FKCOC00740VOOTRECHO ON ITPADRAOGERPREVPAX (CDFILIAL, CDCIA, NRVOO, CDTRECHO, NRORG)
/
ALTER TABLE ITPADRAOGERPREVPAX ADD CONSTRAINT FKCOC00741CLASSE FOREIGN KEY (CDCLASSE, NRORG) REFERENCES CLASSE (CDCLASSE, NRORG)
/
CREATE INDEX FKCOC00741CLASSE ON ITPADRAOGERPREVPAX (CDCLASSE, NRORG)