--ABS-74932 / ABS-79419
------------------------ PRODUCTLISTPERCUSTOMER ------------------------
COMMENT ON COLUMN PRODUCTLISTPERCUSTOMER.MINIMUMFREQUENCY IS 'Frequency for Minumum calculation
0 = Not applicable
1 = Every week
2 = Every visit (when billed)
3 = Every Month
4 = Every delivery with Quantity > 0
5 = Delivery Scheme based';

ALTER TABLE PRODUCTLISTPERCUSTOMER
  ADD CONSTRAINT MINIMUMFREQUENCY_VALID1
  CHECK (MINIMUMFREQUENCY in (0,1,2,3,4,5));