Asset Performance Management — Overview & How to Use

Module: Asset Performance Management v1.0.0

What is Asset Performance Management?

Asset registry, KPI tracking, OEE monitoring, and performance alerts for Perfex CRM

This module installs into modules/asset_performance_management/ and adds its own admin menus, permissions, and database tables — without editing Perfex CRM core files.

Who should use this module?

  • Admins — activate the module, configure Settings, assign roles, and manage integrations.
  • Operators / day-to-day staff — create and update records (orders, attendance, shipments, messages, etc.).
  • Managers / approvers — review queues, approve workflows, and monitor dashboards/KPIs.
  • Finance / compliance / ops leads — run reports, exports, and audit trails when the module supports them.

What you can achieve

  • Keep all related work in one place inside Perfex CRM instead of spreadsheets.
  • Control who can view, create, edit, approve, or export with role permissions.
  • Use dashboards and reports to see status, bottlenecks, and history.
  • Connect to other CRM data (customers, invoices, items, staff) where the module integrates.

Recommended learning path

  1. Read How to Install and activate the module.
  2. Skim Features so you know what screens exist.
  3. Complete the Quick Start checklist on this page (Settings → masters → first sample record).
  4. Open each screen guide under Screen-by-screen guides when you need step-by-step help.
  5. Check Version & Changelog after upgrades for new options.

Tip: Train one admin first, then create a limited role for operators so they only see the screens they need.

5-minute Quick Start

Follow this short path the first time you use Asset Performance Management:

  1. Activate — Setup → Modules → activate Asset Performance Management (run Upgrade if prompted).
  2. Permissions — Setup → Staff → Roles → enable view/create/edit (and approve/settings if needed) for this module.
  3. Settings — Open Asset Performance Management → Settings and save company defaults, prefixes, and integrations.
  4. Master data — Create the first required masters (products, warehouses, templates, channels, accounts, routes, etc.).
  5. First transaction — Create one sample record end-to-end (save → submit/approve → complete) and confirm it appears in lists/reports.
  6. Cron — If the module uses alerts, sync, queues, or AI, confirm Perfex CRM cron is scheduled on the server.

Module documentation index

Start here — full guides for Asset Performance Management:

Screen-by-screen guides (each tab explained)

Click a menu item below for step-by-step instructions on that Asset Performance Management screen:

How to use in Perfex CRM (daily operations)

  1. Sign in to the admin area with a role that includes Asset Performance Management permissions.
  2. Open Asset Performance Management (sidebar) or search for Asset Performance Management in the admin menu.
  3. Start on the Dashboard (if available) to see open tasks, pending approvals, and KPIs.
  4. Review Settings after upgrades — new options may need defaults for your company.
  5. Create or import master data first; most modules block transactions until masters exist.
  6. Run the main business flow (create → submit → approve → post/complete) using the screens listed in Admin menu below.
  7. Use Reports / Analytics screens to reconcile stock, finance, compliance, or SLA metrics.
  8. For integrations (API, EDI, gateways, tax), confirm credentials in Settings and monitor logs or webhook delivery screens.
  9. Train staff with role-based access — give approvers approve permissions only, operators create/edit on their area.
  10. If something fails overnight, check Perfex CRM cron ran and open the module log / failed queue screen if present.

Admin menu — where to work

Open the Asset Performance Management section in the admin sidebar. Screens your staff may use (depending on role):

  • Analytics & Reports
  • API Keys
  • APM Dashboard
  • Asset Categories
  • Asset Performance
  • Assets
  • Downtime Events
  • Import KPI Readings
  • Integration
  • KPI Definitions
  • KPI Readings
  • Maintenance Calendar
  • Maintenance Schedules
  • OEE Calculator
  • Performance Alerts
  • Settings
  • Webhooks
  • Work Orders

Screens map — what each menu is for

These are the admin screens registered by Asset Performance Management. Click a name in the Knowledge Base for a full how-to, or open the path in admin.

#ScreenAdmin pathGuide
1APM Dashboardadmin/asset_performance_managementHow to use
2Asset Categoriesadmin/asset_performance_management/asset_performance_management_categoriesHow to use
3Assetsadmin/asset_performance_management/asset_performance_management_assetsHow to use
4KPI Definitionsadmin/asset_performance_management/asset_performance_management_kpi_definitionsHow to use
5KPI Readingsadmin/asset_performance_management/asset_performance_management_kpi_readingsHow to use
6Downtime Eventsadmin/asset_performance_management/asset_performance_management_downtime_eventsHow to use
7OEE Calculatoradmin/asset_performance_management/asset_performance_management_oeeHow to use
8Maintenance Schedulesadmin/asset_performance_management/asset_performance_management_maintenance_schedulesHow to use
9Work Ordersadmin/asset_performance_management/asset_performance_management_work_ordersHow to use
10Maintenance Calendaradmin/asset_performance_management/asset_performance_management_maintenance_calendarHow to use
11Performance Alertsadmin/asset_performance_management/asset_performance_management_alertsHow to use
12Analytics & Reportsadmin/asset_performance_management/asset_performance_management_analyticsHow to use
13Integrationadmin/asset_performance_management/asset_performance_management_integrationHow to use
14Import KPI Readingsadmin/asset_performance_management/asset_performance_management_importHow to use
15Settingsadmin/asset_performance_management/asset_performance_management_settingsHow to use

