var Services=function() {
Services.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Services.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Services._staticInstance.get_path();},
setFilter:function(sFilter,sValue,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setFilter',false,{sFilter:sFilter,sValue:sValue},succeededCallback,failedCallback,userContext); },
setFilterAll:function(sFilter,sPage,sValue,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setFilterAll',false,{sFilter:sFilter,sPage:sPage,sValue:sValue},succeededCallback,failedCallback,userContext); },
setFilters:function(sFilters,sValues,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setFilters',false,{sFilters:sFilters,sValues:sValues},succeededCallback,failedCallback,userContext); },
setFiltersAll:function(sFilters,sPage,sValues,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setFiltersAll',false,{sFilters:sFilters,sPage:sPage,sValues:sValues},succeededCallback,failedCallback,userContext); },
getFilterAll:function(sPage,sFilter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getFilterAll',false,{sPage:sPage,sFilter:sFilter},succeededCallback,failedCallback,userContext); },
getPopup:function(sType,sSection,sParam1,sParam2,sParam3,sParam4,sParam5,sParam6,sParam7,sParam8,sParam9,sParam10,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getPopup',false,{sType:sType,sSection:sSection,sParam1:sParam1,sParam2:sParam2,sParam3:sParam3,sParam4:sParam4,sParam5:sParam5,sParam6:sParam6,sParam7:sParam7,sParam8:sParam8,sParam9:sParam9,sParam10:sParam10},succeededCallback,failedCallback,userContext); },
showCal:function(showDate,sMonth,sYear,sResultFormat,bEnableAll,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'showCal',false,{showDate:showDate,sMonth:sMonth,sYear:sYear,sResultFormat:sResultFormat,bEnableAll:bEnableAll},succeededCallback,failedCallback,userContext); },
showLookup:function(sType,sField,sShow,sReturn,sWidth,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'showLookup',false,{sType:sType,sField:sField,sShow:sShow,sReturn:sReturn,sWidth:sWidth},succeededCallback,failedCallback,userContext); },
sendEmail:function(sEFromName,sEFromEmail,sETo,sECC,sEBCC,sReplyToName,sReplyToEmail,sSubject,sBody,bHTML,sAttachName,sAttachType,b64,sAttachData,bAttachData,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'sendEmail',false,{sEFromName:sEFromName,sEFromEmail:sEFromEmail,sETo:sETo,sECC:sECC,sEBCC:sEBCC,sReplyToName:sReplyToName,sReplyToEmail:sReplyToEmail,sSubject:sSubject,sBody:sBody,bHTML:bHTML,sAttachName:sAttachName,sAttachType:sAttachType,b64:b64,sAttachData:sAttachData,bAttachData:bAttachData},succeededCallback,failedCallback,userContext); },
removeAttach:function(iNo,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'removeAttach',false,{iNo:iNo},succeededCallback,failedCallback,userContext); },
getAttachList:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getAttachList',false,{},succeededCallback,failedCallback,userContext); },
setnewscategory:function(category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setnewscategory',false,{category:category},succeededCallback,failedCallback,userContext); },
getnews:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getnews',false,{},succeededCallback,failedCallback,userContext); },
incKB:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'incKB',false,{},succeededCallback,failedCallback,userContext); },
incnews:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'incnews',false,{},succeededCallback,failedCallback,userContext); },
decKB:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'decKB',false,{},succeededCallback,failedCallback,userContext); },
decnews:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'decnews',false,{},succeededCallback,failedCallback,userContext); },
searchKB:function(query,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'searchKB',false,{query:query},succeededCallback,failedCallback,userContext); },
searchnews:function(query,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'searchnews',false,{query:query},succeededCallback,failedCallback,userContext); },
getnewsheadlines:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getnewsheadlines',false,{},succeededCallback,failedCallback,userContext); },
setPassword:function(sOldPassword,sNewPassword,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setPassword',false,{sOldPassword:sOldPassword,sNewPassword:sNewPassword},succeededCallback,failedCallback,userContext); },
getMenud:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getMenud',false,{},succeededCallback,failedCallback,userContext); },
runLogin:function(username,password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'runLogin',false,{username:username,password:password},succeededCallback,failedCallback,userContext); },
runLogout:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'runLogout',false,{},succeededCallback,failedCallback,userContext); },
showLogin:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'showLogin',false,{},succeededCallback,failedCallback,userContext); },
showLoginDetails:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'showLoginDetails',false,{},succeededCallback,failedCallback,userContext); },
runRequestCompanySearch:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'runRequestCompanySearch',false,{},succeededCallback,failedCallback,userContext); },
runRequestUserSearch:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'runRequestUserSearch',false,{},succeededCallback,failedCallback,userContext); },
runRequestAdminSearch:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'runRequestAdminSearch',false,{},succeededCallback,failedCallback,userContext); },
runFilterSearch:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'runFilterSearch',false,{},succeededCallback,failedCallback,userContext); },
runRequestDetails:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'runRequestDetails',false,{},succeededCallback,failedCallback,userContext); },
runJobList:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'runJobList',false,{},succeededCallback,failedCallback,userContext); },
runRedirect:function(sURL,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'runRedirect',false,{sURL:sURL},succeededCallback,failedCallback,userContext); },
printPreviewFilters:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'printPreviewFilters',false,{},succeededCallback,failedCallback,userContext); },
runDetails:function(sType,id,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'runDetails',false,{sType:sType,id:id},succeededCallback,failedCallback,userContext); },
setRDPDetails:function(sUser,sServer,sPort,sWidth,sHeight,sFullScreen,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setRDPDetails',false,{sUser:sUser,sServer:sServer,sPort:sPort,sWidth:sWidth,sHeight:sHeight,sFullScreen:sFullScreen},succeededCallback,failedCallback,userContext); },
getattachment:function(sID,sFileName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getattachment',false,{sID:sID,sFileName:sFileName},succeededCallback,failedCallback,userContext); },
getFile:function(sID,sFileName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getFile',false,{sID:sID,sFileName:sFileName},succeededCallback,failedCallback,userContext); },
addMessage:function(sSection,susid,sAdmin,sHead,sPriority,sStatus,sType,sStatusBill,sCategory,sAssign,sReferP,sReferE,sSubject,sDetails,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'addMessage',false,{sSection:sSection,susid:susid,sAdmin:sAdmin,sHead:sHead,sPriority:sPriority,sStatus:sStatus,sType:sType,sStatusBill:sStatusBill,sCategory:sCategory,sAssign:sAssign,sReferP:sReferP,sReferE:sReferE,sSubject:sSubject,sDetails:sDetails},succeededCallback,failedCallback,userContext); },
replyMessage:function(sSection,sUser,sAdmin,sHE,sHA,sSubject,sDetails,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'replyMessage',false,{sSection:sSection,sUser:sUser,sAdmin:sAdmin,sHE:sHE,sHA:sHA,sSubject:sSubject,sDetails:sDetails},succeededCallback,failedCallback,userContext); },
delMessage:function(smsgid,sType,sParent,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'delMessage',false,{smsgid:smsgid,sType:sType,sParent:sParent},succeededCallback,failedCallback,userContext); },
addMessageAll:function(sSection,sCompany,sName,sCreatedBy,sReferTo,sReferEmail,sAssigned,sPriority,sCategory,sStatus,sBilling,sType,sHoursEst,sHoursSpent,sHoursBilled,susid,sAdmin,sViewed,sEmailed,sSubject,sDetails,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'addMessageAll',false,{sSection:sSection,sCompany:sCompany,sName:sName,sCreatedBy:sCreatedBy,sReferTo:sReferTo,sReferEmail:sReferEmail,sAssigned:sAssigned,sPriority:sPriority,sCategory:sCategory,sStatus:sStatus,sBilling:sBilling,sType:sType,sHoursEst:sHoursEst,sHoursSpent:sHoursSpent,sHoursBilled:sHoursBilled,susid:susid,sAdmin:sAdmin,sViewed:sViewed,sEmailed:sEmailed,sSubject:sSubject,sDetails:sDetails},succeededCallback,failedCallback,userContext); },
editMessageMulti:function(sSection,sPriority,sStatus,sBilling,sType,sCategory,sAssigned,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'editMessageMulti',false,{sSection:sSection,sPriority:sPriority,sStatus:sStatus,sBilling:sBilling,sType:sType,sCategory:sCategory,sAssigned:sAssigned},succeededCallback,failedCallback,userContext); },
editMessage:function(sSection,sCompany,sName,sReferTo,sReferEmail,sAssigned,sPriority,sCategory,sStatus,sBilling,sType,sHoursEst,sHoursSpent,sHoursBilled,susid,sAdmin,sViewed,sEmailed,sSubject,sDetails,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'editMessage',false,{sSection:sSection,sCompany:sCompany,sName:sName,sReferTo:sReferTo,sReferEmail:sReferEmail,sAssigned:sAssigned,sPriority:sPriority,sCategory:sCategory,sStatus:sStatus,sBilling:sBilling,sType:sType,sHoursEst:sHoursEst,sHoursSpent:sHoursSpent,sHoursBilled:sHoursBilled,susid:susid,sAdmin:sAdmin,sViewed:sViewed,sEmailed:sEmailed,sSubject:sSubject,sDetails:sDetails},succeededCallback,failedCallback,userContext); },
getStatistics:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getStatistics',false,{},succeededCallback,failedCallback,userContext); },
getCompaniesPage:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getCompaniesPage',false,{},succeededCallback,failedCallback,userContext); },
getCompanies:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getCompanies',false,{},succeededCallback,failedCallback,userContext); },
getCompanyRecord:function(sCOID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getCompanyRecord',false,{sCOID:sCOID},succeededCallback,failedCallback,userContext); },
saveCompany:function(sAction,sCOID,scoFullName,scoAddress,scoCity,scoCountry,scoPhone,scoFax,scoEmail,scoWeb,scoImage,scoType,scoLocation,scoPort,scoPortAir,scoPortSea,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'saveCompany',false,{sAction:sAction,sCOID:sCOID,scoFullName:scoFullName,scoAddress:scoAddress,scoCity:scoCity,scoCountry:scoCountry,scoPhone:scoPhone,scoFax:scoFax,scoEmail:scoEmail,scoWeb:scoWeb,scoImage:scoImage,scoType:scoType,scoLocation:scoLocation,scoPort:scoPort,scoPortAir:scoPortAir,scoPortSea:scoPortSea},succeededCallback,failedCallback,userContext); },
saveRate:function(sAction,sRATEID,sCOID,sCODEID,srateOrigin,srateDestination,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'saveRate',false,{sAction:sAction,sRATEID:sRATEID,sCOID:sCOID,sCODEID:sCODEID,srateOrigin:srateOrigin,srateDestination:srateDestination},succeededCallback,failedCallback,userContext); },
getUsersPage:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getUsersPage',false,{},succeededCallback,failedCallback,userContext); },
getUsers:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getUsers',false,{},succeededCallback,failedCallback,userContext); },
getUserRecord:function(sUSID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getUserRecord',false,{sUSID:sUSID},succeededCallback,failedCallback,userContext); },
getRatesPage:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getRatesPage',false,{},succeededCallback,failedCallback,userContext); },
getRates:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getRates',false,{},succeededCallback,failedCallback,userContext); },
getRateRecord:function(sRATEID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getRateRecord',false,{sRATEID:sRATEID},succeededCallback,failedCallback,userContext); },
getRateVisibilityPage:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getRateVisibilityPage',false,{},succeededCallback,failedCallback,userContext); },
getRateVisibility:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getRateVisibility',false,{},succeededCallback,failedCallback,userContext); },
getRequestSearchPage:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getRequestSearchPage',false,{},succeededCallback,failedCallback,userContext); },
getRequestSearch:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getRequestSearch',false,{},succeededCallback,failedCallback,userContext); },
getRequests:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getRequests',false,{},succeededCallback,failedCallback,userContext); },
getHistoryPage:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getHistoryPage',false,{},succeededCallback,failedCallback,userContext); },
getHistory:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getHistory',false,{},succeededCallback,failedCallback,userContext); },
getSpecialPage:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getSpecialPage',false,{},succeededCallback,failedCallback,userContext); },
getSpecial:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getSpecial',false,{},succeededCallback,failedCallback,userContext); },
getRequestDetails:function(sLOGID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getRequestDetails',false,{sLOGID:sLOGID},succeededCallback,failedCallback,userContext); },
getSpecialRate:function(sLOGID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getSpecialRate',false,{sLOGID:sLOGID},succeededCallback,failedCallback,userContext); },
setSpecial:function(sLOGID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setSpecial',false,{sLOGID:sLOGID},succeededCallback,failedCallback,userContext); },
getCTAllContainers:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getCTAllContainers',false,{},succeededCallback,failedCallback,userContext); },
getCTContainer:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getCTContainer',false,{},succeededCallback,failedCallback,userContext); },
setCTContainer:function(sID,sNumber,sSize,sOwner,sLocation,sStatus,sComments,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setCTContainer',false,{sID:sID,sNumber:sNumber,sSize:sSize,sOwner:sOwner,sLocation:sLocation,sStatus:sStatus,sComments:sComments},succeededCallback,failedCallback,userContext); },
getCTAllMovements:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getCTAllMovements',false,{},succeededCallback,failedCallback,userContext); },
getCTMovement:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getCTMovement',false,{},succeededCallback,failedCallback,userContext); },
getLocations:function(sDocID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getLocations',false,{sDocID:sDocID},succeededCallback,failedCallback,userContext); },
getStatus:function(sDocID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getStatus',false,{sDocID:sDocID},succeededCallback,failedCallback,userContext); },
getLocationContainers:function(sID,sDocID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getLocationContainers',false,{sID:sID,sDocID:sDocID},succeededCallback,failedCallback,userContext); },
setCTMovement:function(sID,sManifest,sVolume,sConsignees,sComments,sFromAgent,sToAgent,sDateDeparted,sDateArrival,sDateDespatched,sDateReceived,sDateEmptied,sContainers,sSeals,sPadsSent,sPadsReceived,sHessianSent,sHessianReceived,sTiesSent,sTiesReceived,sLocksSent,sLocksReceived,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setCTMovement',false,{sID:sID,sManifest:sManifest,sVolume:sVolume,sConsignees:sConsignees,sComments:sComments,sFromAgent:sFromAgent,sToAgent:sToAgent,sDateDeparted:sDateDeparted,sDateArrival:sDateArrival,sDateDespatched:sDateDespatched,sDateReceived:sDateReceived,sDateEmptied:sDateEmptied,sContainers:sContainers,sSeals:sSeals,sPadsSent:sPadsSent,sPadsReceived:sPadsReceived,sHessianSent:sHessianSent,sHessianReceived:sHessianReceived,sTiesSent:sTiesSent,sTiesReceived:sTiesReceived,sLocksSent:sLocksSent,sLocksReceived:sLocksReceived},succeededCallback,failedCallback,userContext); },
emptyContainer:function(iINID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'emptyContainer',false,{iINID:iINID},succeededCallback,failedCallback,userContext); },
addRequests:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'addRequests',false,{},succeededCallback,failedCallback,userContext); },
emailQuote:function(logid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'emailQuote',false,{logid:logid},succeededCallback,failedCallback,userContext); },
emailMessage:function(sSection,sTo,sCC,sBCC,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'emailMessage',false,{sSection:sSection,sTo:sTo,sCC:sCC,sBCC:sBCC},succeededCallback,failedCallback,userContext); },
setTab:function(sPage,sTab,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setTab',false,{sPage:sPage,sTab:sTab},succeededCallback,failedCallback,userContext); },
getTabData:function(sTab,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getTabData',false,{sTab:sTab},succeededCallback,failedCallback,userContext); },
checkStates:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'checkStates',false,{},succeededCallback,failedCallback,userContext); },
getfirstkbmsgid:function(mcategory,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getfirstkbmsgid',false,{mcategory:mcategory},succeededCallback,failedCallback,userContext); },
getkbdetails:function(msgid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getkbdetails',false,{msgid:msgid},succeededCallback,failedCallback,userContext); },
setKBcategory:function(category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setKBcategory',false,{category:category},succeededCallback,failedCallback,userContext); },
getkb:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getkb',false,{},succeededCallback,failedCallback,userContext); },
getnewsdetails:function(msgid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getnewsdetails',false,{msgid:msgid},succeededCallback,failedCallback,userContext); }}
Services.registerClass('Services',Sys.Net.WebServiceProxy);
Services._staticInstance = new Services();
Services.set_path = function(value) { Services._staticInstance.set_path(value); }
Services.get_path = function() { return Services._staticInstance.get_path(); }
Services.set_timeout = function(value) { Services._staticInstance.set_timeout(value); }
Services.get_timeout = function() { return Services._staticInstance.get_timeout(); }
Services.set_defaultUserContext = function(value) { Services._staticInstance.set_defaultUserContext(value); }
Services.get_defaultUserContext = function() { return Services._staticInstance.get_defaultUserContext(); }
Services.set_defaultSucceededCallback = function(value) { Services._staticInstance.set_defaultSucceededCallback(value); }
Services.get_defaultSucceededCallback = function() { return Services._staticInstance.get_defaultSucceededCallback(); }
Services.set_defaultFailedCallback = function(value) { Services._staticInstance.set_defaultFailedCallback(value); }
Services.get_defaultFailedCallback = function() { return Services._staticInstance.get_defaultFailedCallback(); }
Services.set_enableJsonp = function(value) { Services._staticInstance.set_enableJsonp(value); }
Services.get_enableJsonp = function() { return Services._staticInstance.get_enableJsonp(); }
Services.set_jsonpCallbackParameter = function(value) { Services._staticInstance.set_jsonpCallbackParameter(value); }
Services.get_jsonpCallbackParameter = function() { return Services._staticInstance.get_jsonpCallbackParameter(); }
Services.set_path("/go/services.asmx");
Services.setFilter= function(sFilter,sValue,onSuccess,onFailed,userContext) {Services._staticInstance.setFilter(sFilter,sValue,onSuccess,onFailed,userContext); }
Services.setFilterAll= function(sFilter,sPage,sValue,onSuccess,onFailed,userContext) {Services._staticInstance.setFilterAll(sFilter,sPage,sValue,onSuccess,onFailed,userContext); }
Services.setFilters= function(sFilters,sValues,onSuccess,onFailed,userContext) {Services._staticInstance.setFilters(sFilters,sValues,onSuccess,onFailed,userContext); }
Services.setFiltersAll= function(sFilters,sPage,sValues,onSuccess,onFailed,userContext) {Services._staticInstance.setFiltersAll(sFilters,sPage,sValues,onSuccess,onFailed,userContext); }
Services.getFilterAll= function(sPage,sFilter,onSuccess,onFailed,userContext) {Services._staticInstance.getFilterAll(sPage,sFilter,onSuccess,onFailed,userContext); }
Services.getPopup= function(sType,sSection,sParam1,sParam2,sParam3,sParam4,sParam5,sParam6,sParam7,sParam8,sParam9,sParam10,onSuccess,onFailed,userContext) {Services._staticInstance.getPopup(sType,sSection,sParam1,sParam2,sParam3,sParam4,sParam5,sParam6,sParam7,sParam8,sParam9,sParam10,onSuccess,onFailed,userContext); }
Services.showCal= function(showDate,sMonth,sYear,sResultFormat,bEnableAll,onSuccess,onFailed,userContext) {Services._staticInstance.showCal(showDate,sMonth,sYear,sResultFormat,bEnableAll,onSuccess,onFailed,userContext); }
Services.showLookup= function(sType,sField,sShow,sReturn,sWidth,onSuccess,onFailed,userContext) {Services._staticInstance.showLookup(sType,sField,sShow,sReturn,sWidth,onSuccess,onFailed,userContext); }
Services.sendEmail= function(sEFromName,sEFromEmail,sETo,sECC,sEBCC,sReplyToName,sReplyToEmail,sSubject,sBody,bHTML,sAttachName,sAttachType,b64,sAttachData,bAttachData,onSuccess,onFailed,userContext) {Services._staticInstance.sendEmail(sEFromName,sEFromEmail,sETo,sECC,sEBCC,sReplyToName,sReplyToEmail,sSubject,sBody,bHTML,sAttachName,sAttachType,b64,sAttachData,bAttachData,onSuccess,onFailed,userContext); }
Services.removeAttach= function(iNo,onSuccess,onFailed,userContext) {Services._staticInstance.removeAttach(iNo,onSuccess,onFailed,userContext); }
Services.getAttachList= function(onSuccess,onFailed,userContext) {Services._staticInstance.getAttachList(onSuccess,onFailed,userContext); }
Services.setnewscategory= function(category,onSuccess,onFailed,userContext) {Services._staticInstance.setnewscategory(category,onSuccess,onFailed,userContext); }
Services.getnews= function(onSuccess,onFailed,userContext) {Services._staticInstance.getnews(onSuccess,onFailed,userContext); }
Services.incKB= function(onSuccess,onFailed,userContext) {Services._staticInstance.incKB(onSuccess,onFailed,userContext); }
Services.incnews= function(onSuccess,onFailed,userContext) {Services._staticInstance.incnews(onSuccess,onFailed,userContext); }
Services.decKB= function(onSuccess,onFailed,userContext) {Services._staticInstance.decKB(onSuccess,onFailed,userContext); }
Services.decnews= function(onSuccess,onFailed,userContext) {Services._staticInstance.decnews(onSuccess,onFailed,userContext); }
Services.searchKB= function(query,onSuccess,onFailed,userContext) {Services._staticInstance.searchKB(query,onSuccess,onFailed,userContext); }
Services.searchnews= function(query,onSuccess,onFailed,userContext) {Services._staticInstance.searchnews(query,onSuccess,onFailed,userContext); }
Services.getnewsheadlines= function(onSuccess,onFailed,userContext) {Services._staticInstance.getnewsheadlines(onSuccess,onFailed,userContext); }
Services.setPassword= function(sOldPassword,sNewPassword,onSuccess,onFailed,userContext) {Services._staticInstance.setPassword(sOldPassword,sNewPassword,onSuccess,onFailed,userContext); }
Services.getMenud= function(onSuccess,onFailed,userContext) {Services._staticInstance.getMenud(onSuccess,onFailed,userContext); }
Services.runLogin= function(username,password,onSuccess,onFailed,userContext) {Services._staticInstance.runLogin(username,password,onSuccess,onFailed,userContext); }
Services.runLogout= function(onSuccess,onFailed,userContext) {Services._staticInstance.runLogout(onSuccess,onFailed,userContext); }
Services.showLogin= function(onSuccess,onFailed,userContext) {Services._staticInstance.showLogin(onSuccess,onFailed,userContext); }
Services.showLoginDetails= function(onSuccess,onFailed,userContext) {Services._staticInstance.showLoginDetails(onSuccess,onFailed,userContext); }
Services.runRequestCompanySearch= function(onSuccess,onFailed,userContext) {Services._staticInstance.runRequestCompanySearch(onSuccess,onFailed,userContext); }
Services.runRequestUserSearch= function(onSuccess,onFailed,userContext) {Services._staticInstance.runRequestUserSearch(onSuccess,onFailed,userContext); }
Services.runRequestAdminSearch= function(onSuccess,onFailed,userContext) {Services._staticInstance.runRequestAdminSearch(onSuccess,onFailed,userContext); }
Services.runFilterSearch= function(onSuccess,onFailed,userContext) {Services._staticInstance.runFilterSearch(onSuccess,onFailed,userContext); }
Services.runRequestDetails= function(onSuccess,onFailed,userContext) {Services._staticInstance.runRequestDetails(onSuccess,onFailed,userContext); }
Services.runJobList= function(onSuccess,onFailed,userContext) {Services._staticInstance.runJobList(onSuccess,onFailed,userContext); }
Services.runRedirect= function(sURL,onSuccess,onFailed,userContext) {Services._staticInstance.runRedirect(sURL,onSuccess,onFailed,userContext); }
Services.printPreviewFilters= function(onSuccess,onFailed,userContext) {Services._staticInstance.printPreviewFilters(onSuccess,onFailed,userContext); }
Services.runDetails= function(sType,id,onSuccess,onFailed,userContext) {Services._staticInstance.runDetails(sType,id,onSuccess,onFailed,userContext); }
Services.setRDPDetails= function(sUser,sServer,sPort,sWidth,sHeight,sFullScreen,onSuccess,onFailed,userContext) {Services._staticInstance.setRDPDetails(sUser,sServer,sPort,sWidth,sHeight,sFullScreen,onSuccess,onFailed,userContext); }
Services.getattachment= function(sID,sFileName,onSuccess,onFailed,userContext) {Services._staticInstance.getattachment(sID,sFileName,onSuccess,onFailed,userContext); }
Services.getFile= function(sID,sFileName,onSuccess,onFailed,userContext) {Services._staticInstance.getFile(sID,sFileName,onSuccess,onFailed,userContext); }
Services.addMessage= function(sSection,susid,sAdmin,sHead,sPriority,sStatus,sType,sStatusBill,sCategory,sAssign,sReferP,sReferE,sSubject,sDetails,onSuccess,onFailed,userContext) {Services._staticInstance.addMessage(sSection,susid,sAdmin,sHead,sPriority,sStatus,sType,sStatusBill,sCategory,sAssign,sReferP,sReferE,sSubject,sDetails,onSuccess,onFailed,userContext); }
Services.replyMessage= function(sSection,sUser,sAdmin,sHE,sHA,sSubject,sDetails,onSuccess,onFailed,userContext) {Services._staticInstance.replyMessage(sSection,sUser,sAdmin,sHE,sHA,sSubject,sDetails,onSuccess,onFailed,userContext); }
Services.delMessage= function(smsgid,sType,sParent,onSuccess,onFailed,userContext) {Services._staticInstance.delMessage(smsgid,sType,sParent,onSuccess,onFailed,userContext); }
Services.addMessageAll= function(sSection,sCompany,sName,sCreatedBy,sReferTo,sReferEmail,sAssigned,sPriority,sCategory,sStatus,sBilling,sType,sHoursEst,sHoursSpent,sHoursBilled,susid,sAdmin,sViewed,sEmailed,sSubject,sDetails,onSuccess,onFailed,userContext) {Services._staticInstance.addMessageAll(sSection,sCompany,sName,sCreatedBy,sReferTo,sReferEmail,sAssigned,sPriority,sCategory,sStatus,sBilling,sType,sHoursEst,sHoursSpent,sHoursBilled,susid,sAdmin,sViewed,sEmailed,sSubject,sDetails,onSuccess,onFailed,userContext); }
Services.editMessageMulti= function(sSection,sPriority,sStatus,sBilling,sType,sCategory,sAssigned,onSuccess,onFailed,userContext) {Services._staticInstance.editMessageMulti(sSection,sPriority,sStatus,sBilling,sType,sCategory,sAssigned,onSuccess,onFailed,userContext); }
Services.editMessage= function(sSection,sCompany,sName,sReferTo,sReferEmail,sAssigned,sPriority,sCategory,sStatus,sBilling,sType,sHoursEst,sHoursSpent,sHoursBilled,susid,sAdmin,sViewed,sEmailed,sSubject,sDetails,onSuccess,onFailed,userContext) {Services._staticInstance.editMessage(sSection,sCompany,sName,sReferTo,sReferEmail,sAssigned,sPriority,sCategory,sStatus,sBilling,sType,sHoursEst,sHoursSpent,sHoursBilled,susid,sAdmin,sViewed,sEmailed,sSubject,sDetails,onSuccess,onFailed,userContext); }
Services.getStatistics= function(onSuccess,onFailed,userContext) {Services._staticInstance.getStatistics(onSuccess,onFailed,userContext); }
Services.getCompaniesPage= function(onSuccess,onFailed,userContext) {Services._staticInstance.getCompaniesPage(onSuccess,onFailed,userContext); }
Services.getCompanies= function(onSuccess,onFailed,userContext) {Services._staticInstance.getCompanies(onSuccess,onFailed,userContext); }
Services.getCompanyRecord= function(sCOID,onSuccess,onFailed,userContext) {Services._staticInstance.getCompanyRecord(sCOID,onSuccess,onFailed,userContext); }
Services.saveCompany= function(sAction,sCOID,scoFullName,scoAddress,scoCity,scoCountry,scoPhone,scoFax,scoEmail,scoWeb,scoImage,scoType,scoLocation,scoPort,scoPortAir,scoPortSea,onSuccess,onFailed,userContext) {Services._staticInstance.saveCompany(sAction,sCOID,scoFullName,scoAddress,scoCity,scoCountry,scoPhone,scoFax,scoEmail,scoWeb,scoImage,scoType,scoLocation,scoPort,scoPortAir,scoPortSea,onSuccess,onFailed,userContext); }
Services.saveRate= function(sAction,sRATEID,sCOID,sCODEID,srateOrigin,srateDestination,onSuccess,onFailed,userContext) {Services._staticInstance.saveRate(sAction,sRATEID,sCOID,sCODEID,srateOrigin,srateDestination,onSuccess,onFailed,userContext); }
Services.getUsersPage= function(onSuccess,onFailed,userContext) {Services._staticInstance.getUsersPage(onSuccess,onFailed,userContext); }
Services.getUsers= function(onSuccess,onFailed,userContext) {Services._staticInstance.getUsers(onSuccess,onFailed,userContext); }
Services.getUserRecord= function(sUSID,onSuccess,onFailed,userContext) {Services._staticInstance.getUserRecord(sUSID,onSuccess,onFailed,userContext); }
Services.getRatesPage= function(onSuccess,onFailed,userContext) {Services._staticInstance.getRatesPage(onSuccess,onFailed,userContext); }
Services.getRates= function(onSuccess,onFailed,userContext) {Services._staticInstance.getRates(onSuccess,onFailed,userContext); }
Services.getRateRecord= function(sRATEID,onSuccess,onFailed,userContext) {Services._staticInstance.getRateRecord(sRATEID,onSuccess,onFailed,userContext); }
Services.getRateVisibilityPage= function(onSuccess,onFailed,userContext) {Services._staticInstance.getRateVisibilityPage(onSuccess,onFailed,userContext); }
Services.getRateVisibility= function(onSuccess,onFailed,userContext) {Services._staticInstance.getRateVisibility(onSuccess,onFailed,userContext); }
Services.getRequestSearchPage= function(onSuccess,onFailed,userContext) {Services._staticInstance.getRequestSearchPage(onSuccess,onFailed,userContext); }
Services.getRequestSearch= function(onSuccess,onFailed,userContext) {Services._staticInstance.getRequestSearch(onSuccess,onFailed,userContext); }
Services.getRequests= function(onSuccess,onFailed,userContext) {Services._staticInstance.getRequests(onSuccess,onFailed,userContext); }
Services.getHistoryPage= function(onSuccess,onFailed,userContext) {Services._staticInstance.getHistoryPage(onSuccess,onFailed,userContext); }
Services.getHistory= function(onSuccess,onFailed,userContext) {Services._staticInstance.getHistory(onSuccess,onFailed,userContext); }
Services.getSpecialPage= function(onSuccess,onFailed,userContext) {Services._staticInstance.getSpecialPage(onSuccess,onFailed,userContext); }
Services.getSpecial= function(onSuccess,onFailed,userContext) {Services._staticInstance.getSpecial(onSuccess,onFailed,userContext); }
Services.getRequestDetails= function(sLOGID,onSuccess,onFailed,userContext) {Services._staticInstance.getRequestDetails(sLOGID,onSuccess,onFailed,userContext); }
Services.getSpecialRate= function(sLOGID,onSuccess,onFailed,userContext) {Services._staticInstance.getSpecialRate(sLOGID,onSuccess,onFailed,userContext); }
Services.setSpecial= function(sLOGID,onSuccess,onFailed,userContext) {Services._staticInstance.setSpecial(sLOGID,onSuccess,onFailed,userContext); }
Services.getCTAllContainers= function(onSuccess,onFailed,userContext) {Services._staticInstance.getCTAllContainers(onSuccess,onFailed,userContext); }
Services.getCTContainer= function(onSuccess,onFailed,userContext) {Services._staticInstance.getCTContainer(onSuccess,onFailed,userContext); }
Services.setCTContainer= function(sID,sNumber,sSize,sOwner,sLocation,sStatus,sComments,onSuccess,onFailed,userContext) {Services._staticInstance.setCTContainer(sID,sNumber,sSize,sOwner,sLocation,sStatus,sComments,onSuccess,onFailed,userContext); }
Services.getCTAllMovements= function(onSuccess,onFailed,userContext) {Services._staticInstance.getCTAllMovements(onSuccess,onFailed,userContext); }
Services.getCTMovement= function(onSuccess,onFailed,userContext) {Services._staticInstance.getCTMovement(onSuccess,onFailed,userContext); }
Services.getLocations= function(sDocID,onSuccess,onFailed,userContext) {Services._staticInstance.getLocations(sDocID,onSuccess,onFailed,userContext); }
Services.getStatus= function(sDocID,onSuccess,onFailed,userContext) {Services._staticInstance.getStatus(sDocID,onSuccess,onFailed,userContext); }
Services.getLocationContainers= function(sID,sDocID,onSuccess,onFailed,userContext) {Services._staticInstance.getLocationContainers(sID,sDocID,onSuccess,onFailed,userContext); }
Services.setCTMovement= function(sID,sManifest,sVolume,sConsignees,sComments,sFromAgent,sToAgent,sDateDeparted,sDateArrival,sDateDespatched,sDateReceived,sDateEmptied,sContainers,sSeals,sPadsSent,sPadsReceived,sHessianSent,sHessianReceived,sTiesSent,sTiesReceived,sLocksSent,sLocksReceived,onSuccess,onFailed,userContext) {Services._staticInstance.setCTMovement(sID,sManifest,sVolume,sConsignees,sComments,sFromAgent,sToAgent,sDateDeparted,sDateArrival,sDateDespatched,sDateReceived,sDateEmptied,sContainers,sSeals,sPadsSent,sPadsReceived,sHessianSent,sHessianReceived,sTiesSent,sTiesReceived,sLocksSent,sLocksReceived,onSuccess,onFailed,userContext); }
Services.emptyContainer= function(iINID,onSuccess,onFailed,userContext) {Services._staticInstance.emptyContainer(iINID,onSuccess,onFailed,userContext); }
Services.addRequests= function(onSuccess,onFailed,userContext) {Services._staticInstance.addRequests(onSuccess,onFailed,userContext); }
Services.emailQuote= function(logid,onSuccess,onFailed,userContext) {Services._staticInstance.emailQuote(logid,onSuccess,onFailed,userContext); }
Services.emailMessage= function(sSection,sTo,sCC,sBCC,onSuccess,onFailed,userContext) {Services._staticInstance.emailMessage(sSection,sTo,sCC,sBCC,onSuccess,onFailed,userContext); }
Services.setTab= function(sPage,sTab,onSuccess,onFailed,userContext) {Services._staticInstance.setTab(sPage,sTab,onSuccess,onFailed,userContext); }
Services.getTabData= function(sTab,onSuccess,onFailed,userContext) {Services._staticInstance.getTabData(sTab,onSuccess,onFailed,userContext); }
Services.checkStates= function(onSuccess,onFailed,userContext) {Services._staticInstance.checkStates(onSuccess,onFailed,userContext); }
Services.getfirstkbmsgid= function(mcategory,onSuccess,onFailed,userContext) {Services._staticInstance.getfirstkbmsgid(mcategory,onSuccess,onFailed,userContext); }
Services.getkbdetails= function(msgid,onSuccess,onFailed,userContext) {Services._staticInstance.getkbdetails(msgid,onSuccess,onFailed,userContext); }
Services.setKBcategory= function(category,onSuccess,onFailed,userContext) {Services._staticInstance.setKBcategory(category,onSuccess,onFailed,userContext); }
Services.getkb= function(onSuccess,onFailed,userContext) {Services._staticInstance.getkb(onSuccess,onFailed,userContext); }
Services.getnewsdetails= function(msgid,onSuccess,onFailed,userContext) {Services._staticInstance.getnewsdetails(msgid,onSuccess,onFailed,userContext); }

