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