Type.registerNamespace('VoughtNamespace');
VoughtNamespace.Vought=function() {
VoughtNamespace.Vought.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
VoughtNamespace.Vought.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return VoughtNamespace.Vought._staticInstance.get_path();},
LoadLocationRecord:function(lid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadLocationRecord',false,{lid:lid},succeededCallback,failedCallback,userContext); },
LoadGoNumber:function(gID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadGoNumber',false,{gID:gID},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,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadLocationCAN',false,{CarrierID:CarrierID,LocationID:LocationID},succeededCallback,failedCallback,userContext); },
UpdateLocationCAN:function(CarrierID,LocationID,AccountNumber,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateLocationCAN',false,{CarrierID:CarrierID,LocationID:LocationID,AccountNumber:AccountNumber},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); },
GetCarriers:function(iPreferred,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCarriers',false,{iPreferred:iPreferred},succeededCallback,failedCallback,userContext); },
GetCarrierServiceLevels:function(CarrierID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCarrierServiceLevels',false,{CarrierID:CarrierID},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); },
LoadVoughtShipCon:function(prefixText,secondaryText,count,userID,filter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadVoughtShipCon',false,{prefixText:prefixText,secondaryText:secondaryText,count:count,userID:userID,filter:filter},succeededCallback,failedCallback,userContext); },
LoadVoughtShipConByCode:function(prefixText,secondaryText,count,userID,filter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadVoughtShipConByCode',false,{prefixText:prefixText,secondaryText:secondaryText,count:count,userID:userID,filter:filter},succeededCallback,failedCallback,userContext); },
LoadVoughtPartsList:function(prefixText,secondaryText,count,userID,filter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadVoughtPartsList',false,{prefixText:prefixText,secondaryText:secondaryText,count:count,userID:userID,filter:filter},succeededCallback,failedCallback,userContext); }}
VoughtNamespace.Vought.registerClass('VoughtNamespace.Vought',Sys.Net.WebServiceProxy);
VoughtNamespace.Vought._staticInstance = new VoughtNamespace.Vought();
VoughtNamespace.Vought.set_path = function(value) { VoughtNamespace.Vought._staticInstance.set_path(value); }
VoughtNamespace.Vought.get_path = function() { return VoughtNamespace.Vought._staticInstance.get_path(); }
VoughtNamespace.Vought.set_timeout = function(value) { VoughtNamespace.Vought._staticInstance.set_timeout(value); }
VoughtNamespace.Vought.get_timeout = function() { return VoughtNamespace.Vought._staticInstance.get_timeout(); }
VoughtNamespace.Vought.set_defaultUserContext = function(value) { VoughtNamespace.Vought._staticInstance.set_defaultUserContext(value); }
VoughtNamespace.Vought.get_defaultUserContext = function() { return VoughtNamespace.Vought._staticInstance.get_defaultUserContext(); }
VoughtNamespace.Vought.set_defaultSucceededCallback = function(value) { VoughtNamespace.Vought._staticInstance.set_defaultSucceededCallback(value); }
VoughtNamespace.Vought.get_defaultSucceededCallback = function() { return VoughtNamespace.Vought._staticInstance.get_defaultSucceededCallback(); }
VoughtNamespace.Vought.set_defaultFailedCallback = function(value) { VoughtNamespace.Vought._staticInstance.set_defaultFailedCallback(value); }
VoughtNamespace.Vought.get_defaultFailedCallback = function() { return VoughtNamespace.Vought._staticInstance.get_defaultFailedCallback(); }
VoughtNamespace.Vought.set_path("/ship/CompanySpecific/VOUG75265/Vought.asmx");
VoughtNamespace.Vought.LoadLocationRecord= function(lid,onSuccess,onFailed,userContext) {VoughtNamespace.Vought._staticInstance.LoadLocationRecord(lid,onSuccess,onFailed,userContext); }
VoughtNamespace.Vought.LoadGoNumber= function(gID,onSuccess,onFailed,userContext) {VoughtNamespace.Vought._staticInstance.LoadGoNumber(gID,onSuccess,onFailed,userContext); }
VoughtNamespace.Vought.LoadPartListPart= function(pid,onSuccess,onFailed,userContext) {VoughtNamespace.Vought._staticInstance.LoadPartListPart(pid,onSuccess,onFailed,userContext); }
VoughtNamespace.Vought.FindTransData= function(CarrierID,TrackingNumber,onSuccess,onFailed,userContext) {VoughtNamespace.Vought._staticInstance.FindTransData(CarrierID,TrackingNumber,onSuccess,onFailed,userContext); }
VoughtNamespace.Vought.LoadLocationCAN= function(CarrierID,LocationID,onSuccess,onFailed,userContext) {VoughtNamespace.Vought._staticInstance.LoadLocationCAN(CarrierID,LocationID,onSuccess,onFailed,userContext); }
VoughtNamespace.Vought.UpdateLocationCAN= function(CarrierID,LocationID,AccountNumber,onSuccess,onFailed,userContext) {VoughtNamespace.Vought._staticInstance.UpdateLocationCAN(CarrierID,LocationID,AccountNumber,onSuccess,onFailed,userContext); }
VoughtNamespace.Vought.Reprint= function(RoutingID,UserID,ReprintType,onSuccess,onFailed,userContext) {VoughtNamespace.Vought._staticInstance.Reprint(RoutingID,UserID,ReprintType,onSuccess,onFailed,userContext); }
VoughtNamespace.Vought.GetCarriers= function(iPreferred,onSuccess,onFailed,userContext) {VoughtNamespace.Vought._staticInstance.GetCarriers(iPreferred,onSuccess,onFailed,userContext); }
VoughtNamespace.Vought.GetCarrierServiceLevels= function(CarrierID,onSuccess,onFailed,userContext) {VoughtNamespace.Vought._staticInstance.GetCarrierServiceLevels(CarrierID,onSuccess,onFailed,userContext); }
VoughtNamespace.Vought.GetAutoAssignShipperNumber= function(ProfileID,LocationID,ShipTypeID,onSuccess,onFailed,userContext) {VoughtNamespace.Vought._staticInstance.GetAutoAssignShipperNumber(ProfileID,LocationID,ShipTypeID,onSuccess,onFailed,userContext); }
VoughtNamespace.Vought.LoadVoughtShipCon= function(prefixText,secondaryText,count,userID,filter,onSuccess,onFailed,userContext) {VoughtNamespace.Vought._staticInstance.LoadVoughtShipCon(prefixText,secondaryText,count,userID,filter,onSuccess,onFailed,userContext); }
VoughtNamespace.Vought.LoadVoughtShipConByCode= function(prefixText,secondaryText,count,userID,filter,onSuccess,onFailed,userContext) {VoughtNamespace.Vought._staticInstance.LoadVoughtShipConByCode(prefixText,secondaryText,count,userID,filter,onSuccess,onFailed,userContext); }
VoughtNamespace.Vought.LoadVoughtPartsList= function(prefixText,secondaryText,count,userID,filter,onSuccess,onFailed,userContext) {VoughtNamespace.Vought._staticInstance.LoadVoughtPartsList(prefixText,secondaryText,count,userID,filter,onSuccess,onFailed,userContext); }

