--Order 20012675

ALTER TABLE DELIVERYSCAN ADD (SCANSTATION VARCHAR2(12) NULL);

COMMENT ON COLUMN DELIVERYSCAN.SCANSTATION
  IS 'FILLED WHEN CREATING A DELIVERY SCAN WITH THE CURRENT WORKSTATION CODE';

CREATE INDEX XIE5DELIVERYSCAN ON DELIVERYSCAN (SCANSTATION, NVL(PACKINGNOTE_ID,0));