--order 502734

ALTER TABLE USERGROUP ADD (INVOICEDTILLDATE     NUMBER DEFAULT 0 NOT NULL
                                   CONSTRAINT InvoicedTillDate_valid
                                          CHECK (INVOICEDTILLDATE IN (0, 1))
				);

COMMENT ON COLUMN USERGROUP.INVOICEDTILLDATE IS '0 = Usergroup is NOT allowed to modify "Invoiced Till" date in Activities per Customer dialog (default)
1 = Usergroup is allowed to modify "Invoiced Till" date in Activities per Customer dialog
';