SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

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

CREATE PROCEDURE WINV_Almacen_GetGrid
	@id_alma  INT,
	@vEliminado BIT
AS
BEGIN

	SELECT id_alma, codigo, LTRIM(RTRIM(descripcion))descripcion, id_cto, inv_cerrado, unico, fec_uact
	FROM STOKALMA

	RETURN

END
GO

---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
