--TODO 9580 RaggedItem.Replacementworkorder_ID should not be restrictive index

ALTER TABLE RAGGEDITEM DROP CONSTRAINT RAGGEDITEM_REPLACEMENTWORKORDE;

ALTER TABLE RAGGEDITEM 
      ADD CONSTRAINT RAGGEDITEM_REPLACEMENTWORKORDE 
      FOREIGN KEY (REPLACEMENTWORKORDER_ID) REFERENCES WORKORDER (WORKORDER_ID) ON DELETE SET NULL;
