USP_DATAFORMTEMPLATE_PRELOAD_ADD_GROUPTOIND_RELATIONSHIP_2
The load procedure used by the edit dataform template "Relationship Group to Individual Add Form 2"
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@CONSTITUENTID | uniqueidentifier | IN | Input parameter indicating the context ID for the record being added. |
@CONSTITUENTNAME | nvarchar(154) | INOUT | |
@CONSTITUENTTYPE | int | INOUT |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_PRELOAD_ADD_GROUPTOIND_RELATIONSHIP_2
(
@CONSTITUENTID uniqueidentifier,
@CONSTITUENTNAME nvarchar(154) = null output,
@CONSTITUENTTYPE int = null output
)
as
set nocount on;
select
@CONSTITUENTNAME = NAME
from
dbo.CONSTITUENT
where
ID = @CONSTITUENTID;
set @CONSTITUENTTYPE = 2
return 0;