UFN_IMPORTPROCESSBATCH_BATCHCOMMITOPTIONCODE_GETDESCRIPTION

Return

Return Type
nvarchar(50)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  3/19/2013 1:11:27 AM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=3.0.504.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_IMPORTPROCESSBATCH_BATCHCOMMITOPTIONCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(50) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then 'Do nothing'
        when 1 then 'Validate new batches but do not commit any records'
        when 2 then 'Commit batches if they have no batch exceptions'
        when 3 then 'Commit all valid rows from new batches'    
    end

end