private void ProcessReport()
        {
            string serverName = Constants.SsasServerName;
            var    processor  = new AdomdProcessor(serverName);

            processor.ProcessCommand(@"{
  ""refresh"": {
    ""type"": ""full"",
    ""objects"": [
      {
        ""database"": ""ApPayments""
      }
    ]
  }
}");

            new Xafology.ExpressApp.SystemModule.GenericMessageBox(
                "Process Report Successful",
                "Process Report Successful"
                );
        }
        private void ReportAction_Execute(object sender, SimpleActionExecuteEventArgs e)
        {
            string serverName = Constants.SsasServerName;
            var    processor  = new AdomdProcessor(serverName);

            processor.ProcessCommand(@"{
  ""refresh"": {
    ""type"": ""full"",
    ""objects"": [
      {
        ""database"": ""ArOpenInvoices""
      }
    ]
  }
}");

            new Xafology.ExpressApp.SystemModule.GenericMessageBox(
                "Process Report Successful",
                "Process Report Successful"
                );
        }