
/*------ ATD 459045 ------*/
IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'ITEMFATURADO' AND COLUMN_NAME = 'NumeroPedidoAgrupadorWMS')
begin
	ALTER TABLE ITEMFATURADO ADD NumeroPedidoAgrupadorWMS INT NULL
end
go