-- ABS-22612/ ABS-25767

ALTER TABLE STRAIGHTEVENRETURN
DROP CONSTRAINT STRAIGHTEVENRETURN_PACKINGNOTE;

ALTER TABLE STRAIGHTEVENRETURN
ADD CONSTRAINT STRAIGHTEVENRETURN_PACKINGNOTE FOREIGN KEY (PACKINGNOTELINE_ID)
REFERENCES PACKINGNOTELINE (PACKINGNOTELINE_ID) ON DELETE SET NULL;