USP_DATAFORMTEMPLATE_VIEW_PLANNEDGIFTADDITIONDESIGNATIONCAMPAIGN
The load procedure used by the view dataform template "Planned Gift Addition Designation Campaign View"
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | uniqueidentifier | IN | The input ID parameter used to load the fields defined on the form. |
@DATALOADED | bit | INOUT | Output parameter indicating whether or not data was actually loaded. |
@CAMPAIGNS | xml | INOUT | CAMPAIGNS |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_PLANNEDGIFTADDITIONDESIGNATIONCAMPAIGN
(
@ID uniqueidentifier,
@DATALOADED bit = 0 output,
@CAMPAIGNS xml = null output
)
as begin
set nocount on;
select
@DATALOADED = 1,
@CAMPAIGNS = dbo.UFN_PLANNEDGIFTADDITIONDESIGNATION_GETCAMPAIGNS_TOITEMLISTXML(@ID)
from
dbo.PLANNEDGIFTADDITIONDESIGNATION
where
PLANNEDGIFTADDITIONDESIGNATION.ID = @ID;
return 0;
end