UFN_ACCOUNTINGELEMENTID_MAPFROM_PROJECT_NOTEID
Maps a project note ID to the Accounting Element ID for record security.
Return
Return Type |
---|
uniqueidentifier |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@NOTEID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_ACCOUNTINGELEMENTID_MAPFROM_PROJECT_NOTEID
(
@NOTEID uniqueidentifier
)
returns uniqueidentifier as
begin
declare @ID uniqueidentifier
select @ID = PROJECTID from dbo.PROJECTNOTE where ID = @NOTEID
return @ID
end