Type.registerNamespace('Cylinda.CMS.Services');
Cylinda.CMS.Services.ScriptService=function() {
Cylinda.CMS.Services.ScriptService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Cylinda.CMS.Services.ScriptService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Cylinda.CMS.Services.ScriptService._staticInstance.get_path();},
ArtikelSok:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ArtikelSok',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
ArtikelnummerSok:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ArtikelnummerSok',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
ArtikelbenamningSok:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ArtikelbenamningSok',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
PrisSaldoFraga:function(artikelnummer,antal,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PrisSaldoFraga',false,{artikelnummer:artikelnummer,antal:antal},succeededCallback,failedCallback,userContext); },
LaggArtikelIKundvagn:function(artikelnummer,antal,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LaggArtikelIKundvagn',false,{artikelnummer:artikelnummer,antal:antal},succeededCallback,failedCallback,userContext); },
HamtaAktuellKundvagn:function(forkortaOrd,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HamtaAktuellKundvagn',false,{forkortaOrd:forkortaOrd},succeededCallback,failedCallback,userContext); },
LaggArtiklarIKundvagn:function(artnrantalRader,kontrolleraLagersaldo,avbrytKopVidRestadEllerSlutPaLager,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LaggArtiklarIKundvagn',false,{artnrantalRader:artnrantalRader,kontrolleraLagersaldo:kontrolleraLagersaldo,avbrytKopVidRestadEllerSlutPaLager:avbrytKopVidRestadEllerSlutPaLager},succeededCallback,failedCallback,userContext); },
KundvagnHamtaAntalProdukter:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'KundvagnHamtaAntalProdukter',false,{},succeededCallback,failedCallback,userContext); },
TomAktuellKundvagn:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TomAktuellKundvagn',false,{},succeededCallback,failedCallback,userContext); },
KontrolleraEjLaddadKundvagn:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'KontrolleraEjLaddadKundvagn',false,{},succeededCallback,failedCallback,userContext); },
HanteraEjLaddadKundvagn:function(ladda,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HanteraEjLaddadKundvagn',false,{ladda:ladda},succeededCallback,failedCallback,userContext); },
ArtikelHamtaFlera:function(produktid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ArtikelHamtaFlera',false,{produktid:produktid},succeededCallback,failedCallback,userContext); },
KundvagnDelleverera:function(kundvagnId,radnummer,restSaldo,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'KundvagnDelleverera',false,{kundvagnId:kundvagnId,radnummer:radnummer,restSaldo:restSaldo},succeededCallback,failedCallback,userContext); },
KundvagnTaBortRad:function(kundvagnId,radnummer,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'KundvagnTaBortRad',false,{kundvagnId:kundvagnId,radnummer:radnummer},succeededCallback,failedCallback,userContext); },
LeveransuppgiftValj:function(typ,id,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LeveransuppgiftValj',false,{typ:typ,id:id},succeededCallback,failedCallback,userContext); }}
Cylinda.CMS.Services.ScriptService.registerClass('Cylinda.CMS.Services.ScriptService',Sys.Net.WebServiceProxy);
Cylinda.CMS.Services.ScriptService._staticInstance = new Cylinda.CMS.Services.ScriptService();
Cylinda.CMS.Services.ScriptService.set_path = function(value) { Cylinda.CMS.Services.ScriptService._staticInstance.set_path(value); }
Cylinda.CMS.Services.ScriptService.get_path = function() { return Cylinda.CMS.Services.ScriptService._staticInstance.get_path(); }
Cylinda.CMS.Services.ScriptService.set_timeout = function(value) { Cylinda.CMS.Services.ScriptService._staticInstance.set_timeout(value); }
Cylinda.CMS.Services.ScriptService.get_timeout = function() { return Cylinda.CMS.Services.ScriptService._staticInstance.get_timeout(); }
Cylinda.CMS.Services.ScriptService.set_defaultUserContext = function(value) { Cylinda.CMS.Services.ScriptService._staticInstance.set_defaultUserContext(value); }
Cylinda.CMS.Services.ScriptService.get_defaultUserContext = function() { return Cylinda.CMS.Services.ScriptService._staticInstance.get_defaultUserContext(); }
Cylinda.CMS.Services.ScriptService.set_defaultSucceededCallback = function(value) { Cylinda.CMS.Services.ScriptService._staticInstance.set_defaultSucceededCallback(value); }
Cylinda.CMS.Services.ScriptService.get_defaultSucceededCallback = function() { return Cylinda.CMS.Services.ScriptService._staticInstance.get_defaultSucceededCallback(); }
Cylinda.CMS.Services.ScriptService.set_defaultFailedCallback = function(value) { Cylinda.CMS.Services.ScriptService._staticInstance.set_defaultFailedCallback(value); }
Cylinda.CMS.Services.ScriptService.get_defaultFailedCallback = function() { return Cylinda.CMS.Services.ScriptService._staticInstance.get_defaultFailedCallback(); }
Cylinda.CMS.Services.ScriptService.set_path("/Services/ScriptService.asmx");
Cylinda.CMS.Services.ScriptService.ArtikelSok= function(prefixText,count,onSuccess,onFailed,userContext) {Cylinda.CMS.Services.ScriptService._staticInstance.ArtikelSok(prefixText,count,onSuccess,onFailed,userContext); }
Cylinda.CMS.Services.ScriptService.ArtikelnummerSok= function(prefixText,count,onSuccess,onFailed,userContext) {Cylinda.CMS.Services.ScriptService._staticInstance.ArtikelnummerSok(prefixText,count,onSuccess,onFailed,userContext); }
Cylinda.CMS.Services.ScriptService.ArtikelbenamningSok= function(prefixText,count,onSuccess,onFailed,userContext) {Cylinda.CMS.Services.ScriptService._staticInstance.ArtikelbenamningSok(prefixText,count,onSuccess,onFailed,userContext); }
Cylinda.CMS.Services.ScriptService.PrisSaldoFraga= function(artikelnummer,antal,onSuccess,onFailed,userContext) {Cylinda.CMS.Services.ScriptService._staticInstance.PrisSaldoFraga(artikelnummer,antal,onSuccess,onFailed,userContext); }
Cylinda.CMS.Services.ScriptService.LaggArtikelIKundvagn= function(artikelnummer,antal,onSuccess,onFailed,userContext) {Cylinda.CMS.Services.ScriptService._staticInstance.LaggArtikelIKundvagn(artikelnummer,antal,onSuccess,onFailed,userContext); }
Cylinda.CMS.Services.ScriptService.HamtaAktuellKundvagn= function(forkortaOrd,onSuccess,onFailed,userContext) {Cylinda.CMS.Services.ScriptService._staticInstance.HamtaAktuellKundvagn(forkortaOrd,onSuccess,onFailed,userContext); }
Cylinda.CMS.Services.ScriptService.LaggArtiklarIKundvagn= function(artnrantalRader,kontrolleraLagersaldo,avbrytKopVidRestadEllerSlutPaLager,onSuccess,onFailed,userContext) {Cylinda.CMS.Services.ScriptService._staticInstance.LaggArtiklarIKundvagn(artnrantalRader,kontrolleraLagersaldo,avbrytKopVidRestadEllerSlutPaLager,onSuccess,onFailed,userContext); }
Cylinda.CMS.Services.ScriptService.KundvagnHamtaAntalProdukter= function(onSuccess,onFailed,userContext) {Cylinda.CMS.Services.ScriptService._staticInstance.KundvagnHamtaAntalProdukter(onSuccess,onFailed,userContext); }
Cylinda.CMS.Services.ScriptService.TomAktuellKundvagn= function(onSuccess,onFailed,userContext) {Cylinda.CMS.Services.ScriptService._staticInstance.TomAktuellKundvagn(onSuccess,onFailed,userContext); }
Cylinda.CMS.Services.ScriptService.KontrolleraEjLaddadKundvagn= function(onSuccess,onFailed,userContext) {Cylinda.CMS.Services.ScriptService._staticInstance.KontrolleraEjLaddadKundvagn(onSuccess,onFailed,userContext); }
Cylinda.CMS.Services.ScriptService.HanteraEjLaddadKundvagn= function(ladda,onSuccess,onFailed,userContext) {Cylinda.CMS.Services.ScriptService._staticInstance.HanteraEjLaddadKundvagn(ladda,onSuccess,onFailed,userContext); }
Cylinda.CMS.Services.ScriptService.ArtikelHamtaFlera= function(produktid,onSuccess,onFailed,userContext) {Cylinda.CMS.Services.ScriptService._staticInstance.ArtikelHamtaFlera(produktid,onSuccess,onFailed,userContext); }
Cylinda.CMS.Services.ScriptService.KundvagnDelleverera= function(kundvagnId,radnummer,restSaldo,onSuccess,onFailed,userContext) {Cylinda.CMS.Services.ScriptService._staticInstance.KundvagnDelleverera(kundvagnId,radnummer,restSaldo,onSuccess,onFailed,userContext); }
Cylinda.CMS.Services.ScriptService.KundvagnTaBortRad= function(kundvagnId,radnummer,onSuccess,onFailed,userContext) {Cylinda.CMS.Services.ScriptService._staticInstance.KundvagnTaBortRad(kundvagnId,radnummer,onSuccess,onFailed,userContext); }
Cylinda.CMS.Services.ScriptService.LeveransuppgiftValj= function(typ,id,onSuccess,onFailed,userContext) {Cylinda.CMS.Services.ScriptService._staticInstance.LeveransuppgiftValj(typ,id,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Cylinda.CMS.Services.DialogResult) === 'undefined') {
Cylinda.CMS.Services.DialogResult=gtc("Cylinda.CMS.Services.DialogResult");
Cylinda.CMS.Services.DialogResult.registerClass('Cylinda.CMS.Services.DialogResult');
}
Type.registerNamespace('Cylinda');
if (typeof(Cylinda.KundvagnResultatKlientDto) === 'undefined') {
Cylinda.KundvagnResultatKlientDto=gtc("Cylinda.KundvagnResultatKlientDto");
Cylinda.KundvagnResultatKlientDto.registerClass('Cylinda.KundvagnResultatKlientDto');
}
Type.registerNamespace('Cylinda.Webb.Dto');
if (typeof(Cylinda.Webb.Dto.KundvagnResultatDto) === 'undefined') {
Cylinda.Webb.Dto.KundvagnResultatDto=gtc("Cylinda.Webb.Dto.KundvagnResultatDto");
Cylinda.Webb.Dto.KundvagnResultatDto.registerClass('Cylinda.Webb.Dto.KundvagnResultatDto');
}
