USP_BUSINESSPROCESSOUTPUTLABELTEMPLATE_DATALIST

Displays a list of label templates associated with a business process output.

Parameters

Parameter Parameter Type Mode Description
@BUSINESSPROCESSOUTPUTTABLEKEY nvarchar(50) IN Input parameter indicating the context ID for the data list.

Definition

Copy


create procedure dbo.[USP_BUSINESSPROCESSOUTPUTLABELTEMPLATE_DATALIST] 
(
    @BUSINESSPROCESSOUTPUTTABLEKEY nvarchar(50)
)
with execute as owner
as
  set nocount on;

    select
        [ID],
    [WORDTEMPLATEID],
        [LABELTEMPLATENAME] 
    from dbo.[BUSINESSPROCESSOUTPUTTEMPLATE] 
    where [BUSINESSPROCESSOUTPUTTABLEKEY] = @BUSINESSPROCESSOUTPUTTABLEKEY
  and [LABELTEMPLATE] is not null;