Inspection Management Upgrade

Upgrade Inspection Management

The following tables outline the steps that you must complete to upgrade this module to the latest version. These instructions assume that you have completed the steps for upgrading the basic APM system architecture.

These tasks may be completed by multiple people in your organization. We recommend, however, that the tasks be completed in the order in which they are listed.

StepTaskNotes
1Revert the following query to baseline to view the inspections in the Integrity mobile app:
  • Public\Meridium\Modules\Inspection\Overview Queries\Open Inspection Recommendations for Unit (State Management)
This step is required only if you have previously modified the queries.
2Revert the following query to baseline to optimize the performance of the NR-13 report:
  • Public\Meridium\Modules\Inspection\Report Queries\MI_TASKINSP
This step is required only if you have previously modified the query.
3Revert the following query to baseline to optimize the performance of the All Tasks page in the Integrity Mobile app:
  • Public\Meridium\Modules\Inspection\Overview Queries\All Tasks for Date Range
This step is required only if you have previously modified the query.
4Revert the following query to baseline to view more information in the Manage Deferral page:
  • Public\Meridium\Modules\Deferral\Queries\Deferrals for Asset
This step is required only if you have previously modified the query.

Remove Offline Option for Related Families of Checklist Inspection Template

About This Task

To load Inspections taken in the Checklist Inspection Template family into the Integrity Mobile app, the Offline option for the configured related families must be disabled.

Procedure

  1. Log in to APM as an Inspection Administrator.
  2. In the module navigation menu, select Admin > Application Settings > Inspection Management.
  3. Select .
  4. Select Event Configurations.
  5. In the Checklist Inspection Template row, select the link in the Related Families column.
  6. For the General Findings, Bundle Sub-Inspection, and Pressure Test Sub-Inspection families, clear the check box in the Offline column.
  7. Select Done.
  8. Select .

Revert Inspection Management Queries to Baseline

This action is required only if you have modified the Inspection Management queries.

About This Task

If you have modified the Inspection Management query, perform the steps to revert the query to baseline.

Procedure

  1. Access the Catalog page.
  2. Navigate to the Public folder for the query that you want to revert.
    The queries are stored in specific sub-folders within the Public/Meridium/Modules/Inspection/ folder.
  3. Select the check box next to the query that you want to revert, and then select .
    The Confirm Delete window appears, asking you to confirm if you want to delete the selected query.
  4. Select OK.
    The selected query is deleted.
  5. Navigate to the Baseline folder for queries.
    The baseline queries are stored in specific sub-folders within the Baseline/Meridium/Modules/Inspection/ folder.
  6. Select the check box next to the query that you want to revert, and then select .
    The Catalog Folder Browser window appears.
  7. Navigate to the folder containing the public query that you deleted in step 3.
  8. Select OK.
    A success message appears indicating that the selected Item has been copied successfully.
  9. Repeat Steps 2-8 for each query that you want to revert to baseline.

Inspection Datasheets - Revert to Baseline

About This Task

The default datasheets on Inspection families supported for Integrity Mobile have been updated to include fields to track download information:
FamilyFamily IDDatasheet Updated (Default)
Full InspectionMI_INSPFULLFull Visual Inspection
General InspectionMI_INSP_GENGeneral Inspection - Default
API 510 External ChecklistMI_API510EXT_CHECKAPI 510 External Checklist - Default
API 510 Internal ChecklistMI_API510INT_CHECKAPI 510 Internal Checklist - Default
API 510 Internal Exchanger ChecklistMI_API510IEX_CHECKAPI 510 Internal Exchanger Checklist - Default
API 570 External ChecklistMI_API570EXT_CHECKAPI 570 External Checklist - Default
API 653 External ChecklistMI_API653EXT_CHECKAPI 653 External Checklist – Default
API 653 Internal ChecklistMI_API653INT_CHECKAPI 653 Internal Checklist - Default
External PRD ChecklistMI_EXTNL_PRD_CHECKExternal PRD Checklist
PRD Pop Test ChecklistMI_PRD_PT_CHECKPRD Pop Test Checklist
Checklist Inspection TemplateMI_GEN_INSP_TMPChecklist Inspection Template
If you have customized the default datasheet for any of these families and want to see the download data for Integrity Mobile, you must perform one of the following tasks:
  • Using Family Management, edit the default datasheet of each family. Add a new section, Download Information with the following fields:
    • Downloaded
    • Last Downloaded By
    • Last Downloaded Date
    • Last Synced Back By
    • Last Synced Date
  • Run Revert to Baseline for each family.
Important: Running this utility overwrites your current datasheet and replaces it with the baseline version. You must be a super user in APM to run the Revert to Baseline utility.

Procedure

  1. Log in to the server where APM is installed.
  2. Navigate to <Installation Directory>\Meridium\Upgrade\DBUpgrade.
  3. Run the RevertToBaselineApp.exe file as administrator.
    The Revert To Baseline Login window appears.

  4. In the Meridium Data Source box, enter the data source name that you want to access.
  5. Enter your login credentials, and then select Next.
    The available families that can be reverted to baseline appear.
  6. Select the Inspection family that you want to update, and then select Revert to Baseline.
    The Various Options For Revert window appears.

  7. Select Datasheets.
    Select the Default Datasheet from the drop-down, and then select Ok.
  8. Repeat steps 6-7 for each Inspection Family.

Update the Query Parameter Type

After the database upgrade for APM, if the entity key fields are of the type string, you must modify the catalog query parameters to use the correct type by performing the following steps.

Procedure

  1. Access the Query page.
  2. Select Browse.
    The Select a query from the catalog window appears.
  3. Navigate to the folder containing the query that you want to update, and select the link for the query.
    The Results workspace appears.
  4. Select the SQL tab.
    The SQL workspace appears, where you can modify the SQL code.
  5. Modify all the entity key numeric parameters to key.
    For example, (? :n) must be updated to (? :k).
  6. Select Save.
    The modified query is saved.

