SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'WINV_GrupoArticulo_GetCombo') )
DROP PROCEDURE WINV_GrupoArticulo_GetCombo
GO

CREATE PROCEDURE WINV_GrupoArticulo_GetCombo --Carga la informacion a el combobox
AS
BEGIN
	select codigo,LTRIM(RTRIM(descripcion))descripcion
	from STOKGRUP 
	order by codigo
END
GO

--SELECT codigo,descripcion,id_grup FROM STOKGRUP