SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

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

CREATE PROCEDURE WPOSS_PuntoVenta_GetCombo --Carga la informacion a el combobox
AS
BEGIN
	Select LTRIM(RTRIM(id_pvta))id_pvta, LTRIM(RTRIM(cod_pvta))cod_pvta, LTRIM(RTRIM(Desc_pvta))Desc_pvta From RestPvta Order by cod_pvta

END
GO