Inspection Management Security Groups and Roles

The following table lists the baseline Security Groups available for users within this module, as well as the baseline Roles to which those Security Groups are assigned. In Cloud APM, Roles are assigned to Security Users through permission sets.

Important: Assigning a Security User to a Role grants that user the privileges associated with all of the Security Groups that are assigned to that Role. To avoid granting a Security User unintended privileges, before assigning a Security User to a Role, be sure to review all of the privileges associated with the Security Groups assigned to that Role.
Security GroupRoles
MI Inspection

MI Mechanical Integrity Administrator

MI Mechanical Integrity Power

MI Mechanical Integrity User

MI Inspection Viewer

MI APM Viewer

MI Mechanical Integrity Viewer

The following roles can be assigned to a group or user:
  • Inspector
  • Inspection Supervisor
  • SC Recommendations Implementer
  • SC Recommendations Reviewer

These roles are used in State Management.

FamilyMI Inspection MI Inspection Viewer
Entity Families
AlertView, Insert, Update, DeleteView
CertificationView, Insert, Update, DeleteView
Checklist FindingView, Insert, Update, DeleteView
Conditional AlertsView, Insert, Update, DeleteView
CorrosionView, Insert, Update, DeleteView
EquipmentView, Insert, Update, DeleteView
EventView, Insert, Update, DeleteView
FindingView, Insert, Update, DeleteView
Human ResourceViewView
Inspection MethodView, Insert, Update, DeleteView
Inspection ProfileView, Insert, Update, DeleteView
Inspection Team MemberView, Insert, Update, DeleteView
Inventory Group ConfigurationViewView
Potential Degradation MechanismsViewView
RBI Degradation MechanismsViewView
RBI Inspection Auto-Selection CriteriaViewView
RecommendationView, Insert, Update, DeleteView
Reference DocumentView, Insert, Update, DeleteView
Resource RoleView, Insert, Update, DeleteView
SAP SystemViewView
Security UserViewView
StrategyView, UpdateView
TaskView, Insert, Update, DeleteView
Taxonomy ReferencesViewView
Time Based Inspection IntervalView, Insert, Update, DeleteView
Time Based Inspection SettingView, Insert, Update, DeleteView
Work PackView, Insert, Update, DeleteView
Relationship Families
Belongs to a UnitView, Update, Insert, DeleteView
Checklist Has FindingView, Insert, Update, DeleteView
Has CertificationsView, Insert, Update, DeleteView
Has Degradation MechanismsViewView
Has FindingsView, Insert, Update, DeleteView
Has Inspection MethodView, Insert, Update, DeleteView
Has Inspection ProfileView, Insert, Update, DeleteView
Has Inspection ScopeView, Insert, Update, DeleteView
Has InspectionsView, Insert, Update, DeleteView
Has Potential Degradation MechanismsViewView
Has RecommendationsView, Insert, Update, DeleteView
Has Reference DocumentsView, Insert, Update, DeleteView
Has RolesView, Insert, Update, DeleteView
Has Sub-InspectionsView, Insert, Update, DeleteView
Has TasksView, Insert, Update, DeleteView
Has Task HistoryView, InsertView
Has Task RevisionView, InsertView
Has Team MemberView, Insert, Update, DeleteView
Has Taxonomy Hierarchy ElementViewView
Has Taxonomy MappingViewView
Has Time Based Inspection IntervalView, Insert, Update, DeleteView
Has Work PackView, Update, Insert, DeleteView
Is a UserViewView
Is Planned ByView, Insert, Update, DeleteView
Is Executed ByView, Insert, Update, DeleteView
Note: Security privileges for all modules and catalog folders can be found in the APM documentation.

Note that:

  • The family-level privileges granted to the following families are also spread to all of their subfamilies:
    • Event
    • Taxonomy References
  • The Has Task History relationship family is inactive in the baseline APM database.
  • In addition to the families listed in the preceding table, members of the MI Inspection Security Group have View privileges to additional families to facilitate integration with the Risk Based Inspection module. Since these families are not used elsewhere in Inspection Management, they are not listed in this table.
Note: As part of implementing Inspection Management, you will decide whether you want to link Inspection records to Equipment records, Functional Location records, or both. If you want to link Inspection records to Functional Location records, you will need to grant members of the MI Inspection Security Group at least View privileges to the Functional Location family and the Functional Location Has Equipment relationship family. All new users are automatically assigned to the Everyone user group.

Revert Inspection Management Dashboard to Baseline

Before You Begin

This action is required only if you have modified the Inspection Management dashboard.

About This Task

If you have modified the Inspection Management dashboard, perform the following steps to revert the dashboard to baseline.

Procedure

  1. Access the Catalog page.
  2. Navigate to the Public folder for the dashboard that you want to revert.
    The dashboards are stored within the Public/Meridium/Modules/Mechanical Integrity/Dashboards/ folder.
  3. Select the check box next to the dashboard that you want to revert, and then select .
    The Confirm Delete window appears, asking you to confirm if you want to delete the selected dashboard.
  4. Select OK.
    The selected dashboard is deleted.
  5. Navigate to the Baseline folder for dashboards.
    The baseline dashboards are stored within the Public/Meridium/Modules/Mechanical Integrity/Dashboards/ folder.
  6. Select the check box next to the dashboard that you want to revert, and then select .
    The Catalog Folder Browser window appears.
  7. Navigate to the folder containing the public dashboard that you deleted in step 3.
  8. Select OK.
    A success message appears indicating that the selected item has been copied successfully.
  9. Repeat Steps 2-8 for each dashboard that you want to revert to baseline.