--Order 20014892.70


ALTER TABLE INVOICEHEADER
	ADD (SHOWONWEB NUMBER  DEFAULT 0 NOT NULL CONSTRAINT ShowOnWeb_valid1_1 CHECK (SHOWONWEB IN (0, 1)));

ALTER TABLE INVOICEHEADER
	ADD (SHOWONWEBSYSTEMUSER_ID NUMBER NULL);

ALTER TABLE INVOICEHEADER
	ADD (SHOWONWEBTIMESTAMP DATE NULL);

COMMENT ON COLUMN INVOICEHEADER.SHOWONWEB IS '0 = Invoice is shown on the web
1 = Invoice is not shown on the web, needs to be released first.
';

COMMENT ON COLUMN INVOICEHEADER.SHOWONWEBSYSTEMUSER_ID IS 'Systemuser that released the invoice. Not a foreign key.';

COMMENT ON COLUMN INVOICEHEADER.SHOWONWEBTIMESTAMP IS 'Timestamp when the invoice was released';
