320. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 5/9/2017 12:03:03 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.

320.1 Files compared

# Location File Last Modified
1 Tue May 9 16:03:03 2017 UTC
2 OSCIF_HEC_v1.4_Sprint23_build4_Apr_2017.zip\CRM_solutions\Managed\North52BPA_1_0_0_506_managed_2013_2015_2016..zip\WebResources north52_javascripteditorsourcerelationshipD55303D8-262B-E611-8C6D-00155D011502 Mon Sep 19 18:20:18 2016 UTC

320.2 Comparison summary

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

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

320.4 Active regular expressions

No regular expressions were active.

320.5 Comparison detail

        1   if (typeof  North52 = = 'undefin ed') { Nor th52 = {};  }
        2   if (typeof  North52.S ourceRelat ionship ==  'undefine d') { Nort h52.Source Relationsh ip = {}; }
        3  
        4   var Source Relationsh ip = {}; 
        5   SourceRela tionship.E ntities; 
        6  
        7   SourceRela tionship.D isable= fu nction() {   
        8      $("#sou rcerelatio nship").at tr("disabl ed", true) ;
        9   }
        10  
        11  
        12  
        13  
        14   North52.So urceRelati onship.Sor t = functi on(a, b) {   
        15      
        16     return ( a.innerHTM L > b.inne rHTML ) ?  1 : -1;
        17   };
        18  
        19   North52.So urceRelati onship.Loa d = functi on(entityD isplayName , entityLo gicalName,  initialLo ad) {  
        20  
        21     if ($("# formulaTyp e").val()  != 2178900 01)
        22     {
        23        $('#c ontrolGrou pFormulaSo urceRelati onship').h ide(); 
        24        paren t.Xrm.Page .data.enti ty.attribu tes.get("n orth52_sou rcerelatio nship").se tValue("") ;
        25     }
        26     else
        27     {  
        28        SDK.M etadata.Re trieveEnti ty(SDK.Met adata.Enti tyFilters. Relationsh ips, entit yLogicalNa me, null,  false, fun ction (ent ityMetadat a) {
        29   North52.So urceRelati onship.suc cessRetrie veAttribut es(entityM etadata, e ntityDispl ayName, in itialLoad) ; }, North 52.SourceR elationshi p.errorRet rieveAttri butes);
        30      }
        31  
        32   };
        33  
        34   North52.So urceRelati onship.suc cessRetrie veAttribut es = funct ion(entity Metadata,  entityDisp layName, i nitialLoad ) {  
        35  
        36    try
        37    {
        38      
        39      $("sele ct[id$=sou rcerelatio nship] > o ption").re move();
        40      if (ent ityMetadat a.ManyToOn eRelations hips!= nul l)
        41      {
        42  
        43            f or (var i  = 0; i < e ntityMetad ata.ManyTo OneRelatio nships.len gth; i++)
        44            {
        45                 var rel ationship  = entityMe tadata.Man yToOneRela tionships[ i];
        46  
        47                  var tx t = relati onship.Ref erencedEnt ity;
        48                  var va l = relati onship.Ref erencingAt tribute;
        49      
        50                  text =  val + " ( " + txt +  ")";
        51                  value  = val+"|"+ txt;
        52  
        53                  N52.HT MLWebResou rceHelper. InsertOpti onSetItem( "sourcerel ationship" , text,val ue);
        54              }  
        55        }
        56  
        57        isRes et = true;
        58        $("#s ourcerelat ionship op tion").sor t(North52. SourceRela tionship.S ort).appen dTo("#sour cerelation ship");
        59  
        60  
        61         curr entRelatio nship = pa rent.Xrm.P age.getAtt ribute("no rth52_sour cerelation ship").get Value();
        62         if ( currentRel ationship  !== null & & currentR elationshi p !=="") {   
        63                if (init ialLoad ==  true) {is Reset =  f alse;}
        64  
        65                North52. SourceRela tionship.D ropDownCha nged(curre ntRelation ship, isRe set );
        66                $("#sour cerelation ship").val (currentRe lationship  );
        67         }
        68         else  {
        69           $( '#sourcere lationship  option:fi rst-child' ).attr("se lected", " selected") ;        
        70           cu rrentRelat ionship =  $("#source relationsh ip option: selected") .val();
        71           No rth52.Sour ceRelation ship.DropD ownChanged (currentRe lationship );
        72          }
        73     
        74        $('#l oading-sou rcerelatio nship').hi de(); 
        75        $('#s ourcerelat ionship'). show(); 
        76      
        77      }
        78      catch(e x)
        79      {
        80        alert ('North52  Formula Ma nager Exce ption: ' +  ex.messag e);
        81      }
        82  
        83   };
        84  
        85   North52.So urceRelati onship.err orRetrieve Attributes  = functio n(error) {   
        86       alert( "North52 F ormula Man ager : " +  error.mes sage);
        87     }
        88  
        89   North52.So urceRelati onship.Dro pDownChang ed= functi on(value,  isReset) {   
        90  
        91     try
        92     {
        93  
        94       if (va lue != nul l) 
        95       {  
        96           va r split =  value.spli t("|");
        97           en tityLogica lName = sp lit[1];
        98           en tityDispla yName = sp lit[1];
        99    
        100                    Nort h52.Target Entity.Loa d("insert" , entityDi splayName,  entityLog icalName,  isReset);
        101           pa rent.Xrm.P age.data.e ntity.attr ibutes.get ("north52_ sourcerela tionship") .setValue( value);  
        102        }
        103  
        104      }
        105      catch(e x)
        106      {
        107        alert ('North52  Formula Ma nager Exce ption: ' +  ex.messag e);
        108      }
        109  
        110   } ;