UFN_BATCHINTERACTION_GETSITES

Returns all sites for a given batch interaction record.

Return

Return Type
table

Parameters

Parameter Parameter Type Mode Description
@BATCHINTERACTIONID uniqueidentifier IN

Definition

Copy


            create function dbo.UFN_BATCHINTERACTION_GETSITES(
                @BATCHINTERACTIONID uniqueidentifier
            ) returns table
            as
            return
            (
                select
                    ID,
                    SITEID
                from
                    dbo.BATCHINTERACTIONSITES
                where
                    BATCHINTERACTIONID = @BATCHINTERACTIONID
            );