Detailed guide — features, workflows, API & FAQ

Features

Phase 1 ✅

FeatureDescription
----------------------
Asset CategoriesMaster data for grouping assets
Asset RegistryFull asset lifecycle with criticality, location, status
KPI DefinitionsPre-seeded OEE, Availability, Performance, Quality, MTBF, MTTR
KPI ReadingsManual/sensor/import readings with breach detection
Performance AlertsAuto-generated alerts on threshold breaches
DashboardKPI cards, charts, recent alerts

Phase 2 ✅

FeatureDescription
----------------------
Downtime EventsTrack planned/unplanned downtime with reason codes
OEE CalculatorCalculate Availability × Performance × Quality
MTBF/MTTRAuto-compute reliability metrics from failures
Manufacturing SyncHook into Manufacturing downtime & IoT readings
Asset LinksLink assets to Manufacturing workstations
Auto KPI StorageStore calculated OEE metrics as KPI readings

Phase 3 ✅

FeatureDescription
----------------------
Maintenance SchedulesTime/meter-based PM with due dates and priorities
Work OrdersFull lifecycle: draft → scheduled → in progress → completed
Spare PartsLink Perfex CRM items to work orders
Maintenance CalendarMonthly view of PM and work orders
PM AlertsAuto-alert on overdue or due-soon maintenance
Cron IntegrationDaily PM alert check

Phase 4 ✅

FeatureDescription
----------------------
Analytics OverviewKPI summary, OEE trend chart, top performing assets
OEE Trends30/60/90-day presets with per-asset line charts
Asset ScorecardRank assets by composite performance score
KPI ComparisonBenchmark readings against targets with variance
PDF/CSV ExportExport all analytics reports
Multi-Plant FilterFilter by MPM plants or plant/site field

Phase 5 ✅

FeatureDescription
----------------------
REST APIRead/write assets, KPI readings, alerts, downtime events
API KeysScoped keys with rate limiting
Webhookskpi.breach, alert.created, asset.status_changed events
IoT GatewayCSRF-excluded sensor ingestion endpoint
CSV ImportBulk KPI readings upload
Cold Chain LinkShared equipment via asset links
MPM IntegrationPlant picker syncs to plant_site

---

Database Tables

TablePurpose
----------------
apm_asset_categoriesAsset type master
apm_assetsAsset registry
apm_kpi_definitionsKPI templates with thresholds
apm_kpi_readingsTime-series performance data
apm_alertsPerformance alerts
apm_downtime_eventsDowntime tracking
apm_downtime_reason_codesDowntime reason master
apm_asset_linksExternal entity links (workstations)
apm_activity_logsAudit trail
apm_maintenance_schedulesPreventive maintenance schedules
apm_work_ordersMaintenance work orders
apm_work_order_partsSpare parts on work orders
apm_report_snapshotsSaved analytics snapshots
apm_api_keysREST API keys
apm_webhooks / apm_webhook_deliveriesOutbound webhooks
apm_integration_logsIntegration event log
apm_import_batchesKPI CSV import batches

---

Permissions

Feature IDCapabilities
-------------------------
apm_dashboardview
apm_asset_categoriesview, create, edit, delete
apm_assetsview, create, edit, delete
apm_kpi_definitionsview, create, edit, delete
apm_kpi_readingsview, create, edit, delete
apm_downtime_eventsview, create, edit, delete, end
apm_oeeview, calculate
apm_maintenance_schedulesview, create, edit, delete
apm_work_ordersview, create, edit, delete, complete
apm_alertsview, create, edit, delete, resolve
apm_analyticsview
apm_integrationview
apm_apiview, create, delete
apm_webhooksview, create, edit, delete
apm_settingsview, edit

---

Design Principles

  1. Zero core changes — All behaviour via modules/asset_performance_management/ + hooks
  2. Incremental phases — Future features via DB migrations (v101, v102…)
  3. Optional integrations — Works standalone; enhanced via hooks to Manufacturing, MES, Cold Chain
  4. Auto-upgrade — apm_maybe_upgrade_database() runs on admin_init

See [docs/ROADMAP.md](docs/ROADMAP.md) for the full phase plan.

---

How to Use

First setup

  1. Review Asset Categories (defaults are seeded).
  2. Create Assets with type, criticality, location/plant, and status.
  3. Review KPI Definitions — set targets and min/max thresholds.
  4. Enable auto alerts in Settings.

Daily workflow

  1. Log KPI Readings (manual, CSV import, API, or IoT gateway).
  2. Record Downtime Events; use the OEE Calculator when needed.
  3. Plan Maintenance Schedules and create Work Orders (attach spare parts from Perfex items).
  4. Monitor Alerts and review Analytics (export PDF/CSV).
  5. Use Maintenance Calendar for the monthly PM view.

Optional integrations

  • Manufacturing / Cold Chain asset links
  • REST API keys + webhooks
  • IoT sensor ingestion endpoint

