USP_DATAFORMTEMPLATE_PRELOAD_ADD_CAMPAIGNPRIORITY

The load procedure used by the edit dataform template "Campaign Priority Add Form"

Parameters

Parameter Parameter Type Mode Description
@CURRENTAPPUSERID uniqueidentifier IN Input parameter indicating the ID of the current user.
@CAMPAIGNID uniqueidentifier IN Input parameter indicating the context ID for the record being added.
@BASECURRENCYID uniqueidentifier INOUT Base currency ID

Definition

Copy


                    CREATE procedure dbo.USP_DATAFORMTEMPLATE_PRELOAD_ADD_CAMPAIGNPRIORITY
                    (
                        @CURRENTAPPUSERID uniqueidentifier,
                        @CAMPAIGNID uniqueidentifier,
                        @BASECURRENCYID uniqueidentifier = null output
                    )
                    as
                        set nocount on;

                        select 
                            @BASECURRENCYID = CAMPAIGN.BASECURRENCYID 
                        from
                            dbo.CAMPAIGN
                        where 
                            ID = @CAMPAIGNID;

                        return 0;