USP_BATCH_GETLISTBYDUPLICATERECORDCHECKSEARCHLIST
Returns batches that have the specified search list for their DuplicateRecordCheck section.
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@SEARCHLISTID | uniqueidentifier | IN |
Definition
Copy
create procedure dbo.USP_BATCH_GETLISTBYDUPLICATERECORDCHECKSEARCHLIST
(
@SEARCHLISTID uniqueidentifier
)
as
begin
set nocount on;
select
SPECXML
from dbo.BATCHTYPECATALOG
where
SPECXML.value('declare namespace bbspec="bb_appfx_batchtype";
data(/bbspec:BatchTypeSpec/bbspec:DuplicateRecordCheck/@SearchListID)[1]', 'uniqueidentifier') = @SEARCHLISTID
end