Type.registerNamespace('AX.FM.RecordsService');
AX.FM.RecordsService.ResourceLoader=function() {
AX.FM.RecordsService.ResourceLoader.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AX.FM.RecordsService.ResourceLoader.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AX.FM.RecordsService.ResourceLoader._staticInstance.get_path();},
LoadFormContainer:function(tableName,formName,keyValue,tabIndex,qs,context,bReadonly,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadFormContainer',false,{tableName:tableName,formName:formName,keyValue:keyValue,tabIndex:tabIndex,qs:qs,context:context,bReadonly:bReadonly},succeededCallback,failedCallback,userContext); },
SaveFormData:function(tableName,formName,keyValue,qs,xmlData,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveFormData',false,{tableName:tableName,formName:formName,keyValue:keyValue,qs:qs,xmlData:xmlData},succeededCallback,failedCallback,userContext); },
LoadLookupDialog:function(ltable,lview,levidence,ldialog,dlgtype,activeType,filterData,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadLookupDialog',false,{ltable:ltable,lview:lview,levidence:levidence,ldialog:ldialog,dlgtype:dlgtype,activeType:activeType,filterData:filterData},succeededCallback,failedCallback,userContext); },
Run:function(workflowKey,workflowName,wfparams,direction,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Run',false,{workflowKey:workflowKey,workflowName:workflowName,wfparams:wfparams,direction:direction},succeededCallback,failedCallback,userContext); },
SaveAndRun:function(workflowKey,workflowName,wfparams,direction,xmlData,tabIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveAndRun',false,{workflowKey:workflowKey,workflowName:workflowName,wfparams:wfparams,direction:direction,xmlData:xmlData,tabIndex:tabIndex},succeededCallback,failedCallback,userContext); },
Profile_LoadContainer:function(profile,group,handleByGroup,windowID,qs,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Profile_LoadContainer',false,{profile:profile,group:group,handleByGroup:handleByGroup,windowID:windowID,qs:qs},succeededCallback,failedCallback,userContext); },
Profile_LoadControl:function(profile,group,folder,bSession,qs,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Profile_LoadControl',false,{profile:profile,group:group,folder:folder,bSession:bSession,qs:qs},succeededCallback,failedCallback,userContext); },
Profile_GetCount:function(profile,group,folder,qs,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Profile_GetCount',false,{profile:profile,group:group,folder:folder,qs:qs},succeededCallback,failedCallback,userContext); },
Lookup_GetHandler:function(le,handlerType,qs,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Lookup_GetHandler',false,{le:le,handlerType:handlerType,qs:qs},succeededCallback,failedCallback,userContext); }}
AX.FM.RecordsService.ResourceLoader.registerClass('AX.FM.RecordsService.ResourceLoader',Sys.Net.WebServiceProxy);
AX.FM.RecordsService.ResourceLoader._staticInstance = new AX.FM.RecordsService.ResourceLoader();
AX.FM.RecordsService.ResourceLoader.set_path = function(value) { AX.FM.RecordsService.ResourceLoader._staticInstance.set_path(value); }
AX.FM.RecordsService.ResourceLoader.get_path = function() { return AX.FM.RecordsService.ResourceLoader._staticInstance.get_path(); }
AX.FM.RecordsService.ResourceLoader.set_timeout = function(value) { AX.FM.RecordsService.ResourceLoader._staticInstance.set_timeout(value); }
AX.FM.RecordsService.ResourceLoader.get_timeout = function() { return AX.FM.RecordsService.ResourceLoader._staticInstance.get_timeout(); }
AX.FM.RecordsService.ResourceLoader.set_defaultUserContext = function(value) { AX.FM.RecordsService.ResourceLoader._staticInstance.set_defaultUserContext(value); }
AX.FM.RecordsService.ResourceLoader.get_defaultUserContext = function() { return AX.FM.RecordsService.ResourceLoader._staticInstance.get_defaultUserContext(); }
AX.FM.RecordsService.ResourceLoader.set_defaultSucceededCallback = function(value) { AX.FM.RecordsService.ResourceLoader._staticInstance.set_defaultSucceededCallback(value); }
AX.FM.RecordsService.ResourceLoader.get_defaultSucceededCallback = function() { return AX.FM.RecordsService.ResourceLoader._staticInstance.get_defaultSucceededCallback(); }
AX.FM.RecordsService.ResourceLoader.set_defaultFailedCallback = function(value) { AX.FM.RecordsService.ResourceLoader._staticInstance.set_defaultFailedCallback(value); }
AX.FM.RecordsService.ResourceLoader.get_defaultFailedCallback = function() { return AX.FM.RecordsService.ResourceLoader._staticInstance.get_defaultFailedCallback(); }
AX.FM.RecordsService.ResourceLoader.set_path("/ASP.Net/Resources/FM/RecordsService/ResourceLoader.asmx");
AX.FM.RecordsService.ResourceLoader.LoadFormContainer= function(tableName,formName,keyValue,tabIndex,qs,context,bReadonly,onSuccess,onFailed,userContext) {AX.FM.RecordsService.ResourceLoader._staticInstance.LoadFormContainer(tableName,formName,keyValue,tabIndex,qs,context,bReadonly,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.ResourceLoader.SaveFormData= function(tableName,formName,keyValue,qs,xmlData,onSuccess,onFailed,userContext) {AX.FM.RecordsService.ResourceLoader._staticInstance.SaveFormData(tableName,formName,keyValue,qs,xmlData,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.ResourceLoader.LoadLookupDialog= function(ltable,lview,levidence,ldialog,dlgtype,activeType,filterData,onSuccess,onFailed,userContext) {AX.FM.RecordsService.ResourceLoader._staticInstance.LoadLookupDialog(ltable,lview,levidence,ldialog,dlgtype,activeType,filterData,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.ResourceLoader.Run= function(workflowKey,workflowName,wfparams,direction,onSuccess,onFailed,userContext) {AX.FM.RecordsService.ResourceLoader._staticInstance.Run(workflowKey,workflowName,wfparams,direction,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.ResourceLoader.SaveAndRun= function(workflowKey,workflowName,wfparams,direction,xmlData,tabIndex,onSuccess,onFailed,userContext) {AX.FM.RecordsService.ResourceLoader._staticInstance.SaveAndRun(workflowKey,workflowName,wfparams,direction,xmlData,tabIndex,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.ResourceLoader.Profile_LoadContainer= function(profile,group,handleByGroup,windowID,qs,onSuccess,onFailed,userContext) {AX.FM.RecordsService.ResourceLoader._staticInstance.Profile_LoadContainer(profile,group,handleByGroup,windowID,qs,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.ResourceLoader.Profile_LoadControl= function(profile,group,folder,bSession,qs,onSuccess,onFailed,userContext) {AX.FM.RecordsService.ResourceLoader._staticInstance.Profile_LoadControl(profile,group,folder,bSession,qs,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.ResourceLoader.Profile_GetCount= function(profile,group,folder,qs,onSuccess,onFailed,userContext) {AX.FM.RecordsService.ResourceLoader._staticInstance.Profile_GetCount(profile,group,folder,qs,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.ResourceLoader.Lookup_GetHandler= function(le,handlerType,qs,onSuccess,onFailed,userContext) {AX.FM.RecordsService.ResourceLoader._staticInstance.Lookup_GetHandler(le,handlerType,qs,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('AX.FM.DataViewer.UI');
if (typeof(AX.FM.DataViewer.UI.HtmlWindowContent) === 'undefined') {
AX.FM.DataViewer.UI.HtmlWindowContent=gtc("AX.FM.DataViewer.UI.HtmlWindowContent");
AX.FM.DataViewer.UI.HtmlWindowContent.registerClass('AX.FM.DataViewer.UI.HtmlWindowContent');
}
Type.registerNamespace('AX.FM.DataViewer.Workflow');
if (typeof(AX.FM.DataViewer.Workflow.WorkflowResult) === 'undefined') {
AX.FM.DataViewer.Workflow.WorkflowResult=gtc("AX.FM.DataViewer.Workflow.WorkflowResult");
AX.FM.DataViewer.Workflow.WorkflowResult.registerClass('AX.FM.DataViewer.Workflow.WorkflowResult');
}
Type.registerNamespace('AX.FM.DataViewer.Lookup');
if (typeof(AX.FM.DataViewer.Lookup.RecordHandler) === 'undefined') {
AX.FM.DataViewer.Lookup.RecordHandler=gtc("AX.FM.DataViewer.Lookup.RecordHandler");
AX.FM.DataViewer.Lookup.RecordHandler.registerClass('AX.FM.DataViewer.Lookup.RecordHandler');
}

