-- todo 9583

ALTER TABLE PICKLISTLINELOCATION
DROP constraint PICKLISTLINELOCATION_STOCKROOM;

ALTER  TABLE PICKLISTLINELOCATION
 ADD constraint PICKLISTLINELOCATION_STOCKROOM
          foreign key (STOCKROOMLOCATION_ID)
          references STOCKROOMLOCATION (STOCKROOMLOCATION_ID) 
         ON DELETE SET NULL;