-- order ABS-126480
ALTER TABLE STOCKCOUNTSCHEDULEDAY ADD (EMAILDATEWARNING DATE NULL);
COMMENT ON COLUMN STOCKCOUNTSCHEDULEDAY.EMAILDATEWARNING 
IS 'Date when last ordering warning is send';
ALTER TABLE STOCKCOUNTSCHEDULEDAY ADD (EMAILDATEDEADLINE DATE NULL);
COMMENT ON COLUMN STOCKCOUNTSCHEDULEDAY.EMAILDATEDEADLINE 
IS 'Date when last deadline past is send';