dbo.IV_contraparte_exterior

Description

Properties

Name Value
ANSI Nulls ON

True

Quoted Identifier ON

True

Encrypted

False

Execute As
Assembly

Parameters

3
Name Data Type Length Description
@p_contraparte int 4
@p_gestion int 4
@p_plataforma varchar -1

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO

/* SP [IV_contraparte_exterior] */

CREATE OR ALTER PROCEDURE dbo.IV_contraparte_exterior 
 @p_contraparte        int ,
 @p_gestion         int ,
 @p_plataforma        varchar(max)


AS
BEGIN
 SET NOCOUNT ON;

  select ln_docs.tipo_doc,ln_docs.estado_doc,LN_docs.doc_id from ln_docs inner join LN_tipos_doc on ln_docs.tipo_doc=LN_tipos_doc.tipo_doc where contraparte = @p_contraparte and gestion=@p_gestion and aplica=1
  and LN_tipos_doc.inf_exterior=1

END
GO

Used By

No items found