UFN_ORIGINATIONSETTING_GETREVENUESOURCECODEID

Returns the revenue source code id in the ORIGINATIONSETTING table.

Return

Return Type
uniqueidentifier

Definition

Copy


            create function dbo.UFN_ORIGINATIONSETTING_GETREVENUESOURCECODEID()
            returns uniqueidentifier
            with execute as caller
            as begin
                declare @RETVAL uniqueidentifier;

                select @RETVAL = REVENUESOURCECODEID
                from dbo.ORIGINATIONSETTING;

                return @RETVAL;
            end