UFN_BBNC_GETBATCHOWNER

Returns the batch owner that should be assigned to batches created by a transaction processor for NetCommunity.

Return

Return Type
uniqueidentifier

Parameters

Parameter Parameter Type Mode Description
@NETCOMMUNITYTRANSACTIONPROCESSORID uniqueidentifier IN

Definition

Copy


            create function dbo.UFN_BBNC_GETBATCHOWNER
            (
                @NETCOMMUNITYTRANSACTIONPROCESSORID uniqueidentifier
            )
            returns uniqueidentifier
            as
            begin
                declare @OWNERID uniqueidentifier;

                select 
                    @OWNERID = OWNERID 
                from dbo.NETCOMMUNITYTRANSACTIONPROCESSOR
                where ID = @NETCOMMUNITYTRANSACTIONPROCESSORID;

                return @OWNERID;
            end