//if the user has 1 or more items that are marked as needing an update
        private void SetUpdateWarning()
        {
            DataTable updatesRequired = ReportHelper.FillUpdateRequired(arr[2]);

            if (updatesRequired.Rows.Count > 0)
            {
                UpdateReq.Visibility = Visibility.Visible;
            }
            else
            {
                UpdateReq.Visibility = Visibility.Collapsed;
            }
        }
        private void UpdateReq_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                //On Edit Button click, pulls the data from that row of the datagrid, and stores it as a DataRowView object
                DataTable updatesRequired = ReportHelper.FillUpdateRequired(arr[2]);
                DataView  viewAging       = updatesRequired.DefaultView;
                reportRow = viewAging[0];
                List <int> IDArray = Helper.FillIDList(ReportHelper.OwnerUpdatesReq(arr[2]));

                // this PrioritizeBySystemPage, is being passed so it can be updated
                //priorBySystemRow is a DataRowView object containing the data from that row of PBS datagrid
                EditRecord editRecord = new EditRecord(arr, reportRow, IDArray);
                editRecord.Show();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message.ToString());
            }
        }