UFN_ITINERARYSTAFFRESOURCE_GETFILLEDBYCODE
Gets the filled by code for a given itinerary staff resource.
Return
Return Type |
---|
tinyint |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ITINERARYSTAFFRESOURCEID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_ITINERARYSTAFFRESOURCE_GETFILLEDBYCODE
(
@ITINERARYSTAFFRESOURCEID uniqueidentifier
)
returns tinyint
with execute as caller
as begin
declare @RETVAL tinyint;
select @RETVAL = ITINERARYSTAFFRESOURCE.FILLEDBYCODE
from dbo.ITINERARYSTAFFRESOURCE
where ITINERARYSTAFFRESOURCE.ID = @ITINERARYSTAFFRESOURCEID
return @RETVAL;
end