Software overview · Module guide · Operating procedures · Roles and permissions · Reports and configuration · Troubleshooting and FAQs
1. About this manual
This manual explains how to use Factovize APS (Advanced Production Scheduling) — a web application that turns your production orders, routings, machines and shift calendars into a finite-capacity production schedule, and shows you whether customer deliveries can be met.
1.1 Who should read it
| If you are… | Start with… |
|---|---|
| Planner / production planner (runs the schedule) | Chapters 2 and 5.2 to 5.8, and procedures 6.2 to 6.6. |
| Plant or production manager (reviews performance) | Sections 5.1 (Dashboard), 5.5 (Capacity) and 5.8 (Reports). |
| Production supervisor / shop-floor user | Sections 5.6 (Schedule views) and 5.7 (Plan sheets), and procedure 6.7. |
| Administrator | Chapters 3, 4, 8 and 9, and sections 5.9 to 5.13. |
1.2 How this manual is organised
The seven areas you asked for are covered as follows:
| Topic | Where to find it |
|---|---|
| Complete software overview | Chapter 2 |
| Module-wise user instructions | Chapter 5 — one section per module |
| Step-by-step operating procedures | Chapter 6 (end-to-end procedures) and the “How to” steps inside each module |
| Screen-by-screen explanations | Chapter 5 — every screen has a numbered explanation table |
| Screenshots with explanations | Chapter 5 — annotated screenshots (red numbers match the explanation tables) |
| User roles and permissions | Chapter 3 and Appendix A |
| Reports and configuration guides | Chapter 7 (reports and metric definitions) and chapter 8 (configuration) |
| Troubleshooting and FAQs | Chapters 9 and 10 |
1.3 Conventions used
- Bold text is a button, menu item, field or value you see on screen.
Monospaced textis a file name, setting key or value you type.- Red numbered circles on screenshots correspond to the numbered tables directly below each figure.
- Boxes marked Note, Tip, Important and Warning call out extra information.
1.4 Document information
| Item | Detail |
|---|---|
| Product | Factovize APS — Advanced Production Scheduling (package com.bevywise.aps) |
| Manual version | 1.0 |
| Date | 18 November 2026 |
| Basis | Prepared from the APS source code, database schema and specification documents supplied with the project (aps). Behaviour described is that of the supplied build. |
2. Complete software overview
2.1 What APS does
APS is built for discrete manufacturers — for example machine shops — where each part follows a routing of operations on groups of machines. You tell APS what you must make and by when; APS works out which machine should do which operation, and when, while respecting working hours, breaks, holidays, planned maintenance, setup and changeover times and machine efficiency.
- Plan automatically — one click on RUN builds a forward, finite-capacity schedule for the whole planning horizon (30 days by default).
- See delivery risk early — every order gets an expected completion date, compared with its delivery date (On time / At risk / Late).
- Find bottlenecks — capacity overview, machine-group capacity and a demand-versus-capacity view show where the plant is overloaded or idle.
- Review the plan visually — a machine-by-day Gantt board, plus By Order and By Machine calendars.
- Issue shop-floor documents — printable Daily, Shift and Machine production plans (with PDF and Excel export).
- Report — six reports for production schedule, capacity, machine load, WIP, late orders and on-time delivery.
- Maintain master data — plants, departments, shifts, holidays, customers, parts, machine groups, machines, routings and changeover times.
- Control the engine — an APS Settings screen governs the planning horizon, backfill, freeze period, continuity, changeover and capacity rules.
2.2 The planning cycle at a glance
| Step | What you do | Where |
|---|---|---|
| 1 | Set up master data once: company, plant, departments, shifts, breaks, holidays, customers, parts, machine groups, machines, routings and changeover times. | Settings (chapter 5.9 – 5.11) |
| 2 | Enter or update demand: production orders, work-in-progress (WIP) and planned machine maintenance. | Orders, WIP Inventory, Maintenance |
| 3 | Check that demand fits capacity before scheduling. | Capacity Overview, Machine Group Capacity, Demand vs Capacity |
| 4 | Press RUN to build the schedule (Admin or Planner). | Planning → Schedule Board |
| 5 | Review the result: run report, Gantt board, By Order, By Machine, and the Dashboard. | Planning, Dashboard |
| 6 | Publish plan sheets for the shop floor and use the reports in review meetings. | Plan Sheets, Reports |
| 7 | When things change (new order, breakdown, material delay) update the data and run again. | Any |
2.3 Modules at a glance
| Module | Purpose | Menu location |
|---|---|---|
| Dashboard | APS health score, delivery commitment, capacity, orders, machines and recommended actions; TV display mode. | Dashboard |
| Orders | Production orders with delivery date, priority, type and material status. | Production → Orders |
| WIP Inventory | Quantities already completed up to a routing operation. | Production → WIP Inventory |
| Maintenance | Planned machine downtime windows. | Production → Maintenance |
| Capacity | Capacity Overview, Machine Group Capacity, Demand vs Capacity. | Capacity |
| Planning | Schedule Board (run APS and Gantt), By Order, By Machine. | Planning |
| Plan Sheets | Daily, Shift and Machine production plans; print, PDF, Excel. | Plan Sheets |
| Reports | Production Schedule, Capacity Utilization, Machine Load, WIP Summary, Late Orders, On-Time Delivery. | Reports |
| Settings | Organization, calendar, engineering master data, APS settings, danger-zone tools. | Profile menu → Settings |
2.4 How APS is built and deployed
| Aspect | Detail |
|---|---|
| Application | Spring Boot 3 (Java) back end with a React + TypeScript browser interface. In a packaged installation both run from a single aps.jar. |
| Database | MySQL 8. Tables are created and upgraded automatically at start-up (Flyway migrations). |
| Address | API and interface on port 8080 (http://<server>:8080). The Docker sample also serves the interface on port 5173. |
| Sign-in | E-mail and password. The browser keeps a short-lived access token (24 hours) that is renewed automatically while you use the application, so you rarely have to sign in again until you sign out. |
| Time zone | The sample configuration uses Asia/Kolkata for the server and database connection. The company record also stores a time-zone name. |
| First run | A three-step setup wizard connects the database, creates the first administrator and optionally loads demo data (section 4.2). |
| Browser | A current desktop browser is recommended. Screens are designed for desktop and large-tablet widths. |
2.5 Key concepts
| Term | Meaning in APS |
|---|---|
| Plant, Department | The organisational structure. A department belongs to a plant; machines belong to a department. This release supports one plant. |
| Machine group | A set of interchangeable machines (for example “CNC Turning”). Routing operations are assigned to a group, not to a single machine. |
| Machine | A single resource with a code, a group, a department and an efficiency % that stretches the planned time. |
| Part and routing | A part has one routing: an ordered list of operations (OP10, OP20…). Each operation names a machine group, a setup time (minutes), a cycle time (seconds) and parts per cycle. |
| Production order | A quantity of one part with a delivery date, priority, order type and material status. |
| WIP inventory | Quantity of an order that has already completed a given operation and is waiting for the next one. APS uses it to avoid planning work that is already done. |
| Shift, break, holiday | Define the working calendar. Daily machine capacity = shift hours − breaks. Holidays are non-working days. |
| Planning horizon | Number of days ahead that APS plans (default 30). |
| Primary and backfill orders | Orders with delivery inside the horizon are planned first. If horizon backfill is on, later orders are pulled forward into free capacity. |
| Forward, finite-capacity scheduling | APS starts from today and fills machines in time order; a machine can only do one thing at a time, so work moves later when a machine is full. |
| Schedule entry | One block on a machine: SETUP, PRODUCTION or MAINTENANCE, with a status (Planned, In progress, Stopped, Completed). |
| Utilization | Planned hours ÷ available hours of a machine or group. |
| Changeover matrix | Setup time when a machine switches from one part/operation to another; a specific entry overrides the group default. |
| Freeze horizon | Number of near-term days that are protected from rescheduling (default 2 days). |
2.6 How the scheduling engine plans
Understanding the rules makes the results predictable. In plain terms, one RUN does this:
- Collects the orders. Orders with a delivery date on or before the end of the planning horizon are primary orders. If horizon backfill is on, orders delivering later — up to the backfill window — are backfill orders. Orders with no delivery date, or beyond the window, are skipped and reported as a warning.
- Puts orders in sequence. Orders are sorted by delivery date (earliest first), then by priority, then by order number. This is the “Earliest Due Date” dispatch rule — the only rule available in this release.
- Builds each machine’s calendar. Time is available only inside shifts, outside breaks, outside planned maintenance windows, and on working days. With the default settings, Saturdays and Sundays and company holidays are not worked.
- Schedules operation by operation. For each order, operations follow the routing sequence. For every operation APS picks a machine in the required group, adds setup (or the changeover-matrix time), then production time = quantity × cycle time ÷ parts per cycle ÷ machine efficiency. Existing WIP reduces the quantity still to be produced.
- Backfills spare capacity. If enabled, later orders are pulled forward into gaps until the plant reaches the utilization target (85% by default) or capacity runs out.
- Replaces the previous plan. Entries that are still Planned are cleared and rebuilt. Entries that are In progress, Stopped or Completed are kept.
- Reports the outcome. A run report lists, for each order, whether it is in the horizon, its expected completion, machine hours used, plus warnings.
3. User roles and permissions
Every user has one role, chosen when the account is created (Settings → Users). Eleven roles are defined in the system. The sections below describe what each role is meant for and — importantly — what the supplied build actually enforces.
3.1 The defined roles
| Role (as shown in the application) | Description in the database | Permissions stored |
|---|---|---|
| Admin | Platform Administrator | 33 (all) |
| Plant Admin | Plant Administrator | 28 |
| Planner | Production Planner | 14 |
| Production Manager | Production Manager | 7 |
| Production Supervisor | Production Supervisor | 4 |
| Operator | Machine Operator | 2 |
| Quality Engineer | Quality Engineer | 4 |
| Maintenance Engineer | Maintenance Engineer | 2 |
| Stores | Stores & Inventory | 2 |
| Management | Management Dashboard User | 4 |
| Viewer | Read-only viewer | 7 |
3.2 What is enforced in this build
Permission names such as “Machine — Create” or “Schedule — Run” are stored in the database for each role, and the Create User dialog shows them as a read-only summary of the selected role. In the supplied build, however, the application enforces only the following rules:
| Rule | Applies to | How it appears |
|---|---|---|
| Must be signed in | Everything except the sign-in page, setup wizard and public setup endpoints | Not signed in → redirected to the sign-in page |
| Admin only | Users page, Drop Current Plan, and all add / edit / delete / activate buttons on master-data screens (Company, Plant, Department, Shift, Shift Breaks, Holidays, Customers, Parts, Machine Groups, Machines, Routings, Changeover Matrix, WIP Inventory, Maintenance) | Other roles see the data read-only (no action buttons); the Users page shows “Restricted for ADMIN only” |
| Admin or Planner | Running APS (RUN on the Schedule Board) | For other roles the RUN button is disabled |
| Any signed-in user | Dashboard, Capacity, Planning views, Plan Sheets, Reports, Production Orders (add, edit delivery/material, delete) and APS Settings | Visible and usable by every role |
- RUN is greyed out because the signed-in role is neither Admin nor Planner.
- Efficiency / Status columns are visible, but there is no Add Machine button and no row actions.
- Restricted for ADMIN only — only Administrators can open User Management.
Server-side, the API requires a valid sign-in for all data, and restricts only the Drop Current Plan function to the Admin role. Treat the role-permission list in the Create User dialog as the intended design; it is not yet fully applied.
3.3 Recommended role assignment
| Person | Role to choose | Why |
|---|---|---|
| System owner / IT | Admin | Only role that can manage users, master data and drop the plan. |
| Production planner | Planner | Can run APS; reads all master data. |
| Plant head, production manager | Production Manager | Read access to dashboards, capacity and reports. |
| Shift supervisor, operator | Production Supervisor / Operator | Read access to schedule views and plan sheets. |
4. Getting started
4.1 Starting the server (administrator)
You need Java, a running MySQL 8 server and the APS package. The packaged folder contains aps.jar, run.sh, run.bat and a config folder.
| Task | Command / action |
|---|---|
| Run from the product folder (Linux/macOS) | ./run.sh |
| Run from the product folder (Windows) | run.bat |
| Provide your own settings (optional) | Copy config/application-local.yml.example to config/application-local.yml and edit it. run.sh / run.bat use it automatically when present. |
| Run with Docker (development sample) | docker compose up --build. Interface http://localhost:5173, API http://localhost:8080, MySQL localhost:3306. |
| Give the JVM more memory | Set the JAVA_OPTS environment variable, e.g. JAVA_OPTS="-Xmx2g". |
Once started, open http://<server>:8080 in a browser. On the very first start, the setup wizard appears.
4.2 First-time setup wizard
Until setup is complete, every page redirects to the wizard. It has three steps and a progress bar at the top.
Step 1 of 3 — MySQL database
- Host — name or IP of the MySQL server (default
localhost). - Database name — default
aps. APS creates it if it does not exist. - Username (and Password) — a MySQL account allowed to create the database and tables.
- Create database and continue — tests the connection, creates the database, applies the schema and saves the connection to
config/application-local.yml.
Step 2 of 3 — first administrator
- Full name — shown in the application.
- Email — becomes the sign-in name.
- Password — at least 8 characters.
- Confirm password — must match.
- Create admin and continue — creates the Admin account (only possible while no admin exists).
Step 3 of 3 — demo data
- Yes, load demo data — loads sample plant, machines, parts, routings, orders and WIP so that you can explore every screen immediately.
- No, start empty — starts with a clean system; you then enter your own master data.
- Complete step 1 and click Create database and continue.
- Complete step 2 and click Create admin and continue.
- Choose Yes, load demo data or No, start empty. The wizard finishes and takes you to the sign-in page.
4.3 Signing in and out
- Email — the address of your account.
- Password — your password.
- Login — opens the Orders page.
- Open the APS address in your browser.
- Type your Email and Password and click Login. After a successful sign-in the Orders page opens.
- To leave, click the logout icon at the top right (or Logout in the profile menu).
4.4 The screen layout
After sign-in every screen has the same frame: a top bar, a left navigation panel and the work area.
- Left navigation — grouped as Production, Capacity, Planning, Plan Sheets and Reports (Dashboard is at the top). The current page is highlighted.
- Plant selector — chooses the plant shown (this release has one plant).
- Refresh — reloads data from the server.
- Dashboard tabs — Overview, Risk & Delivery, Capacity, Orders, Machines, Actions.
- APS Health Score — headline score out of 100 (section 5.1).
- Planning Health — five key indicators for the current horizon.
- Delivery Commitment — share of orders that will be on time.
- Late & At-Risk Orders — orders that will miss or nearly miss delivery.
The top bar shows the company logo, today’s date, the profile icon and a logout icon.
- Settings — opens the Settings area (section 5.9 onwards).
- TV Display — opens the full-screen wall display of the dashboard.
- Logout — signs you out. The menu also lists the Demo Data tools (see the warning in section 5.13).
| Navigation group | Items |
|---|---|
| (top) | Dashboard |
| Production | Orders · WIP Inventory · Maintenance |
| Capacity | Capacity Overview · Machine Group Capacity · Demand vs Capacity |
| Planning | Schedule Board · By Order · By Machine |
| Plan Sheets | Daily Production Plan · Shift Production Plan · Machine Production Plan |
| Reports | Production Schedule · Capacity Utilization · Machine Load · WIP Summary · Late Orders · On-Time Delivery |
| Settings (separate area) | Organization: Company, Plant, Department, Users · Calendar: Shift, Shift Breaks, Holidays · Engineering: Customers, Parts, Machine Groups, Machines, Routings, Changeover Matrix · APS: APS Settings · Integration: ERP Connections, Data Synchronization, Import / Export · Drop Current Plan |
4.5 Recommended first-day configuration checklist
- Company — check name, address, time zone, week start day and working days per week (Settings → Company).
- Plant and Departments — create your plant and departments (Settings → Plant, Department).
- Shifts, Shift Breaks and Holidays — define the working calendar (Settings → Calendar).
- Machine Groups and Machines — create the groups, then the machines with their efficiency (Settings → Engineering).
- Customers and Parts — enter customers and the parts you make.
- Routings — define each part’s operations with setup time, cycle time and parts per cycle.
- Changeover Matrix — enter group defaults and any part-to-part exceptions.
- Users — create accounts and assign roles.
- APS Settings — review horizon, backfill, freeze and continuity (defaults are sensible).
- Orders, WIP and Maintenance — enter demand, then go to Planning → Schedule Board and press RUN.
5. Module guide and screen reference
This chapter walks through every module and screen. Each module starts with its purpose and who can use it, shows the screen with numbered call-outs, explains each call-out, and ends with step-by-step instructions for the common tasks.
5.1 Dashboard
Who: every signed-in user. Where: Dashboard (top of the left navigation). The Dashboard answers one question: can we deliver what we promised, and where is the plant under pressure? It has six tabs and a plant selector; all numbers come from the current schedule, orders and capacity data.
5.1.1 Overview tab
The Overview tab (shown in section 4.4) is a 30-second snapshot suitable for a desk or wall display. It shows the APS Health Score, five Planning Health indicators, the Delivery Commitment bar, a Late & At-Risk Orders table, the Maximum Utilization machine group and the Top Recommendation.
| Indicator | What it means |
|---|---|
| APS Health Score (0–100) | A weighted score: 40% delivery on-time rate, 20% capacity balance between machine groups, 15% overall utilization (best near 85%), 15% schedule stability (share of in-horizon orders that were scheduled), 10% risk (share of orders at risk). |
| Orders in horizon | Open orders whose delivery date falls inside the planning horizon. |
| Backfill orders | Orders delivering after the horizon that APS pulled forward to use spare capacity. |
| Orders on time | Orders whose expected completion is on or before the delivery date. |
| Orders at risk | Horizon orders expected to finish 1 to 3 days after the delivery date. |
| Capacity utilization | Average utilization of the machine groups. |
| Delivery Commitment | On-time orders ÷ orders that have a reliable completion date. |
| Late & At-Risk Orders | Order, due date, delay and Reason: Material (material not available), Capacity (a constrained machine group exists) or Schedule. |
Delivery status rules (also used on the Late Orders and On-Time Delivery reports):
| Delivery status | Rule |
|---|---|
| On time | Expected completion is on or before the delivery date. |
| At risk | Expected completion is 1 to 3 days after the delivery date. |
| Late | Expected completion is more than 3 days after the delivery date, or the delivery date has passed and the order is not scheduled. |
5.1.2 Risk & Delivery tab
- Delivery Commitment — percentage of orders on time, with a link to the On-Time Delivery report.
- Late & At-Risk Orders — order, customer, due date, delay and reason.
- Schedule Exceptions — compromises found in the plan, each with a severity (Critical, Medium, Low): orders that cannot meet delivery, orders constrained on a machine group, or work planned on weekends.
5.1.3 Capacity tab
- Machine Capacity Overview — installed (available) hours versus planned hours and utilization, per machine group; click a group name to open Machine Group Capacity.
- Bottleneck Analysis — ranks groups by utilization and shows Capacity Loss Analysis (hours lost to Setup, Maintenance, Material Waiting, Blocked Time and Machine Idle).
- Capacity Heat Map — daily utilization per group for the first week of the schedule; non-working weekends show Off.
Utilization colour bands used throughout APS:
| Utilization | Colour | Meaning |
|---|---|---|
| Above 95% | Red | Fully loaded — bottleneck |
| 85% – 95% | Orange | High utilization |
| 70% – 85% | Yellow | Good utilization |
| 50% – 70% | Green | Available capacity |
| Below 50% | Blue | Under-utilized |
5.1.4 Orders, Machines and Actions tabs
- Horizon Orders — each open order delivering inside the horizon with its progress bar, operations done, status and expected completion. A second table, Backfill Orders, lists orders beyond the horizon; partial schedules show no completion date until all operations are planned.
- Machine Board — one card per active machine: utilization, production, setup and idle hours, and the orders loaded on it.
- APS Recommendations — suggested actions ranked by business impact (for example “Re-plan PO-1003 before 2026-12-02”) with an Open link to the relevant screen.
5.1.5 TV display
Choose TV Display in the profile menu (or open /dashboard/tv) to show the dashboard full-screen with the tab navigation for wall-mounted monitors. Use Exit TV Display in the header to return.
How to read the Dashboard each morning
- Open Dashboard and click Refresh.
- Check the APS Health Score and Delivery Commitment. If they dropped, open Risk & Delivery.
- Review Late & At-Risk Orders and Schedule Exceptions; note the reasons.
- Open Capacity to find the bottleneck group, then Actions for recommended steps.
5.2 Production orders
Who: every signed-in user can use this screen (it is not Admin-restricted). Where: Production → Orders — the page that opens after sign-in. An order is a quantity of one part to be delivered by a date; APS plans from these orders.
- Add Production Order — opens the add dialog.
- Search — by order number, customer or part.
- Material filter — All Material, Available, PO Given or PO Not Done.
- Plan Status filter — All, Not Planned, Partially Planned, Planned or Completed.
- Material — change an order’s material status straight from the list (a drop-down on each row).
- Status — planning status of the order: Not Planned, Partially Planned, Planned or Completed.
- Edit (pencil) — change the delivery date and material information.
- Delete (bin) — permanently delete the order after confirmation.
The line above the table shows “Viewing 1–10 of N production orders” and the Total Quantity of the filtered orders. The list shows 10 orders per page.
- Production Order # — a unique order number (for example PO-1013).
- Order Type — Confirmed PO, Planned Order, Sales Order or Forecast.
- Part — choose from the part master (the part must already have a routing to be planned).
- Quantity — must be greater than zero.
- Delivery Date — required; orders without a delivery date are skipped by APS.
- Material Status — Available, PO Given or PO Not Done. For the last two, an Expected Material Delivery Date field appears and is required.
The dialog also has Priority (High, Medium or Low; default Low). Priority is used as the tie-breaker when two orders have the same delivery date.
| Order field | Notes |
|---|---|
| Production Order # | Must be unique. Cannot be changed after creation. |
| Order Type | Confirmed PO · Planned Order · Sales Order · Forecast. Informational; all types are planned. |
| Part, Quantity | Cannot be changed after creation. To change them, delete the order and create a new one. |
| Delivery Date | Can be edited. Drives sequencing (earliest first) and delivery status. |
| Material Status / Expected date | Can be edited. Informational for planners; not used by the scheduler to delay work. |
| Status | Not Planned → Partially Planned → Planned after a run; Completed orders cannot be edited. |
How to add a production order
- Open Production → Orders and click Add Production Order.
- Enter the Production Order #, choose the Order Type and Part, type the Quantity, set the Priority and Delivery Date.
- If material is not in stock, set Material Status to PO Given or PO Not Done and enter the Expected Material Delivery Date.
- Click Create Production Order. The order appears as Not Planned until you next run APS.
How to change a delivery date
- Find the order (use Search) and click the Edit pencil.
- Change Delivery Date, Material Status or the expected material date and save.
- Run APS again (section 5.6) so the schedule reflects the new date.
5.3 WIP inventory
Who: everyone can view; Admin can add, edit and delete. Where: Production → WIP Inventory. WIP records say “this much of order X has already finished operation N and is waiting for operation N+1”. APS subtracts WIP so that completed work is not planned twice.
- Completed Op — the last operation already finished (blank when the material is raw and untouched).
- Next Op — the operation that will process this quantity next.
- WIP Location — where the quantity is physically waiting (for example “Staging Bay A”).
Columns: Production Order, Part, Completed Op, Next Op, Quantity, WIP Location and Actions. Use the search box to find rows by order, part or location.
How to add a WIP record (Admin)
- Click Add WIP.
- Select the Part first — the Completed Operation and Next Operation lists come from that part’s routing.
- Choose the Production Order, the completed and next operations, type the Quantity and an optional WIP Location.
- Click save. The Next Operation must come after the Completed Operation in the routing; otherwise “Next operation must come after the completed operation in the routing sequence” is shown.
5.4 Maintenance schedules
Who: everyone can view; Admin can add, edit and delete. Where: Production → Maintenance. A maintenance record blocks a machine for a period; APS will not plan production inside it (when Consider Planned Maintenance is on).
- Add — creates a maintenance window.
- Hours — calculated automatically from the start and end.
- Severity — Mandatory, High, Medium or Low.
Columns: Machine, Machine Group / Department, Start, End, Hours, Severity and Actions.
How to schedule machine maintenance (Admin)
- Click Add. Choose the Plant, Department and Machine.
- Set Start Date, Start Time, End Date and End Time.
- Choose the Severity and save.
- Run APS again so production moves around the maintenance window.
A machine cannot have two overlapping maintenance windows (“This machine already has maintenance from … to …”).
The end must be after the start.
5.5 Capacity analysis
Who: every signed-in user. Where: Capacity group. Use these three screens before running APS to see whether demand fits, and after to find bottlenecks.
5.5.1 Capacity Overview
- Plant selector and refresh — choose the plant and reload.
- Capacity Distribution — pie chart of installed capacity by machine group.
- Available vs Demand — monthly line chart for the next 6 months: demand (required hours of orders by delivery month) versus total capacity.
- Machine Groups Utilization — required hours, total capacity, capacity gap, utilization and status for each group, ranked by utilization.
- Orders at Risk — number of orders that may miss delivery; the full list is below the table.
The five cards at the top cover the next 30 days only: Total Capacity (installed hours), Required Capacity (hours needed by orders delivering in that window), Utilization, Maximum Utilization (the busiest group) and Orders at Risk. The line under Utilization shows the gap: a positive number is a shortage of hours; a negative number is spare hours.
The Orders at Risk table shows, for each order: part, customer, delivery date, hours required on its constraint group, hours available through the delivery date, the gap and the constraint group.
5.5.2 Machine Group Capacity
- Period (Next) — 7 Days, 30 Days, 90 Days, This Month, Next Month or Custom (with start and end dates).
- Refresh — recalculates for the chosen plant and period.
- Bottleneck Groups — number of groups above the bottleneck threshold in the period.
- Remaining Capacity — Available Capacity minus Planned Load.
Columns: Group, Total Hours, Maintenance, Available Capacity, Planned Load, Utilization and Remaining Capacity. Click a group to expand it and see each machine. The formulae are printed under the table: Total Hours − Maintenance = Available Capacity; Remaining Capacity = Available Capacity − Planned Load.
5.5.3 Demand vs Capacity
- Total Required Hours — hours needed by all orders delivering in the selected period.
- Headroom — spare capacity as a percentage.
- WIP Available — quantity already completed (WIP) that reduces the work to be done.
- Capacity till Delivery Date — hours available on the machine group between today and the order’s delivery date.
Each order is a row; click it to expand into machine groups, and expand a group to see its operations. Columns: Order, Delivery Date, WIP Available, Parts to Produce, Required Hours, Capacity till Delivery Date and % Available. A low or red % Available on a group means the order is competing for scarce capacity on that group. Periods: 7 Days, 30 Days, 90 Days, 6 Months, 1 Year.
How to check feasibility before planning
- Open Capacity → Capacity Overview. Read Utilization, Maximum Utilization and Orders at Risk.
- Open Machine Group Capacity, choose 30 Days, and look for groups with high Utilization and little Remaining Capacity.
- Open Demand vs Capacity and expand late-looking orders to find the group that limits them.
- If a group is overloaded: add maintenance-free capacity (another shift, overtime, a machine), move delivery dates, or accept a late order.
5.6 Planning: Schedule Board, By Order and By Machine
5.6.1 Schedule Board — run APS
Who: everyone can view; only Admin and Planner can press RUN. Where: Planning → Schedule Board. This is the heart of APS.
- Planning Horizon — shown from APS Settings (default 30 days). To change it, edit Planning Horizon (Days) in APS Settings.
- Strategy — shown from APS Settings (Earliest Due Date).
- RUN — starts the scheduler for the selected plant.
- Unscheduled Orders — open orders that do not yet have a plan: order, part name, customer, quantity, pending quantity, WIP, delivery and priority. Click a row to see order details.
- Machine Timeline (Gantt) — the machine-by-day plan; empty until a run completes.
The line under Strategy shows a typical run time (for example “~10 s for N unscheduled orders”).
How to run APS (Admin or Planner)
- Make sure orders, WIP and maintenance are up to date and APS Settings are as you want them.
- Open Planning → Schedule Board and select the Plant.
- Click RUN. A progress card appears.
- When the run finishes, a Schedule run report opens. Review it, then click Close. The Gantt board refreshes.
- Running APS Scheduler — title of the progress card with the percentage complete.
- Progress bar and status — current phase and message (for example “Scheduling order PO-1009 (9 of 12)”), orders processed and entries created. While running, the RUN button is disabled.
- Orders tab — one row per order: delivery date, whether it is in the horizon, expected completion, machine hours utilized and idle time due to this plan.
- Machines tab — switch to the machine view (next screenshot).
- Warnings — messages from the run: plans replaced, backfill details, orders that finish after delivery, or orders skipped.
- Utilization column — each machine’s utilization over the horizon.
- Idle column — idle capacity hours; the summary above shows machines used, plant utilization, total capacity, capacity utilized and idle capacity.
5.6.2 The Gantt board
- Machine Timeline (Gantt) — title and period (for example Nov 16 – Dec 15), with the number of machines and schedule blocks.
- Machine rows — one row per machine with its code and name.
- Schedule block — part name, order number and operation, entry type (SETUP or PRODUCTION) and minutes. Amber blocks are SETUP; blue blocks are PRODUCTION.
- Day columns — one column per day. Click a block to load the order’s details at the bottom of the page.
When a machine has more than one block on a day, the first is shown and a +N chip appears. Click the chip to see the remaining entries.
- More Schedule Entries (N) — a pop-up listing every additional block on that machine and day, each with its entry type and minutes.
- Order Details — shows the order, part, customer, delivery date, quantity, produced, pending, WIP, priority, material, SAM and status.
- Schedule Blocks — every block planned for the order: machine, operation, type, start, end, minutes and status.
- Quantity cards — produced and pending quantities at a glance.
| Item | Meaning |
|---|---|
| Amber block | SETUP — machine set-up or changeover time |
| Blue block | PRODUCTION — planned run time |
| Other entry types | The schedule can also contain MAINTENANCE, BREAKDOWN and BLOCKED entries (time reserved on a machine). |
| Status chips (Order Details) | Planned, Running (in progress) or Completed for each block. |
5.6.3 By Order
- Plant and order selectors — choose the plant and one production order; Refresh reloads.
- Hours planned — setup plus production hours in the horizon.
- Days of execution — planning days with scheduled work.
- Operations scheduled — routing operations that have plan entries (for example 3 / 3).
The calendar shows the order across the 30-day horizon, one cell per day, grouped in weeks starting Monday. Each cell lists the part, the operation and shift and three quantities: Start, Complete and Carry forward (the quantity still waiting for the next block). The header line above the cards shows the order number, part, quantity, delivery date and the expected completion date and time.
5.6.4 By Machine
- Plant and machine selectors — choose a machine (for example CNC-01).
- Planned vs available — planned hours ÷ available hours in the horizon (with the daily capacity, e.g. 14.5 h/day).
- Maintenance downtime — hours of planned maintenance and the share of time.
- Unplanned days — workdays with no production or setup scheduled.
The monthly calendar for the machine marks weekends (Weekend) and holidays by name (for example “Company Foundation Day”), shows the work planned each day and highlights maintenance days.
How to review a plan after a run
- In the run report, read Warnings first, then scan Expected completion against Delivery date.
- On the Dashboard, check Orders on time, Late & At-Risk Orders and Schedule Exceptions.
- Open By Order for each late order to see which operations drive the date.
- Open By Machine for the bottleneck machines to see unplanned days and overload.
5.7 Plan sheets (shop-floor documents)
Who: every signed-in user. Where: Plan Sheets group. These pages turn the live schedule into printable sheets for a plant head, a shift supervisor and a machine operator. They use the company name and plant from your master data.
- Planning date — the date to show.
- Print — print the sheet.
- PDF — download a PDF.
- Excel — download an Excel file.
- Daily Summary — machines planned, orders planned, operations planned, total planned hours, total planned quantity and expected capacity utilization.
The Daily Production Plan is the plant-head view: one table per shift listing Machine, Order, Part, OP, Process, Planned Hrs, Planned Qty, Actual and Remarks, with a shift total.
- Shift — choose the shift (Shift 1, Shift 2…).
- Print — print, or use PDF / Excel.
The Shift Production Plan is the supervisor view for one shift. Below the plan it has blank tables to fill in by hand: Shift Downtime (Cumulative) (10 rows) and Shift Quality Checks (Cumulative) (one row per planned part, maximum 10).
- Machine — choose one machine, or All machines.
- Shift — choose one shift, or All shifts.
- Remarks — blank column to write notes on the printed sheet.
The Machine Production Plan is the operator view: a printable A4 page per machine and shift with the planned start/end, order, part, OP, process, planned hours and quantity, plus Downtime Entries (10 blank rows) and Quality Checks (Order, Part, OP, OK, Reject, Rework, Remarks). It has Print only.
How to issue the next day’s production plan
- Run APS (section 5.6) so the plan is current.
- Open Plan Sheets → Daily Production Plan, pick tomorrow’s Planning date and click Refresh.
- Click PDF or Excel to share, or Print.
- Give each supervisor the Shift Production Plan and each machine the Machine Production Plan for their shift.
5.8 Reports
Who: every signed-in user. Where: Reports group. The six reports use the same schedule data as the planning views; they are on-screen reports (use your browser’s print function to keep a copy).
- Open report — each card describes the report; click to open it.
- Order selector — choose the production order (the target quantity is shown).
- Cumulative row — running total of parts completed for each operation across all days.
- Day total — parts completed across the operations that day.
Production Schedule shows, for one order, the parts completed per planning day for each operation (Op 10, Op 20 …). Each planning day runs from 06:00 to the next 06:00 and counts PRODUCTION entries only.
- Capacity (h) — available hours for the machine group that day (machines × 14.5 h in this example).
- Utilized (h) — hours planned on the group that day; cells are coloured with the utilization bands.
Capacity Utilization shows machine-group capacity versus utilized hours for each planning day, including all schedule entry types that overlap the day.
- Total (h) — total utilized hours of the machine over the horizon.
- Avg — average daily utilization of the machine.
Machine Load shows utilized hours per machine for each planning day, coloured by utilization band — useful for spotting overloaded or idle machines.
- Total WIP qty — total quantity in WIP; cards also show orders in WIP, parts and locations.
- WIP by next operation — number of orders and quantity waiting for each next operation.
- WIP detail — order, part, completed operation, next operation, quantity and location.
- Late — number of orders expected to finish more than 3 days after delivery.
- At risk — 1 to 3 days after delivery.
- Days vs delivery — positive means days late; the Status column shows Late or At risk.
The cards also show Not scheduled orders — orders whose delivery date has passed without a schedule.
- On-time rate — percentage of orders with a full planned completion that are on time (also cards for On time, Partial backfill and Total orders).
- Days vs delivery — difference between expected completion and delivery date; negative means early.
Backfill orders beyond the horizon show Partial status until all their routing operations are scheduled.
5.9 Settings — Organization (Company, Plant, Department, Users)
Open Settings from the profile menu. The Settings area has its own left navigation, grouped as Organization, Calendar, Engineering, APS and Integration. Use Back to app to return. Admin can change data on these screens; other roles see them read-only.
- Back to app — returns to the main application.
- Organization group — Company, Plant, Department, Users.
- Engineering group — Customers, Parts, Machine Groups, Machines, Routings, Changeover Matrix (the Calendar group above it holds Shift, Shift Breaks and Holidays).
5.9.1 Company
- Company Name — shown on plan sheets and printouts. Admin User and Admin Email are read-only.
- TimeZone — the company’s time zone (for example GMT+05:30 — Asia/Kolkata).
- No of Days Per Week — 4, 5, 6 or 7 days.
- Edit — makes the fields editable; Save stores the changes.
Other fields: Tax ID, Address 1, Address 2, City, State, Country, Zip Code, Phone and Week Start Day.
5.9.2 Plant and Department
- Add Plant — adds a plant (code and name). This release supports one plant; adding a second is refused.
- Search — by code or name; a status filter sits next to it.
- Status — Active or Inactive. Use the actions column to edit or to activate / deactivate.
When you deactivate a plant APS shows how many departments and machines depend on it and deactivates them too. A department cannot be activated while its plant is inactive.
- Add Department — enter a Department Name and choose its Plant (an active plant is required).
- Plant — the plant that owns the department. Deactivating a department shows the machines linked to it and deactivates them as well; on activation you can choose Department and machines or Department only.
5.9.3 Users (Admin only)
- Add User — creates a new user account.
- Role filter — show all roles or one role; a search box filters by name or e-mail.
- Role — the user’s role (Admin, Planner, …).
- Last Login — last sign-in date and time (blank if never).
- Actions — the ⋯ menu: Edit, Reset Password, Deactivate / Activate. You cannot deactivate your own account.
- Account Details — Name, Email (the sign-in name; must be unique) and Password.
- Password — the initial password the user will sign in with.
- Role Details — a read-only summary of the permissions stored for the selected role, grouped by module (Setup, Engineering, Planning, APS).
- Access — choose the Role and the Status (Active or Inactive).
How to add a user (Admin)
- Open Settings → Users and click Add User.
- Enter Name, Email and a Password; choose the Role and Status.
- Click Create User. The person signs in on the sign-in page with that e-mail and password.
How to reset a password or deactivate a user
- In Settings → Users click the ⋯ menu on the user’s row.
- Choose Reset Password and enter a new password; or choose Deactivate to block sign-in (choose Activate later to restore access).
5.10 Settings — Calendar (Shift, Shift Breaks, Holidays)
The calendar defines when machines can work. Daily available time per machine = total shift hours − break time. APS stores this in the setting Machine Available Minutes Per Day (derived and read-only) and recalculates it whenever shifts or breaks change.
- Add Shift — dialog with Shift Name, Shift order (a positive whole number: 1, 2, 3…), Start Time and End Time.
- Shift order — position of the shift in the day (1, 2, 3…); shifts are listed in this order.
- Cross Day — shows “Yes” for a shift that ends after midnight (for example 22:00 to 06:00).
- Add Break — dialog with Shift, Break Name, Start Time and End Time. A break must lie inside its shift (“Break time must be within shift timing”).
- Shift — the shift the break belongs to.
- Add Holiday — a Holiday Date and Holiday Name. Holiday dates are excluded from scheduling when Use Holiday Calendar is on.
How to set up a two-shift day with breaks (Admin)
- Settings → Shift → Add Shift: “Shift 1”, order 1, 06:00 – 14:00. Add “Shift 2”, order 2, 14:00 – 22:00.
- Settings → Shift Breaks → Add Break: select Shift 1 and add “Tea break” 09:00 – 09:15 and “Lunch” 12:00 – 12:30; repeat for Shift 2.
- Settings → Holidays → Add Holiday for each non-working date.
- Check APS Settings → Machine Rules → Machine Available Minutes Per Day — it now shows the daily minutes (870 for this example = 16 h − 1.5 h).
5.11 Settings — Engineering (Customers, Parts, Machine Groups, Machines, Routings, Changeover Matrix)
5.11.1 Customers and Parts
- Add Customer — Name, Email, Phone and Country. A customer cannot be deleted while parts reference it.
- Add Part — Part Number, Part Name, optional Customer and Description. Part number and part name must each be unique.
- Customer — the customer the part is made for (optional).
A part cannot be deleted while production orders reference it.
5.11.2 Machine Groups and Machines
- Add Group — enter a Group Name (for example “CNC Turning”).
- Machines — number of machines currently in the group.
- Add Machine — dialog with Plant, Department, Machine Group, Machine Code (unique), Machine Name and Efficiency (%).
- Filters — plant, group and status (All / Active / Inactive) next to the search box.
- Efficiency — the share of the nominal time the machine really produces. APS divides production time by this value, so 90% efficiency makes a 100-minute job take about 111 minutes.
- Status — Active or Inactive (changed with the row actions). Inactive machines are ignored by APS; a machine cannot be activated while its department or plant is inactive.
5.11.3 Routings
- Add Routing — creates a routing for a part. Each part can have only one routing.
- Operations — number of operations in the routing.
- Total Cycle Time — sum of the operations’ cycle times per part.
- View (eye icon) — opens the read-only routing details.
- Routing no. — filled in automatically from the part number (for example RTG-BRK-2002).
- Add OP — adds an operation (OP10, OP20, …). Operations run in sequence.
- Setup (minutes) — standard setup time for the operation.
- Cycle Time (seconds) — time to produce one cycle.
- Parts Per Cycle — parts made per cycle (for example 2 for a two-cavity fixture). Each operation also has a Machine Group.
- Edit Routing — opens the dialog above.
- Operation cards — each shows Machine Group, Setup (minutes), Cycle Time (seconds) and Parts Per Cycle.
5.11.4 Changeover Matrix
- Add Entry — define a changeover time for a machine group.
- Machine Group filter — show entries of one group.
- Time (mins) — minutes needed to change over.
- Default badge — the group’s default entry (Any Part / Any OP to Any Part / Any OP). Specific entries (From Part / OP → To Part / OP) override it.
How to add a part with its routing (Admin)
- Settings → Customers — add the customer if it is new.
- Settings → Parts → Add Part — enter part number, part name and customer.
- Settings → Routings → Add Routing — choose the part, click Add OP for each operation and set Machine Group, Setup (minutes), Cycle Time (seconds) and Parts Per Cycle. Save.
- Optionally add specific Changeover Matrix entries between this part and others.
- The part can now be chosen on Orders.
5.12 APS Settings
Who: any signed-in user can open the page; changes affect every future run. Where: Settings → APS Settings. Settings are grouped and can be collapsed. Only settings that the scheduler really uses today are shown.
- Planning — horizon, freeze, backfill and continuity.
- Scheduling Strategy — direction and dispatch rule.
- Machine Rules — available minutes, utilization target and maintenance handling.
- Changeover Rules — whether changeover time is included.
- Reset — discards unsaved edits (enabled only when something changed).
- Save Changes — saves all edited values; a “Settings saved” message appears.
| Group | Setting | Default | Effect |
|---|---|---|---|
| Planning | Planning Horizon (Days) | 30 | Days ahead APS plans. |
| Planning | Freeze Horizon (Days) | 2 | Near-term days protected from rescheduling. |
| Planning | Enable Horizon Backfill | On | After the primary orders, pull later orders into free capacity. |
| Planning | Backfill Lookahead (Days) | 0 | How far beyond the horizon backfill looks; 0 means through the end of the next calendar month. |
| Planning | Operation Continuity | Continuous | Whether an operation may continue across shift and day boundaries (Continuous) or must stop at shift end or day end. |
| Scheduling Strategy | Scheduling Direction | Forward | Only Forward is available (Backward is “coming soon”). |
| Scheduling Strategy | Dispatch Rule | Earliest Due Date | Only this rule is available. |
| Capacity Rules | Allow Weekend Scheduling | Off | When off, Saturdays and Sundays are not worked. |
| Capacity Rules | Use Holiday Calendar | On | Holidays from Settings → Holidays are non-working. |
| Capacity Rules | Capacity Type | Finite | Only Finite is available (Infinite is “coming soon”). |
| Machine Rules | Machine Available Minutes Per Day | derived | Calculated from shifts and breaks; read-only. |
| Machine Rules | Machine Utilization Target (%) | 85 | Target load used for backfill and for the dashboard health score. |
| Machine Rules | Consider Planned Maintenance | On | Maintenance windows block machines. |
| WIP Rules | Minimum WIP before Next Operation | 1 | Minimum quantity in WIP before the next operation can start. |
| WIP Rules | Allow Partial Batch Transfer | On | Allow the next operation to start on part of the batch. |
| WIP Rules | Minimum Remaining Batch Size | 5 | Smallest remaining batch worth scheduling. |
| Changeover Rules | Consider Changeover Time | On | Include changeover/setup time between jobs. |
5.13 Drop Current Plan, demo data and integration pages
5.13.1 Drop Current Plan (Admin only)
- Warning panel — explains what the action does: it removes all PLANNED schedule entries across plants and resets production-order plan status. Entries that are In progress, Stopped or Completed are kept. It cannot be undone; run APS again to rebuild.
- Drop current plan — starts the action.
- Confirmation message — “Enter your password to confirm. Planned schedule rows will be deleted.”
- Password — your own sign-in password; click Drop plan to continue.
Use this to clear a bad plan before starting over. Normally you do not need it, because every RUN replaces the planned entries automatically.
5.13.2 Integration pages
- ERP Connections, Data Synchronization and Import / Export show “This section is under development and will be available in a future release.”
5.13.3 Demo data menu
The profile menu (and the sign-in page’s ⋮ menu) contains Clear demo data and Reload demo data.
- Demo data menu — Clear demo data and Reload demo data.
6. Standard operating procedures
The procedures below follow a task from start to finish. Each lists who performs it, what you need, the steps and the expected result. Screen details are in chapter 5.
6.1 Set up APS for a new plant (Administrator)
You need: MySQL 8, the APS package, your list of machines, parts, routings and shifts.
- Start APS and complete the setup wizard (section 4.2). Choose No, start empty.
- Sign in as the administrator. Open Settings → Company and complete the profile (Edit, Save).
- Create the Plant and Departments.
- Define Shifts, Shift Breaks and Holidays.
- Create Machine Groups, then Machines with efficiency values.
- Create Customers, Parts and a Routing for every part.
- Add Changeover Matrix defaults for each machine group.
- Create user accounts for planners and viewers (Settings → Users).
- Review APS Settings.
Result: the plant is ready to receive orders.
6.2 Enter a new customer order
- Check that the part and its routing exist (Settings → Parts / Routings); add them if not.
- Production → Orders → Add Production Order: enter number, type, part, quantity, priority and delivery date.
- If material is not in stock, choose PO Given or PO Not Done and enter the expected material date.
- Open Capacity → Demand vs Capacity to see whether the new order fits.
- Run APS (6.3) to include it in the plan.
6.3 Run the production plan (Planner)
- Update Orders, WIP Inventory and Maintenance.
- Check APS Settings (especially horizon and weekend scheduling).
- Open Planning → Schedule Board, confirm the Plant, then click RUN.
- Wait for the progress card to finish; read the Schedule run report — especially Warnings and any order whose Expected completion is after its Delivery date.
- Click Close, then open the Dashboard to see the effect on delivery commitment and the health score.
Result: a fresh plan replaces the previous planned entries; unscheduled orders disappear from the Unscheduled Orders list.
6.4 Handle a rush order or a delivery-date change
- For a new rush order, follow 6.2 and set Priority to High. Priority only breaks ties between orders with the same delivery date, so give the rush order the earliest realistic delivery date.
- For an existing order, Edit the Delivery Date (Orders list).
- Run APS (6.3).
- Check the affected orders on By Order and on the Late Orders report.
6.5 Plan around planned maintenance or a machine outage
- Planned work: Production → Maintenance → Add; pick the machine and a future start and end.
- Long outage: Settings → Machines, set the machine to Inactive; APS will then use only the remaining active machines of its group.
- Run APS (6.3).
- On By Machine confirm the maintenance day is blocked, and on Capacity → Machine Group Capacity see the reduced Available Capacity.
6.6 Investigate a late order
- On the Dashboard → Risk & Delivery, note the late order and its Reason.
- Open Capacity → Demand vs Capacity, expand the order and find the machine group with a low % Available.
- Open Planning → By Order and select the order: look at which operation finishes last and on which machine.
- Open Planning → By Machine for that machine to see how heavily it is loaded.
- Decide: add capacity (machines, shifts, weekend scheduling), move other orders’ dates, or agree a new delivery date. Update the data and run APS again.
6.7 Issue the shop-floor plan
- After the final run of the day, open Plan Sheets → Daily Production Plan, set the Planning date and click PDF or Excel.
- Open Shift Production Plan, choose the shift and Print for each supervisor.
- Open Machine Production Plan, choose a machine and shift (or All machines) and Print for operators.
- At the end of the shift, record Actual quantities, downtime and quality results on the printed sheets.
6.8 Add a machine (Administrator)
- Settings → Machines → Add Machine: choose Plant, Department, Machine Group; type a unique Machine Code, Machine Name and Efficiency (%); set Status to Active. Save.
- Check Capacity → Machine Group Capacity: the group’s machine count and total hours increase.
- Run APS so work can use the new machine.
6.9 Reset and rebuild the plan (Administrator)
- Settings → Drop Current Plan and read the warning.
- Click Drop current plan, enter your password and click Drop plan.
- Go to Planning → Schedule Board and click RUN to build a new plan.
6.10 Month-end review
- Open Reports → On-Time Delivery and Late Orders; record the on-time rate and late orders.
- Open Reports → Capacity Utilization and Machine Load for utilization of each group and machine.
- Open Dashboard → Capacity → Bottleneck Analysis for the main capacity losses.
- Use Plan Sheets to archive the issued plans if required.
7. Reports and metric definitions
7.1 Where to find each report
| Report | Location | Answers the question | Export |
|---|---|---|---|
| Dashboard (6 tabs) | Dashboard | Can we deliver on time and where is the plant stressed? | TV display |
| Capacity Overview | Capacity | How much capacity vs demand over 30 days and 6 months? | — |
| Machine Group Capacity | Capacity | How much capacity is left in each group and machine? | — |
| Demand vs Capacity | Capacity | Does each order have the capacity it needs before delivery? | — |
| Production Schedule | Reports | How many parts per day will each operation complete for one order? | — |
| Capacity Utilization | Reports | How loaded is each machine group each day? | — |
| Machine Load | Reports | How loaded is each machine each day? | — |
| WIP Summary | Reports | How much work is waiting, where and for which operation? | — |
| Late Orders | Reports | Which orders will be late or at risk? | — |
| On-Time Delivery | Reports | What share of orders will be on time? | — |
| Daily / Shift / Machine plans | Plan Sheets | What should be produced when, on which machine? | Print; PDF and Excel (Daily, Shift) |
7.2 Metric definitions
| Metric | Definition |
|---|---|
| Available hours (machine) | Working days in the period × daily available time, where daily available time = shift hours − break time (for example two 8-hour shifts with 45 minutes of breaks each = 14.5 h). |
| Maintenance hours | Hours of planned maintenance windows in the period. |
| Available capacity | Total hours − maintenance hours. |
| Planned load / utilized hours | Hours of SETUP and PRODUCTION planned in the period (maintenance excluded). |
| Utilization % | Planned load ÷ available capacity. |
| Remaining capacity | Available capacity − planned load. |
| Required hours (order) | For each routing operation: (setup minutes + quantity to produce × cycle seconds ÷ parts per cycle ÷ 60) ÷ 60, using quantity net of WIP. |
| Capacity gap | Required hours − available hours. Positive = shortage; negative = spare. |
| Headroom | Spare capacity as a percentage of total capacity. |
| Expected completion | End time of the last planned PRODUCTION entry of the order’s final operation. |
| Days vs delivery | Expected completion − delivery date, in days (positive = late). |
| On time / At risk / Late | 0 or fewer days / 1 to 3 days / more than 3 days after delivery (see section 5.1). |
| Delivery commitment | Orders on time ÷ orders with a reliable completion date. |
| APS Health Score | Weighted score (delivery 40%, capacity balance 20%, utilization 15%, stability 15%, risk 10%). |
| Planning day (reports) | The Production Schedule report counts a planning day from 06:00 to the next 06:00. |
7.3 Reading the Schedule Exceptions and recommendations
- Critical exceptions mean an order cannot meet delivery on the current plan.
- Medium exceptions mean an order is constrained on a machine group or material is pending.
- Low exceptions note things such as capacity utilized on a weekend.
- Recommendations on the Actions tab are ranked by impact (for example the hours of gap closed or the days of delay addressed).
8. Configuration guide (administrator)
8.1 What is configured where
| Setting | Where | Notes |
|---|---|---|
| Database connection | Setup wizard → <code>config/application-local.yml</code> | Restart the application after changing it manually. |
| Server port | server.port in application-local.yml (default 8080) | |
| JVM options | JAVA_OPTS environment variable | e.g. <code>-Xmx2g</code>. |
| Security secrets | jwt.access.secret, jwt.refresh.secret | Set unique values of at least 32 characters before production. |
| Company, plant, calendar, master data | Settings screens | Stored in the database. |
| Scheduling behaviour | Settings → APS Settings | Stored in the database; applies from the next run. |
| Users and roles | Settings → Users | Admin only. |
8.2 Database settings
The wizard writes these values for you. To edit them by hand, copy config/application-local.yml.example to config/application-local.yml:
| Key | Meaning | Example |
|---|---|---|
server.port | HTTP port | 8080 |
spring.datasource.url | JDBC URL of the MySQL database | jdbc:mysql://localhost:3306/aps?createDatabaseIfNotExist=true&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Kolkata |
spring.datasource.username / password | MySQL account | aps_app |
jwt.access.secret, jwt.refresh.secret | Secrets used to sign sign-in tokens | (your own long random strings) |
root with a simple password and well-known JWT secrets. Create a dedicated, least-privilege MySQL account and generate unique JWT secrets before going live.8.3 Time zone
The sample configuration uses Asia/Kolkata for the database connection and the server. Set the TimeZone on Settings → Company to match your plant. If your plant is in a different time zone, also set the same zone in the JDBC URL (serverTimezone=) in application-local.yml.
8.4 Backup, upgrade and reset
- Back up the MySQL database (for example
mysqldump aps > aps.sql) and theconfigfolder regularly. - Upgrade: stop APS, back up, replace
aps.jarwith the new release (keepconfig/), start APS. Database upgrades run automatically (Flyway). Never edit migration files that have already been applied. - Reset a practice installation: drop and re-create the
apsdatabase and restart; the setup wizard appears again. - Run as a service: use your operating system’s service manager to run
run.sh/run.batat start-up.
8.5 Security recommendations
- Run APS only on a trusted network or behind a firewall and an HTTPS reverse proxy. The application serves plain HTTP.
- The setup and demo-data functions are reachable without signing in in this build. Block external access to them (for example at the reverse proxy) once your system is in use.
- Give each person their own account and use Deactivate for people who leave.
- Because roles are only partly enforced (section 3.2), give accounts to trusted staff only.
- The project README mentions a seeded administrator account. The current database schema does not create one; use the setup wizard.
9. Troubleshooting
9.1 Starting and signing in
| Symptom | Likely cause | What to do |
|---|---|---|
| “Cannot reach APS backend” on the sign-in page | The server is not running, or the browser cannot reach its address/port. | Start APS, check the address and port (default 8080) and any firewall. |
| Every page opens the setup wizard | Setup is not complete (no administrator yet, or the database is empty). | Finish the wizard. If this is an existing system you are connected to the wrong database — check <code>application-local.yml</code>. |
| “Could not connect to MySQL” | MySQL is not running, or host, port, user or password is wrong. | Verify MySQL is running and the account can create databases; retry step 1. |
| “Setup is already complete.” / “An admin user already exists.” | The wizard has already been finished. | Sign in on the normal page. |
| Login fails | Wrong e-mail/password or the user is inactive. | Check spelling; ask an Admin to reset the password or activate the user. |
| “Restricted for ADMIN only” | Your role is not Admin. | Ask an Admin, or request the role change. |
| Redirected back to the sign-in page | The session ended or the server restarted. | Sign in again. |
9.2 Orders and master data
| Symptom / message | Likely cause | What to do |
|---|---|---|
| “Production order number already exists” | Duplicate order number. | Use a new unique number. |
| “Expected Material Delivery Date is required when material is not available” | Material status is PO Given / PO Not Done without a date. | Enter the expected date or set status to Available. |
| “Completed production orders cannot be edited” | The order is already completed. | Create a new order if needed. |
| “Cannot delete part referenced by production orders” | Orders exist for the part. | Delete the orders first, or keep the part. |
| “Cannot delete customer referenced by parts” | Parts use this customer. | Re-assign or delete the parts first. |
| “A routing already exists for this part number” | One routing per part. | Edit the existing routing. |
| “Machine code already exists” | Duplicate machine code. | Use a unique code. |
| “Cannot activate machine while its department / plant is inactive” | Parent is inactive. | Activate the department or plant first. |
| “Maintenance must be scheduled for a future date and time” / “This machine already has maintenance…” | Past start time or overlapping window. | Choose a future, non-overlapping window. |
| “Next operation must come after the completed operation in the routing sequence” | WIP operations in the wrong order. | Pick the correct pair of operations. |
| “Schedule-linked WIP rows cannot be edited / deleted here” | The WIP row was created by the schedule. | Leave it; it is managed by APS. |
| “Admin password must be at least 8 characters.” | Setup wizard password rule. | Use 8 or more characters. |
9.3 Running APS and reading the plan
| Symptom / message | Likely cause | What to do |
|---|---|---|
| RUN is greyed out | Your role is not Admin or Planner, or a run is already in progress. | Use a Planner/Admin account; wait for the current run. |
| “No active machines found for scheduling” | No machine is active. | Activate machines (Settings → Machines). |
| “No routing found for part …” / “No routing operations found …” | The part has no routing or the routing is empty. | Create the routing with at least one operation. |
| An order stays in Unscheduled Orders | Missing delivery date, missing routing, or delivery date beyond the backfill window. | Fix the order or routing and run again; read the run report Warnings. |
| Order “finishes after delivery date” | Not enough capacity before the delivery date. | See procedure 6.6. |
| Nothing is planned on weekends | Allow Weekend Scheduling is off (default). | Turn it on in APS Settings if you work weekends. |
| Nothing planned on a holiday | Use Holiday Calendar is on and the date is a holiday. | Remove the holiday or turn the setting off. |
| Plan changed after I pressed RUN | Each run replaces all Planned entries. | This is expected; In-progress/Completed entries are kept. |
| Machine looks idle on a working day | Maintenance window, or no work routed to its group. | Check By Machine and Maintenance. |
| Setup/changeover times look wrong | Changeover Matrix entry or routing setup time. | Check the Changeover Matrix defaults and specific entries. |
| Utilization above 100% on a screen | Different periods or overlapping entries counted. | Use the same period on both screens; check Machine Group Capacity. |
9.4 Screens and browser
| Symptom | Likely cause | What to do |
|---|---|---|
| A page is empty | No data yet, or the plan was dropped. | Enter data or run APS. |
| Numbers look stale | Page not refreshed. | Click Refresh, then reload the browser. |
| Cannot open a page by typing the address | Not signed in. | Sign in first; you are then returned to the page. |
| Plan sheet PDF/Excel does not download | Browser pop-up or download blocker. | Allow downloads for the APS address. |
| Pictures or fonts missing | No internet access for external assets. | Core features work offline; images/fonts from external sites may not load. |
10. Frequently asked questions
What does the RUN button actually do?
It deletes the Planned entries of the plant and rebuilds them for every open order, in delivery-date order, on active machines of the required groups, respecting calendars, breaks, holidays, maintenance, setup and efficiency. In-progress, stopped and completed work is kept.
Who can run APS?
Users with the Admin or Planner role.
Why is my order “Not Planned”?
It has not been included in a run yet, it has no delivery date, its part has no routing, or its delivery date is beyond the backfill window.
What is a backfill order?
An order with a delivery date after the planning horizon that APS pulls forward to use otherwise idle machine capacity.
How does priority work?
Orders are sorted by delivery date first. Priority only decides between orders with the same delivery date.
Does material status stop an order from being planned?
No. It is recorded and shown, but the scheduler does not delay work for it.
Why doesn’t APS plan Saturdays and Sundays?
Weekend scheduling is off by default. Turn on Allow Weekend Scheduling in APS Settings.
How is machine capacity per day calculated?
Shift hours minus breaks. Change shifts or breaks and the value is recalculated automatically.
What does machine efficiency do?
It stretches production time: time ÷ efficiency. 90% efficiency turns 100 minutes into about 111.
Can two machines work on one operation?
APS chooses one machine from the group for each operation of an order; different orders spread across the machines of a group.
What is WIP used for?
To avoid planning work already done: WIP quantity at an operation reduces what is left to produce.
Can I plan backwards from the delivery date?
Not yet — only forward scheduling is available; backward is marked “coming soon”.
What is the difference between Capacity Overview and Machine Group Capacity?
Overview compares demand with capacity for the next 30 days and 6 months; Machine Group Capacity shows installed, maintenance, planned and remaining hours per group for a period you choose.
How do I get a paper plan for the shop floor?
Plan Sheets: Daily (plant head), Shift (supervisor) and Machine (operator). Use Print, and PDF/Excel on the Daily and Shift plans.
Can I import orders or data from my ERP?
Not in this build — the Integration pages are placeholders. Enter or maintain data on the screens.
How do I change a user’s password?
Settings → Users → ⋯ → Reset Password (Admin).
Why can’t I change a production order’s quantity?
Only delivery date and material details are editable. Delete the order and create it again with the new quantity.
Does APS work offline?
Yes, on your own network; only external fonts or images need internet.
Is demo data safe to use in production?
No. Clearing or reloading demo data deletes business data. Use it only on practice systems.
Appendix A. Role and screen quick reference
| Screen / action | Admin | Planner | Other roles |
|---|---|---|---|
| Sign in, Dashboard, Capacity, Planning views, Plan Sheets, Reports | ✔ | ✔ | ✔ |
| Production Orders (add, edit, delete) | ✔ | ✔ | ✔ |
| Run APS (RUN) | ✔ | ✔ | — |
| APS Settings (change values) | ✔ | ✔ | ✔ |
| WIP Inventory, Maintenance (add / edit / delete) | ✔ | — | — |
| Company, Plant, Department, Shift, Breaks, Holidays (change) | ✔ | — | — |
| Customers, Parts, Machine Groups, Machines, Routings, Changeover (change) | ✔ | — | — |
| Users (open page, add, reset password, deactivate) | ✔ | — | — |
| Drop Current Plan | ✔ | — | — |
“Other roles” means every role other than Admin and Planner. Roles are described in chapter 3.
Appendix B. Status and code reference
| Item | Values |
|---|---|
| Order type | Confirmed PO, Planned Order, Sales Order, Forecast |
| Order priority | High, Medium, Low |
| Material status | Available, PO Given, PO Not Done |
| Order planning status | Not Planned, Partially Planned, Planned, Completed |
| Schedule entry type | SETUP, PRODUCTION, MAINTENANCE, BREAKDOWN, BLOCKED |
| Schedule entry status | Planned, In progress (Running), Stopped, Completed |
| Delivery status | On time, At risk (1–3 days late), Late (more than 3 days late) |
| Maintenance severity | Mandatory, High, Medium, Low |
| Machine / plant / department status | Active, Inactive |
| User status | Active, Inactive |
| Capacity period options | 7 Days, 30 Days, 90 Days, This Month, Next Month, Custom (Machine Group Capacity); 7 Days, 30 Days, 90 Days, 6 Months, 1 Year (Demand vs Capacity) |
| Utilization bands | > 95% bottleneck · 85–95% high · 70–85% good · 50–70% available · < 50% under-utilized |
| Roles | Admin, Plant Admin, Planner, Production Manager, Production Supervisor, Operator, Quality Engineer, Maintenance Engineer, Stores, Management, Viewer |
Appendix C. Glossary
| Term | Meaning |
|---|---|
| APS | Advanced Production Scheduling. |
| Backfill | Pulling later orders forward into free capacity. |
| Bottleneck | A machine group loaded above 95%. |
| Changeover | Time to switch a machine from one part/operation to another. |
| Cycle time | Time to produce one cycle (seconds); one cycle makes “parts per cycle” parts. |
| EDD | Earliest Due Date — orders with the earliest delivery date are planned first. |
| Finite capacity | A machine can do only one job at a time and only within working hours. |
| Gantt | A timeline chart showing jobs per machine over time. |
| Horizon | The number of days ahead that APS plans. |
| Routing | The ordered list of operations needed to make a part. |
| Setup | Preparation time before a job starts on a machine. |
| WIP | Work in progress: quantity finished up to some operation. |
Appendix D. Known limitations in this version
The following behaviours were found while preparing this manual. They are listed so that users and administrators are not surprised; none stops the core planning workflow.
| Area | What to expect | Workaround |
|---|---|---|
| Role enforcement | The role-permission list is stored but not applied. Only Admin-only screens, Admin/Planner for RUN and Admin for Drop Current Plan are enforced. | Assign accounts carefully; see section 3.2. |
| Open setup / demo-data endpoints | Clear/Reload demo data are reachable without signing in and delete data. | Restrict network access; do not use on live data. |
| Sign-in page links | “Forgot your password?” and “Sign up” do nothing. | Admin resets passwords and creates users. |
| Production orders and APS Settings | Not restricted by role. | Limit who has accounts. |
| Scheduling options | Backward scheduling, infinite capacity and other dispatch rules are “coming soon”. | Use Forward / Finite / Earliest Due Date. |
| Material status | Not used to delay scheduling. | Adjust delivery dates manually. |
| Integration | ERP Connections, Data Synchronization, Import / Export are placeholders. | Enter data on screens. |
| Single plant | Only one plant can be created. | — |
| Weekend setting | “No of Days Per Week” on the Company screen is informational; weekends are controlled by Allow Weekend Scheduling. | Use the APS setting. |
| Reports | No export buttons on report pages (plan sheets export). | Print from the browser. |