Type.registerNamespace('AX.FM.RecordsService');
AX.FM.RecordsService.GridXDataHandler=function() {
AX.FM.RecordsService.GridXDataHandler.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AX.FM.RecordsService.GridXDataHandler.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AX.FM.RecordsService.GridXDataHandler._staticInstance.get_path();},
Reload:function(gridClientID,gridXmlString,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Reload',false,{gridClientID:gridClientID,gridXmlString:gridXmlString},succeededCallback,failedCallback,userContext); },
Refresh:function(gridXmlString,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Refresh',false,{gridXmlString:gridXmlString},succeededCallback,failedCallback,userContext); },
LoadSubGroupsOrRecords:function(gridXmlString,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadSubGroupsOrRecords',false,{gridXmlString:gridXmlString},succeededCallback,failedCallback,userContext); },
LoadMasterDetail:function(parentTable,parentView,parentKeyValue,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadMasterDetail',false,{parentTable:parentTable,parentView:parentView,parentKeyValue:parentKeyValue},succeededCallback,failedCallback,userContext); },
LoadRecordPreview:function(tableName,viewName,keyValue,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadRecordPreview',false,{tableName:tableName,viewName:viewName,keyValue:keyValue},succeededCallback,failedCallback,userContext); },
ExecCommand:function(gridXmlString,command,recordIDs,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ExecCommand',false,{gridXmlString:gridXmlString,command:command,recordIDs:recordIDs},succeededCallback,failedCallback,userContext); },
SGrid_LoadHtml:function(mode,formEvidence,fieldName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SGrid_LoadHtml',false,{mode:mode,formEvidence:formEvidence,fieldName:fieldName},succeededCallback,failedCallback,userContext); },
GetLookupHandler:function(lookupEvidence,handlerType,qs,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLookupHandler',false,{lookupEvidence:lookupEvidence,handlerType:handlerType,qs:qs},succeededCallback,failedCallback,userContext); }}
AX.FM.RecordsService.GridXDataHandler.registerClass('AX.FM.RecordsService.GridXDataHandler',Sys.Net.WebServiceProxy);
AX.FM.RecordsService.GridXDataHandler._staticInstance = new AX.FM.RecordsService.GridXDataHandler();
AX.FM.RecordsService.GridXDataHandler.set_path = function(value) { AX.FM.RecordsService.GridXDataHandler._staticInstance.set_path(value); }
AX.FM.RecordsService.GridXDataHandler.get_path = function() { return AX.FM.RecordsService.GridXDataHandler._staticInstance.get_path(); }
AX.FM.RecordsService.GridXDataHandler.set_timeout = function(value) { AX.FM.RecordsService.GridXDataHandler._staticInstance.set_timeout(value); }
AX.FM.RecordsService.GridXDataHandler.get_timeout = function() { return AX.FM.RecordsService.GridXDataHandler._staticInstance.get_timeout(); }
AX.FM.RecordsService.GridXDataHandler.set_defaultUserContext = function(value) { AX.FM.RecordsService.GridXDataHandler._staticInstance.set_defaultUserContext(value); }
AX.FM.RecordsService.GridXDataHandler.get_defaultUserContext = function() { return AX.FM.RecordsService.GridXDataHandler._staticInstance.get_defaultUserContext(); }
AX.FM.RecordsService.GridXDataHandler.set_defaultSucceededCallback = function(value) { AX.FM.RecordsService.GridXDataHandler._staticInstance.set_defaultSucceededCallback(value); }
AX.FM.RecordsService.GridXDataHandler.get_defaultSucceededCallback = function() { return AX.FM.RecordsService.GridXDataHandler._staticInstance.get_defaultSucceededCallback(); }
AX.FM.RecordsService.GridXDataHandler.set_defaultFailedCallback = function(value) { AX.FM.RecordsService.GridXDataHandler._staticInstance.set_defaultFailedCallback(value); }
AX.FM.RecordsService.GridXDataHandler.get_defaultFailedCallback = function() { return AX.FM.RecordsService.GridXDataHandler._staticInstance.get_defaultFailedCallback(); }
AX.FM.RecordsService.GridXDataHandler.set_path("/ASP.Net/Resources/FM/RecordsService/GridXDataHandler.asmx");
AX.FM.RecordsService.GridXDataHandler.Reload= function(gridClientID,gridXmlString,onSuccess,onFailed,userContext) {AX.FM.RecordsService.GridXDataHandler._staticInstance.Reload(gridClientID,gridXmlString,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.GridXDataHandler.Refresh= function(gridXmlString,onSuccess,onFailed,userContext) {AX.FM.RecordsService.GridXDataHandler._staticInstance.Refresh(gridXmlString,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.GridXDataHandler.LoadSubGroupsOrRecords= function(gridXmlString,onSuccess,onFailed,userContext) {AX.FM.RecordsService.GridXDataHandler._staticInstance.LoadSubGroupsOrRecords(gridXmlString,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.GridXDataHandler.LoadMasterDetail= function(parentTable,parentView,parentKeyValue,onSuccess,onFailed,userContext) {AX.FM.RecordsService.GridXDataHandler._staticInstance.LoadMasterDetail(parentTable,parentView,parentKeyValue,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.GridXDataHandler.LoadRecordPreview= function(tableName,viewName,keyValue,onSuccess,onFailed,userContext) {AX.FM.RecordsService.GridXDataHandler._staticInstance.LoadRecordPreview(tableName,viewName,keyValue,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.GridXDataHandler.ExecCommand= function(gridXmlString,command,recordIDs,onSuccess,onFailed,userContext) {AX.FM.RecordsService.GridXDataHandler._staticInstance.ExecCommand(gridXmlString,command,recordIDs,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.GridXDataHandler.SGrid_LoadHtml= function(mode,formEvidence,fieldName,onSuccess,onFailed,userContext) {AX.FM.RecordsService.GridXDataHandler._staticInstance.SGrid_LoadHtml(mode,formEvidence,fieldName,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.GridXDataHandler.GetLookupHandler= function(lookupEvidence,handlerType,qs,onSuccess,onFailed,userContext) {AX.FM.RecordsService.GridXDataHandler._staticInstance.GetLookupHandler(lookupEvidence,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.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');
}
