-- ABS-62311 / ABS-74524
--- CONTRACTPRODUCTORDERDELIVERY ---
ALTER TABLE CONTRACTPRODUCTORDERDELIVERY DROP CONSTRAINT ALLOWRETURNTOSTOCK_VALID1_1;

COMMENT ON COLUMN CONTRACTPRODUCTORDERDELIVERY.ALLOWRETURNTOSTOCK IS 'Possible values:
0 = Yes (default)
1 = Yes, excluding special sizes
2 = No
3 = Yes, Size
4 = No, MBYO Charge';

ALTER TABLE CONTRACTPRODUCTORDERDELIVERY ADD CONSTRAINT ALLOWRETURNTOSTOCK_VALID1 CHECK (ALLOWRETURNTOSTOCK IN (0,1,2,3,4));

