CREATE INDEX COC00662_FK ON CHECKLISTPROD(CDFILIAL, DTPRODUCAO, NRTURNO, NRORG)
/
ALTER TABLE PREVPAXRECEITAM ADD
    CONSTRAINT FKCOC00663CHECKLISTPROD FOREIGN KEY  (CDFILIAL, NRCHECKLISTPROD, NRORG)
       REFERENCES CHECKLISTPROD (CDFILIAL, NRCHECKLISTPROD, NRORG)
/
CREATE INDEX COC00663_FK ON PREVPAXRECEITAM (CDFILIAL, NRCHECKLISTPROD, NRORG)