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.
| # | 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_javascriptcommandexecutionC70D4018-1F6D-E411-92E7-00155DF5B00D | Mon Sep 19 18:20:18 2016 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 93 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | if (typeof North52 = = 'undefin ed') { Nor th52 = {}; } | |||||
| 2 | if (typeof North52.E xecuteComm and == 'un defined') { North52. ExecuteCom mand = {}; } | |||||
| 3 | ||||||
| 4 | North52.Ex ecuteComma nd.TimerCo unt = 0; | |||||
| 5 | North52.Ex ecuteComma nd.Complet ed = false ; | |||||
| 6 | ||||||
| 7 | ||||||
| 8 | North52.Ex ecuteComma nd.Ok = fu nction() { | |||||
| 9 | ||||||
| 10 | try | |||||
| 11 | { | |||||
| 12 | $( '#loading' ).show(); | |||||
| 13 | $( '#topRow') .css("disp lay", "non e") | |||||
| 14 | va r command = parent.p arent.Xrm. Page.data. entity.att ributes.ge t("north52 _shortcode ").getValu e(); | |||||
| 15 | ||||||
| 16 | var target Id = ''; | |||||
| 17 | var optio ns= "$sele ct=north52 _Result&$f ilter=nort h52_name e q " + "'"+ command + "' and n orth52_Par ameters eq '<north52 _command>< /north52_c ommand>' a nd north52 _TargetEnt ityID eq ' " + target Id + "' an d north52_ FormulaTyp e eq '99'" ; | |||||
| 18 | ||||||
| 19 | ||||||
| 20 | SDK.REST .retrieveM ultipleRec ords("nort h52_formul acalculati on", optio ns, North5 2.ExecuteC ommand.ret rieveComma ndCallBack , function (error) { North52.E xecuteComm and.cleanU p(); | |||||
| 21 | $("#lblRe sult").tex t("North52 Formula M anager: " + error.me ssage ); } , North52. ExecuteCom mand.confi gSuccess); | |||||
| 22 | ||||||
| 23 | North52.Ex ecuteComma nd.Timer() ; | |||||
| 24 | } | |||||
| 25 | catch (e x) | |||||
| 26 | { | |||||
| 27 | alert ('North52 Formula Ma nager Erro r: ' + ex. message); | |||||
| 28 | } | |||||
| 29 | ||||||
| 30 | }; | |||||
| 31 | ||||||
| 32 | North52.Ex ecuteComma nd.retriev eCommandCa llBack= fu nction (re trievedRes ult) { | |||||
| 33 | ||||||
| 34 | try | |||||
| 35 | { | |||||
| 36 | var di splayResul t = ''; | |||||
| 37 | North5 2.ExecuteC ommand.Com pleted = t rue; | |||||
| 38 | ||||||
| 39 | if(ret rievedResu lt == null ) | |||||
| 40 | d isplayResu lt = "An i nternal fa ilure has occurred. Please ena ble server side trac ing & chec k the N52 Trace Log entity."; | |||||
| 41 | else | |||||
| 42 | { | |||||
| 43 | var formulaRe sult = ret rievedResu lt[0]; | |||||
| 44 | ||||||
| 45 | if (formulaRe sult.north 52_Result == 'NoOp') | |||||
| 46 | displayR esult = 'C ommand Com pleted.'; | |||||
| 47 | els e | |||||
| 48 | { | |||||
| 49 | var resul t= JSON.pa rse(formul aResult.no rth52_Resu lt); | |||||
| 50 | displayRe sult = re sult.Prope rtyValueAc tion; | |||||
| 51 | } | |||||
| 52 | } | |||||
| 53 | $(' #loading') .hide(); | |||||
| 54 | $(" #lblResult ").text(di splayResul t); | |||||
| 55 | ||||||
| 56 | ||||||
| 57 | } | |||||
| 58 | ||||||
| 59 | catch (e x) | |||||
| 60 | { | |||||
| 61 | North5 2.ExecuteC ommand.Com pleted = t rue; | |||||
| 62 | $("#lb lResult"). text('Nort h52 Formul a Manager Error: ' + ex.messag e); | |||||
| 63 | ||||||
| 64 | } | |||||
| 65 | }; | |||||
| 66 | ||||||
| 67 | North52.E xecuteComm and.Timer= function () { | |||||
| 68 | ||||||
| 69 | if (North52.E xecuteComm and.Comple ted == fal se) | |||||
| 70 | { | |||||
| 71 | $("#lblRe sult").tex t('Executi on Time: ' + North52 .ExecuteCo mmand.Time rCount); | |||||
| 72 | setTimeou t(North52. ExecuteCom mand.Timer , 1000); | |||||
| 73 | ||||||
| 74 | North52. ExecuteCom mand.Timer Count += 1 ; | |||||
| 75 | } | |||||
| 76 | }; | |||||
| 77 | ||||||
| 78 | North52.E xecuteComm and.cleanU p= functio n () { | |||||
| 79 | North52. ExecuteCom mand.Compl eted = tru e; | |||||
| 80 | $('#loadi ng').hide( ); | |||||
| 81 | ||||||
| 82 | }; | |||||
| 83 | ||||||
| 84 | ||||||
| 85 | North52.E xecuteComm and.config Success= f unction () { | |||||
| 86 | ||||||
| 87 | }; | |||||
| 88 | ||||||
| 89 | North52.E xecuteComm and.config Error= fun ction (Xml HttpReques t, textSta tus, error Thrown) { | |||||
| 90 | North52. ExecuteCom mand.Compl eted = tru e; | |||||
| 91 | $("#lbl Result").t ext('North 52 Formula Manager: ' + XmlHtt pRequest.m essage ); | |||||
| 92 | North52 .ExecuteCo mmand.clea nUp(); | |||||
| 93 | }; |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.