This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Name: JournalSyncHelper | |
* Description: Helper class for Masco Milgard 2 way sync. Allows Journal fields (Comments, Worknotes) to be synced. | |
* Helper functions to package up Comments and WorkNotes to a JSON String. Also function to decode and insert | |
* packaged journal field back in SN. | |
* Author: Paul.Senatillaka@fruitionpartners.com | |
* | |
* Version: 2.0 - 10/11/13 - Rewrite from v1 to better handle large comments and numerous other fixes. | |
*/ | |
gs.include("PrototypeServer"); | |
var JournalSyncHelper = Class.create(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gs.include("PrototypeServer"); | |
var SAML2Error = Class.create(); | |
SAML2Error.prototype = Object.extend(new Error(), { | |
initialize : function(message) { | |
this.name = "SAML2Error"; | |
this.message = message; | |
} | |
}); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var AppAccessRequestHelper = Class.create(); | |
AppAccessRequestHelper.prototype = { | |
initialize: function() { | |
this.debug = gs.getProperty("intuit.custom.debug", "true"); | |
this.error_message = String(); | |
this.applicationId = ''; | |
}, | |
//WS Wrapper function to handle Request and Response Object. | |
//This is called from a Scripted WS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import fileinput | |
import sys | |
headerColCnt = 0 | |
mismatches = 0 | |
delimiter = "|" | |
def process(line): | |
global headerColCnt |