--ABS-53261/ ABS-57050

---DELIVERYSCAN table---
ALTER TABLE DELIVERYSCAN DROP COLUMN SCANLEVEL;

---PACKINGNOTE table---
ALTER TABLE PACKINGNOTE ADD (AVAILABLEFOROUTSCAN NUMBER DEFAULT 0 NOT NULL
                             CONSTRAINT AVAILABLEFOROUTSCAN_VALID1_1 CHECK (AVAILABLEFOROUTSCAN IN (0, 1)));

COMMENT ON COLUMN PACKINGNOTE.AVAILABLEFOROUTSCAN
  IS '0 = yes (outscan button enabled)
1 = no (outscan button disabled)
';