--ABS-169186
ALTER TABLE ERP_I_WORKORDERLINE
  ADD CONSTRAINT CHK_ERP_I_WOL_MODIFICATIONS
  CHECK ((MODIFICATIONCODE1 IS NULL OR MODIFICATIONCODE1 <> NVL(MODIFICATIONCODE2,'NULL'))
 AND (MODIFICATIONCODE2 IS NULL OR (MODIFICATIONCODE2 <> NVL(MODIFICATIONCODE1,MODIFICATIONCODE2)))
 AND (MODIFICATIONCODE3 IS NULL OR (MODIFICATIONCODE3 <> NVL(MODIFICATIONCODE2,MODIFICATIONCODE3) AND MODIFICATIONCODE3 <> MODIFICATIONCODE1)));
