Example Overview Public

Example

Standalone ERPat Example module. Controller, model, views, language, migration, routes, menu and permissions are owned by this package and loaded at runtime through the HMVC compatibility layer (App_Router + module package paths).

Guide version: r1 Module version: 1.0.0 Updated: 2026-07-30 Estimated time: 2 min 1 views
You are viewing version r1 of this guide. View the current version
End-user documentation

Example

A reference CRUD module used to demonstrate ERPat module structure, forms, lists, permissions, routes, and migrations.

Where users startExample
Primary goalHelp a beginner understand what the module does and how to operate it safely.
Last reviewed2026-07-10

Purpose and What Problem This Solves

The Example module is a safe training and reference area. It helps teams learn how a standard ERPat module behaves before they work on business-critical modules.

Plain-language rule: If a user can explain what record they are creating, why it exists, who owns it, and what happens next, they are ready to use the module responsibly.

Who normally uses this module

New ERPat users in training QA testers Developers validating module behavior Administrators learning permissions

What You Can Do Here

  • Practice creating, editing, viewing, and deleting records in a simple CRUD screen.
  • Validate that module routes, menu entries, permissions, and modal forms work after setup.
  • Demonstrate appTable list behavior, filters, and action buttons.
  • Train new users on ERPat patterns without touching production data.
  • Serve as a baseline when comparing a custom module to the scaffolded standard.

Core Concepts and Terms

Learn these words first. Most user mistakes happen when a beginner opens a form without knowing what the record represents.

CRUD

Create, Read, Update, Delete. This is the basic record-management lifecycle used across many modules.

List view

The table where records are searched, filtered, and opened.

Modal form

The popup form used to add or edit one record without leaving the list page.

Soft delete

Records are hidden instead of physically removed so accidental deletions can be audited or recovered through technical support.

Beginner Quick Start

Use this first-run path in a training database or with a supervised account before handling live records.

  1. Enable the module in Settings > Manage Modules.
  2. Grant the Example permission to a training user or use an admin account.
  3. Open the Example menu and create one sample record.
  4. Edit, view, and delete the sample record to understand the lifecycle.
  5. Compare the behavior with other modules that use similar list and modal patterns.
Before using live data: confirm the module is enabled, your role has the right permissions, required master data exists, and you know the rollback or correction process for mistakes.

Standard Operating Procedures

These SOPs describe the routine operating pattern. Your company policy may add approvals, attachments, or segregation-of-duties controls.

Actor: Training user

Practice a standard record lifecycle

  1. Open the Example list and click the add action.
  2. Fill required fields with clear sample values.
  3. Save, verify the row appears, then open the view action.
  4. Edit the row, save again, and delete it when the exercise is complete.
Actor: QA tester

Use Example for QA smoke testing

  1. Confirm the module appears only when enabled.
  2. Confirm list load, create, update, view, and delete actions work.
  3. Confirm a non-permitted user cannot perform restricted actions.
  4. Record unexpected modal, route, or language behavior for development review.
Actor: Trainer

Teach ERPat screen conventions

  1. Show the left menu, list table, toolbar action, modal form, save flow, and row actions.
  2. Explain required fields, validation messages, and soft delete behavior.
  3. Let learners repeat the process until the UI pattern feels familiar.
  4. Move learners to a real module only after the pattern is understood.

Industry Notes and Good Practice

  • Use Example as a sandbox, not as a business process.
  • The patterns here are intentionally plain so beginners can learn ERPat conventions quickly.
  • When a real module differs from Example, the difference usually reflects domain rules, approvals, or integrations.

Controls, Data Quality, and Review Checklist

Use this checklist during onboarding, monthly review, and process audits.

  • Training data is clearly labelled and removed after exercises.
  • Permissions are tested with non-admin users when learning role behavior.
  • QA notes separate scaffold behavior from module-specific business behavior.
  • No operational decision depends on Example records.

Related ERPat areas

Todo for simple operational tasks Notes for simple content records module scaffolding docs for developers

FAQ and Troubleshooting

Is Example required for operations?

No. It is a reference and training module.

Why does it look simpler than other modules?

It demonstrates the standard CRUD pattern without complex business rules.

Can I delete sample records?

Yes. Example data should be disposable unless your team is using it for a test case.

Should users learn Example first?

It is helpful for beginners because the workflow is small and low risk.

Report a content problem