240. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/22/2018 9:28:20 AM 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.

240.1 Files compared

# Location File Last Modified
1 REFDOC_2.3_06072018.zip\REFDOC 2.3_06072018\NVCC\SQL NVCC_usp_GetAnnouncement.sql Thu Jun 7 16:53:36 2018 UTC
2 REFDOC_2.3_06072018.zip\REFDOC 2.3_06072018\NVCC\SQL NVCC_usp_GetAnnouncement.sql Fri Jun 22 12:36:20 2018 UTC

240.2 Comparison summary

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

240.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

240.4 Active regular expressions

No regular expressions were active.

240.5 Comparison detail

  1   --DROP PRO CEDURE App .NVCC_usp_ GetAnnounc ement
  2  
  3   USE NWIC_P anelMgmt
  4   GO
  5  
  6   SET ANSI_N ULLS ON
  7   GO
  8  
  9   SET QUOTED _IDENTIFIE R ON
  10   GO
  11  
  12   CREATE PRO CEDURE App .NVCC_usp_ GetAnnounc ement
  13           --  @active i s a numeri c paramete r. If 1, o nly return  the activ e announce ments;
  14           --  if 0, ret urn all an nouncement s.
  15           @a ctive int
  16   AS
  17   --======== ========== ========== ========== ========== ========== ========== ========== ====
  18   --Requesto r              : Non  Va Coordin ated Care  Project
  19   --Author                  : Bria n Diggs
  20   --Object/S P Name         : NVCC _usp_GetLo gs
  21   --Server                  
D NS . U R        
  22   --Data Bas e              : NWIC _PanelMgmt
  23   --Schema                  : app
  24   --Report                  : N/A
  25   --Folder                  : N/A
  26   --Report L oc             : N/A
  27   --Job                     : None
  28   --Job Loc                 : None
  29   --Note                    : 
  30   --Date Cre ated           : 06-0 6-2016
  31   --
  32   --
  33   --Last Cha nged           : 
  34   --Last Cha nged By                 : 
  35   --Reason F or Change               : 
  36   --
  37   --Purpose                 : To g et selecte d announce ments
  38   --======== ========== ========== ========== ========== ========== ========== ========== ====
  39   --Uses: NW IC_PanelMg mt.App.NVC C_Announce ment
  40   --Uses: NW IC_PanelMg mt.App.NVC C_DimAnnou ncement
  41  
  42   BEGIN
  43           IF  (@active  = 0) 
  44                    BEGI N
  45                             SELECT
  46                                      A.Announ cementID,
  47                                      DA.Annou ncementTyp e,
  48                                      S.StaffN ame AS Cre ator,
  49                                      A.Creati onDT,
  50                                      A.Expira tionDT,
  51                                      A.Text
  52                             FROM N VCC_Announ cement AS  A
  53                                      INNER JO IN NVCC_Di mAnnouncem ent AS DA
  54                                               ON A.Annou ncementTyp eID = DA.A nnouncemen tTypeID
  55                                      LEFT JOI N NWIC_Pan elMgmt.App .NVCC_User s u
  56                                               ON A.Creat or = u.Dom ainPlusNet workUserNa me
  57                                      LEFT JOI N CDWWork. SStaff.SSt aff s
  58                                               ON u.UserI EN = s.Sta ffIEN and  u.Sta3n =  s.Sta3n
  59                    END
  60           EL SE IF (@ac tive = 1)
  61                    BEGI N
  62                             SELECT
  63                                      A.Announ cementID,
  64                                      DA.Annou ncementTyp e,
  65                                      S.StaffN ame AS Cre ator,
  66                                      A.Creati onDT,
  67                                      A.Expira tionDT,
  68                                      A.Text
  69                             FROM N VCC_Announ cement AS  A
  70                                      INNER JO IN NVCC_Di mAnnouncem ent AS DA
  71                                               ON A.Annou ncementTyp eID = DA.A nnouncemen tTypeID
  72                                      LEFT JOI N NWIC_Pan elMgmt.App .NVCC_User s u
  73                                               ON A.Creat or = u.Dom ainPlusNet workUserNa me
  74                                      LEFT JOI N CDWWork. SStaff.SSt aff s
  75                                               ON u.UserI EN = s.Sta ffIEN and  u.Sta3n =  s.Sta3n
  76                             WHERE
  77                                      Expirati onDT >= GE TUTCDATE()
  78                    END
  79   END
  80   GO
  81  
  82   exec sp_Si gnAppObjec t 'NVCC_us p_GetAnnou ncement';