UFN_BATCHAUCTIONITEMCONSTITUENTRELATION_ISVALIDBUSINESS

Checks that the relationid points to an organization auction item batch constituent record.

Return

Return Type
bit

Parameters

Parameter Parameter Type Mode Description
@RELATIONID uniqueidentifier IN

Definition

Copy


            create function dbo.UFN_BATCHAUCTIONITEMCONSTITUENTRELATION_ISVALIDBUSINESS(@RELATIONID uniqueidentifier) returns bit
            as
            begin
                declare @result bit;
                set @result = 0
                select @result=1 from dbo.BATCHAUCTIONITEMCONSTITUENT where ID = @RELATIONID and ISORGANIZATION = 1;
                return @result;
            end;