Type.registerNamespace('MS3PLNamespace');
MS3PLNamespace.MS3PL=function() {
MS3PLNamespace.MS3PL.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MS3PLNamespace.MS3PL.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MS3PLNamespace.MS3PL._staticInstance.get_path();},
LoadLocationRecord:function(lid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadLocationRecord',false,{lid:lid},succeededCallback,failedCallback,userContext); },
LoadCarrierBilling:function(ProfileID,BillingType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadCarrierBilling',false,{ProfileID:ProfileID,BillingType:BillingType},succeededCallback,failedCallback,userContext); },
LoadPartListPart:function(pid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadPartListPart',false,{pid:pid},succeededCallback,failedCallback,userContext); },
FindTransData:function(CarrierID,TrackingNumber,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FindTransData',false,{CarrierID:CarrierID,TrackingNumber:TrackingNumber},succeededCallback,failedCallback,userContext); },
LoadLocationCAN:function(CarrierID,LocationID,CarrierServiceModeID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadLocationCAN',false,{CarrierID:CarrierID,LocationID:LocationID,CarrierServiceModeID:CarrierServiceModeID},succeededCallback,failedCallback,userContext); },
UpdateLocationCAN:function(CarrierID,LocationID,AccountNumber,CarrierServiceModeID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateLocationCAN',false,{CarrierID:CarrierID,LocationID:LocationID,AccountNumber:AccountNumber,CarrierServiceModeID:CarrierServiceModeID},succeededCallback,failedCallback,userContext); },
Reprint:function(RoutingID,UserID,ReprintType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Reprint',false,{RoutingID:RoutingID,UserID:UserID,ReprintType:ReprintType},succeededCallback,failedCallback,userContext); },
ReprintSingle:function(dataID,dataTable,userID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ReprintSingle',false,{dataID:dataID,dataTable:dataTable,userID:userID},succeededCallback,failedCallback,userContext); },
BuildRoutingFormsLabelHTML:function(transID,userID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'BuildRoutingFormsLabelHTML',false,{transID:transID,userID:userID},succeededCallback,failedCallback,userContext); },
IFP_GFLWTN_HTML:function(trackingNumber,carrierID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IFP_GFLWTN_HTML',false,{trackingNumber:trackingNumber,carrierID:carrierID},succeededCallback,failedCallback,userContext); },
GetCarrierServiceLevels:function(CarrierID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCarrierServiceLevels',false,{CarrierID:CarrierID},succeededCallback,failedCallback,userContext); },
GetCarrierServiceLevelsByMode:function(CarrierID,ModeID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCarrierServiceLevelsByMode',false,{CarrierID:CarrierID,ModeID:ModeID},succeededCallback,failedCallback,userContext); },
GetAutoAssignShipperNumber:function(ProfileID,LocationID,ShipTypeID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAutoAssignShipperNumber',false,{ProfileID:ProfileID,LocationID:LocationID,ShipTypeID:ShipTypeID},succeededCallback,failedCallback,userContext); },
GetCompanyProfileTransitDays:function(profileID,masterProfileID,modeTypeID,originTypeID,origin,destTypeID,destination,shipdate,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCompanyProfileTransitDays',false,{profileID:profileID,masterProfileID:masterProfileID,modeTypeID:modeTypeID,originTypeID:originTypeID,origin:origin,destTypeID:destTypeID,destination:destination,shipdate:shipdate},succeededCallback,failedCallback,userContext); },
GetMileage:function(ShipZip,ConsZip,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMileage',false,{ShipZip:ShipZip,ConsZip:ConsZip},succeededCallback,failedCallback,userContext); },
GetTransitDays:function(dtStart,dtEnd,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTransitDays',false,{dtStart:dtStart,dtEnd:dtEnd},succeededCallback,failedCallback,userContext); },
UpdateCompanyCarrierProfile:function(ccpid,funct,val,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateCompanyCarrierProfile',false,{ccpid:ccpid,funct:funct,val:val},succeededCallback,failedCallback,userContext); },
LoadMS3PLShipCon:function(prefixText,secondaryText,count,userID,filter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadMS3PLShipCon',false,{prefixText:prefixText,secondaryText:secondaryText,count:count,userID:userID,filter:filter},succeededCallback,failedCallback,userContext); },
LoadMS3PLShipConByCode:function(prefixText,secondaryText,count,userID,filter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadMS3PLShipConByCode',false,{prefixText:prefixText,secondaryText:secondaryText,count:count,userID:userID,filter:filter},succeededCallback,failedCallback,userContext); },
LoadMS3PLGoNumbers:function(prefixText,secondaryText,count,userID,filter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadMS3PLGoNumbers',false,{prefixText:prefixText,secondaryText:secondaryText,count:count,userID:userID,filter:filter},succeededCallback,failedCallback,userContext); },
LoadMS3PLPartsList:function(prefixText,secondaryText,count,userID,filter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadMS3PLPartsList',false,{prefixText:prefixText,secondaryText:secondaryText,count:count,userID:userID,filter:filter},succeededCallback,failedCallback,userContext); },
LoadReceivingRecord:function(ReceivingNotificationID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadReceivingRecord',false,{ReceivingNotificationID:ReceivingNotificationID},succeededCallback,failedCallback,userContext); }}
MS3PLNamespace.MS3PL.registerClass('MS3PLNamespace.MS3PL',Sys.Net.WebServiceProxy);
MS3PLNamespace.MS3PL._staticInstance = new MS3PLNamespace.MS3PL();
MS3PLNamespace.MS3PL.set_path = function(value) { MS3PLNamespace.MS3PL._staticInstance.set_path(value); }
MS3PLNamespace.MS3PL.get_path = function() { return MS3PLNamespace.MS3PL._staticInstance.get_path(); }
MS3PLNamespace.MS3PL.set_timeout = function(value) { MS3PLNamespace.MS3PL._staticInstance.set_timeout(value); }
MS3PLNamespace.MS3PL.get_timeout = function() { return MS3PLNamespace.MS3PL._staticInstance.get_timeout(); }
MS3PLNamespace.MS3PL.set_defaultUserContext = function(value) { MS3PLNamespace.MS3PL._staticInstance.set_defaultUserContext(value); }
MS3PLNamespace.MS3PL.get_defaultUserContext = function() { return MS3PLNamespace.MS3PL._staticInstance.get_defaultUserContext(); }
MS3PLNamespace.MS3PL.set_defaultSucceededCallback = function(value) { MS3PLNamespace.MS3PL._staticInstance.set_defaultSucceededCallback(value); }
MS3PLNamespace.MS3PL.get_defaultSucceededCallback = function() { return MS3PLNamespace.MS3PL._staticInstance.get_defaultSucceededCallback(); }
MS3PLNamespace.MS3PL.set_defaultFailedCallback = function(value) { MS3PLNamespace.MS3PL._staticInstance.set_defaultFailedCallback(value); }
MS3PLNamespace.MS3PL.get_defaultFailedCallback = function() { return MS3PLNamespace.MS3PL._staticInstance.get_defaultFailedCallback(); }
MS3PLNamespace.MS3PL.set_path("/MS3PL/MS3PL.asmx");
MS3PLNamespace.MS3PL.LoadLocationRecord= function(lid,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.LoadLocationRecord(lid,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.LoadCarrierBilling= function(ProfileID,BillingType,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.LoadCarrierBilling(ProfileID,BillingType,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.LoadPartListPart= function(pid,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.LoadPartListPart(pid,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.FindTransData= function(CarrierID,TrackingNumber,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.FindTransData(CarrierID,TrackingNumber,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.LoadLocationCAN= function(CarrierID,LocationID,CarrierServiceModeID,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.LoadLocationCAN(CarrierID,LocationID,CarrierServiceModeID,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.UpdateLocationCAN= function(CarrierID,LocationID,AccountNumber,CarrierServiceModeID,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.UpdateLocationCAN(CarrierID,LocationID,AccountNumber,CarrierServiceModeID,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.Reprint= function(RoutingID,UserID,ReprintType,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.Reprint(RoutingID,UserID,ReprintType,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.ReprintSingle= function(dataID,dataTable,userID,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.ReprintSingle(dataID,dataTable,userID,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.BuildRoutingFormsLabelHTML= function(transID,userID,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.BuildRoutingFormsLabelHTML(transID,userID,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.IFP_GFLWTN_HTML= function(trackingNumber,carrierID,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.IFP_GFLWTN_HTML(trackingNumber,carrierID,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.GetCarrierServiceLevels= function(CarrierID,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.GetCarrierServiceLevels(CarrierID,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.GetCarrierServiceLevelsByMode= function(CarrierID,ModeID,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.GetCarrierServiceLevelsByMode(CarrierID,ModeID,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.GetAutoAssignShipperNumber= function(ProfileID,LocationID,ShipTypeID,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.GetAutoAssignShipperNumber(ProfileID,LocationID,ShipTypeID,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.GetCompanyProfileTransitDays= function(profileID,masterProfileID,modeTypeID,originTypeID,origin,destTypeID,destination,shipdate,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.GetCompanyProfileTransitDays(profileID,masterProfileID,modeTypeID,originTypeID,origin,destTypeID,destination,shipdate,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.GetMileage= function(ShipZip,ConsZip,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.GetMileage(ShipZip,ConsZip,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.GetTransitDays= function(dtStart,dtEnd,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.GetTransitDays(dtStart,dtEnd,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.UpdateCompanyCarrierProfile= function(ccpid,funct,val,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.UpdateCompanyCarrierProfile(ccpid,funct,val,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.LoadMS3PLShipCon= function(prefixText,secondaryText,count,userID,filter,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.LoadMS3PLShipCon(prefixText,secondaryText,count,userID,filter,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.LoadMS3PLShipConByCode= function(prefixText,secondaryText,count,userID,filter,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.LoadMS3PLShipConByCode(prefixText,secondaryText,count,userID,filter,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.LoadMS3PLGoNumbers= function(prefixText,secondaryText,count,userID,filter,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.LoadMS3PLGoNumbers(prefixText,secondaryText,count,userID,filter,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.LoadMS3PLPartsList= function(prefixText,secondaryText,count,userID,filter,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.LoadMS3PLPartsList(prefixText,secondaryText,count,userID,filter,onSuccess,onFailed,userContext); }
MS3PLNamespace.MS3PL.LoadReceivingRecord= function(ReceivingNotificationID,onSuccess,onFailed,userContext) {MS3PLNamespace.MS3PL._staticInstance.LoadReceivingRecord(ReceivingNotificationID,onSuccess,onFailed,userContext); }

