This file contains hidden or 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
{ | |
// "PartnerID": "", REMOVED BECAUSE THE API KEY WILL ALREADY KNOW ID | |
// "FirstName": "", | |
// "LastName": "", Not Necessary | |
"AddressPoints": [ | |
{ | |
"Name": "", | |
"Address1": "", | |
"Address2": "", | |
"City": "", |
This file contains hidden or 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 TAGNET = require('tagnet-tools'); | |
var U = TAGNET.utility.u; | |
var SQL = TAGNET.sql; | |
var ORIGIN = parseInt(process.argv[2]); | |
var DESTINATION = parseInt(process.argv[3]); | |
U.log('[Copying ServiceLevels from ORIGIN to DESTINATION]', ORIGIN, DESTINATION); | |
function getOriginNotes() { |
This file contains hidden or 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
This XML file does not appear to have any style information associated with it. The document tree is shown below. | |
<GetTruckloadResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eims_bridge1.Models.JsonObjects"> | |
<ExpectedLoads> | |
<InboundLoad> | |
<estimatedArrivalDateTime>2017-07-20 09:00</estimatedArrivalDateTime> | |
<loadID>59322675</loadID> | |
<orders> | |
<OrderWithDetailsResponse>...</OrderWithDetailsResponse> | |
</orders> | |
<serviceProviderID>ZFWD</serviceProviderID> |
This file contains hidden or 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
// Global VAR for current index of service level | |
var INDEX = 0; | |
// Where we place the description array from the MS | |
var descriptions = []; | |
// Monitor the select element | |
function getQueryVariable(variable) { | |
var query = window.location.search.substring(1); | |
var vars = query.split("&"); |
This file contains hidden or 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
//Converter Class | |
var Converter = require("csvtojson").Converter; | |
var converter = new Converter({}); | |
var async = require('async'); | |
var u = require('./u'); | |
var redis = require('redis').createClient(); | |
var sql = { | |
tagnet:require('./csv/tagnet_sql') | |
}; | |
var lpad = require('./utils/left-pad'); |
This file contains hidden or 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
USE [tagnet_staging] | |
GO | |
/****** Object: View [dbo].[tagnet_AppointmentSPN_ServiceLevelsByPartnerName] Script Date: 7/13/2017 3:25:21 PM ******/ | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO |
This file contains hidden or 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
{ | |
"error": false, | |
"data": [] | |
} |
This file contains hidden or 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
{ | |
"PartnerPrimaryOrderID": "3U3255", | |
"PartnerId": "3", | |
"PartnerID": "3", | |
"OrderedBy": "TEST ORDER", | |
"ldAddress": { | |
"name": "TAG Oakland", | |
"address1": "480 Roland Way", | |
"address2": "", | |
"city": "Oakland", |
This file contains hidden or 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
{ | |
"error": false, | |
"data": "3U3255" | |
} |
This file contains hidden or 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
{ | |
"responseCode": "OK", | |
"responseText": "Authenticated", | |
"userType": "ADM", | |
"validServiceProviders": [], | |
"error": false | |
} |