--ABS-153181
COMMENT ON COLUMN ERP_I_CONTRACTPRODUCT.MINIMUMFREQUENCY
  IS '0 = Not Applicable
1 = Every week
2 = Every delivery
3 = Every month (BM2)
4 = Every deliveryQty > 0
5 = Delivery Scheme based';
ALTER TABLE ERP_I_CONTRACTPRODUCT DROP CONSTRAINT ERP_I_MINIMUMFREQUENCY_VALID;
ALTER TABLE ERP_I_CONTRACTPRODUCT ADD CONSTRAINT ERP_I_MINIMUMFREQUENCY_VALID CHECK (MINIMUMFREQUENCY BETWEEN 0 AND 5);

COMMENT ON COLUMN CONTRACTPRODUCTBILLING.MINIMUMFREQUENCY
  IS '0 = Not Applicable
1 = Every week
2 = Every delivery
3 = Every month (BM2)
4 = Every deliveryQty > 0
5 = Delivery Scheme based';