Features

  • Asset Registry — categories, criticality, location, lifecycle status
  • KPI Definitions & Readings — OEE, Availability, Performance, Quality, MTBF, MTTR + custom
  • Performance Alerts — threshold breaches and overdue PM
  • Downtime Events — reason codes, duration, planned/unplanned
  • OEE Calculator — Availability × Performance × Quality
  • Maintenance Schedules & Work Orders — PM lifecycle + spare parts
  • Maintenance Calendar — monthly schedule view
  • Analytics — overview, OEE trends, scorecard, KPI comparison, PDF/CSV
  • REST API, Webhooks, CSV Import, IoT Gateway
  • Dashboard widget + granular staff permissions

Permissions

Assign under Setup → Staff → Roles:

FeatureCapabilities
Dashboardview
Asset Categories / Assets / KPI Definitions / KPI Readingsview, create, edit, delete
Downtime Eventsview, create, edit, delete, end
OEEview, calculate
Maintenance Schedulesview, create, edit, delete
Work Ordersview, create, edit, delete, complete
Alertsview, create, edit, delete, resolve
Analytics / Integrationview
API Keysview, create, delete
Webhooksview, create, edit, delete
Settingsview, edit

Cron Jobs

PM overdue alerts and webhook retries run through Perfex CRM cron. Example:

* * * * * php /path/to/perfex_crm/index.php cron/index > /dev/null 2>&1

Uninstall

  1. Deactivate the module under Setup → Modules.
  2. Click Uninstall.
  3. All apm_* tables and module options are removed.

Core Perfex CRM data is not touched.

After activation — configuration checklist

  1. Go to Setup → Modules and activate Asset Performance Management.
  2. Tables, seed data (categories, KPIs, downtime reasons), and options are created automatically.
  3. Assign permissions under Setup → Staff → Roles.
  4. Open Asset Performance → Settings and configure prefixes, targets, and integrations.
  5. Perfex CRM 2.3+ (3.0+ recommended)
  6. PHP 7.4+ (8.1+ recommended)
  7. MySQL 5.7+ / MariaDB 10.3+ (InnoDB)
  8. PHP extensions: mysqli, json, mbstring, curl, fileinfo

Staff permissions (from module)

Assign under Setup → Staff → Roles. Each feature can expose different actions:

FeatureActions
APM Dashboard
apm_dashboard
view
Asset Categories
apm_asset_categories
view, create, edit, delete
Assets
apm_assets
view, create, edit, delete
KPI Definitions
apm_kpi_definitions
view, create, edit, delete
KPI Readings
apm_kpi_readings
view, create, edit, delete
Performance Alerts
apm_alerts
view, create, edit, delete, resolve
Downtime Events
apm_downtime_events
view, create, edit, delete, end
OEE Calculator
apm_oee
view, calculate
Maintenance Schedules
apm_maintenance_schedules
view, create, edit, delete
Work Orders
apm_work_orders
view, create, edit, delete, complete
Analytics & Reports
apm_analytics
view
Integration
apm_integration
view
API Keys
apm_api
view, create, delete
Webhooks
apm_webhooks
view, create, edit, delete
Settings
apm_settings
view, edit

One-time setup (first time only)

  1. Setup → Modules → activate Asset Performance Management.
  2. Setup → Staff → Roles → assign Asset Performance Management permissions (view, create, edit, delete, approve, export, settings as needed).
  3. Open Asset Performance Management → Settings and complete company defaults, prefixes, integrations, and notification options.
  4. Create master data (warehouses, products, templates, accounts, routes, etc.) before processing live transactions.
  5. Enable Perfex CRM cron (php /path/to/perfex/index.php cron/index) for sync, retries, alerts, and scheduled jobs.
  6. Optionally enable REST API / webhooks in module settings if you integrate external systems.

Tips for success

  • Always configure Settings before creating live transactions.
  • Create master data (items, warehouses, templates, channels, accounts) first — most modules block incomplete records.
  • Use a test/sample record before going live with real customers or production stock.
  • Separate roles: operators create/edit; managers approve; finance/reporting get view/export only.
  • After any module upgrade, reopen Settings and confirm new options have sensible defaults.
  • If overnight jobs fail, verify Perfex CRM cron and check the module log / failed queue screen.

Common questions (FAQ)

Where do I find the module after activation?

In the admin sidebar look for Asset Performance Management. If missing, your role may lack view permission — fix under Setup → Staff → Roles.

Do I need to edit core Perfex CRM files?

No. Keep all custom code under modules/asset_performance_management/. Activate/deactivate from Setup → Modules.

What happens if I uninstall?

Deactivate keeps data. Uninstall usually removes module tables/options (see the Install article). Core customers, invoices, and items are not deleted by well-built modules.

Why can't my staff see a screen?

Almost always a permissions issue. Give the role at least view on that feature, then ask the user to log out and back in.

Reports/export buttons do nothing

Confirm the role has export (or view reports) permission, and that filters return at least one row. Try PDF/CSV from a wider date range.


Perfex CRM Knowledge Base — detailed usage guide generated from module README, HOW_TO_USE, and documentation.

Did you find this article useful?