709. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/26/2017 10:44:46 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

709.1 Files compared

# Location File Last Modified
1 OSCIF_BMS_v2_iter 2_September_2017.zip\BMS_Cand\Source\Sources\Database\CreationScripts\BMS\2.Functions dbo.ufn_Get_Transfer_Type.sql Wed Oct 18 19:06:54 2017 UTC
2 OSCIF_BMS_v2_iter 2_September_2017.zip\BMS_Cand\Source\Sources\Database\CreationScripts\BMS\2.Functions dbo.ufn_Get_Transfer_Type.sql Thu Oct 26 19:45:37 2017 UTC

709.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 60
Changed 1 2
Inserted 0 0
Removed 0 0

709.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

709.4 Active regular expressions

No regular expressions were active.

709.5 Comparison detail

  1   /****** Ob ject:  Use rDefinedFu nction [db o].[ufn_Ge t_Transfer _Type]     Script Dat e: 03/22/2 012 10:39: 32 ******/
  2   IF  EXISTS  (SELECT *  FROM sys. objects WH ERE object _id = OBJE CT_ID(N'[d bo].[ufn_G et_Transfe r_Type]')  AND type i n (N'FN',  N'IF', N'T F', N'FS',  N'FT'))
  3   DROP FUNCT ION [dbo]. [ufn_Get_T ransfer_Ty pe]
  4   GO
  5  
  6   SET ANSI_N ULLS ON
  7   GO
  8   SET QUOTED _IDENTIFIE R ON
  9   GO
  10   -- ======= ========== ========== ========== ========
  11   -- Author:                 PII
  12   -- Create  date: 08.0 9.2011
  13   -- Descrip tion: Gets  the trans fer type -  event, re quest or i ntent.
  14   -- ======= ========== ========== ========== ========
  15   CREATE FUN CTION [dbo ].[ufn_Get _Transfer_ Type]
  16           (@ ACT_ID         INT =  NULL)
  17           RE TURNS CHAR (3)
  18   AS
  19   BEGIN
  20   DECLARE @T RANSFER_TY PE CHAR(3)
  21  
  22  
  23   SELECT @TR ANSFER_TYP E = CASE 
  24           WH EN ((SELEC T COUNT(AC T_ID) FROM  TRANSFER_ REQ WHERE  ACT_ID = @ ACT_ID) =  1) THEN 'R EQ'
  25           WH EN ((SELEC T COUNT(AC T_ID) FROM  TRANSFER_ EVN WHERE  ACT_ID = @ ACT_ID) =  1) THEN 'E VN'
  26   END
  27  
  28   RETURN @TR ANSFER_TYP E
  29  
  30   END
  31   GO