--ABS-113890
COMMENT ON COLUMN CLIENTDELIVERYNOTE.ORIGIN
IS '1 = Manual created
2 = Soil receiving scan per Wash
3 = Soil receiving scan in Bulk
4 = Outscan/sort
5 = Conversion
6 = Soil receiving - return to owner
7 = Generate label
8 = Correction ticket
9 = Sorting system
10 = Outscan/sort extra box
11 = Special sendtrackinforsx';

ALTER TABLE CLIENTDELIVERYNOTE DROP CONSTRAINT CLIENTDELIVERYNOTE_ORIGIN;

ALTER TABLE CLIENTDELIVERYNOTE ADD CONSTRAINT CLIENTDELIVERYNOTE_ORIGIN CHECK (ORIGIN BETWEEN 1 AND 11);
