public String DownloadComputerAdjustmentFromFile() { try { DownloadController.ComputerAdjustmentDownloadDataSource(DataSourceType.File); return("OK"); } catch (Exception ex) { return(ex.ToString()); } }
public String DownloadComputerAdjustment() { try { // JobClient.Instance.PostJob(new Job("Accellos.Interfaces.NAV.Controllers.DownloadController", // new FunctionCall("ComputerAdjustmentDownload")) { InstanceId = CompanyConfig.InstanceId }); DownloadController.ComputerAdjustmentDownloadDataSource(DataSourceType.NAVWebService); return("OK"); } catch (Exception ex) { return(ex.ToString()); } }