USP_DATAFORMTEMPLATE_PRELOAD_CAMPAIGNGOAL
The load procedure used by the edit dataform template "Campaign Goal Add Form"
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@CAMPAIGNID | uniqueidentifier | IN | Input parameter indicating the context ID for the record being added. |
@BASECURRENCYID | uniqueidentifier | INOUT | Currency |
Definition
Copy
create procedure dbo.USP_DATAFORMTEMPLATE_PRELOAD_CAMPAIGNGOAL
(
@CAMPAIGNID uniqueidentifier,
@BASECURRENCYID uniqueidentifier = null output
) as begin
set nocount on;
select
@BASECURRENCYID = CAMPAIGN.BASECURRENCYID
from
dbo.CAMPAIGN
where
CAMPAIGN.ID = @CAMPAIGNID;
return 0;
end