UFN_BBNC_MAPPINGRULENEEDSSITEID
Returns 1 if a NETCOMMUNITYMAPPINGRULE entry needs one or more site IDs to be complete.
Return
| Return Type |
|---|
| bit |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @NETCOMMUNITYMAPPINGRULEID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_BBNC_MAPPINGRULENEEDSSITEID
(
@NETCOMMUNITYMAPPINGRULEID uniqueidentifier
)
returns bit
as
begin
if (select MAPPINGTYPECODE from dbo.NETCOMMUNITYMAPPINGRULE where ID = @NETCOMMUNITYMAPPINGRULEID) = 9
return 1;
return 0;
end