USP_DATAFORMTEMPLATE_PRELOAD_ADD_ORGTOIND_RELATIONSHIP
The load procedure used by the edit dataform template "Relationship Organization to Individual Add 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 |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_PRELOAD_ADD_ORGTOIND_RELATIONSHIP
(
@CONSTITUENTID uniqueidentifier,
@CONSTITUENTNAME nvarchar(154) = null output
)
as
set nocount on;
select
@CONSTITUENTNAME = NAME
from
dbo.CONSTITUENT
where
ID = @CONSTITUENTID;
return 0;