USP_PROJECT_MARKACTIVE
Executes the "Project: Mark Active" record operation.
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | uniqueidentifier | IN | Input parameter indicating the ID of the record being updated. |
@CHANGEAGENTID | uniqueidentifier | IN | Input parameter indicating the ID of the change agent invoking the update. |
Definition
Copy
CREATE procedure dbo.USP_PROJECT_MARKACTIVE
(
@ID uniqueidentifier,
@CHANGEAGENTID uniqueidentifier
)
as begin
set nocount on;
declare @r int;
exec @r = dbo.USP_DATAELEMENT_MARKACTIVE
@ID = @ID,
@CHANGEAGENTID = @CHANGEAGENTID
if @@error <> 0
begin
if @r <> 0 return @r
return 1;
end
return @r;
end