Advanced Planning and Scheduling (APS) – User Manual

Software overview · Module guide · Operating procedures · Roles and permissions · Reports and configuration · Troubleshooting and FAQs

APS dashboard

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 userSections 5.6 (Schedule views) and 5.7 (Plan sheets), and procedure 6.7.
AdministratorChapters 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:

TopicWhere to find it
Complete software overviewChapter 2
Module-wise user instructionsChapter 5 — one section per module
Step-by-step operating proceduresChapter 6 (end-to-end procedures) and the “How to” steps inside each module
Screen-by-screen explanationsChapter 5 — every screen has a numbered explanation table
Screenshots with explanationsChapter 5 — annotated screenshots (red numbers match the explanation tables)
User roles and permissionsChapter 3 and Appendix A
Reports and configuration guidesChapter 7 (reports and metric definitions) and chapter 8 (configuration)
Troubleshooting and FAQsChapters 9 and 10

1.3 Conventions used

  • Bold text is a button, menu item, field or value you see on screen.
  • Monospaced text is 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.
Important: About the screenshots. The screenshots were captured from the application’s own user interface using realistic sample (demo) data — the plant, machines, parts, customers, orders and figures shown are fictitious. Your screens will show your own data but are otherwise identical in layout. Some screenshots are taken while signed in as an Administrator or a Planner; where a screen differs by role, this is stated.

1.4 Document information

ItemDetail
ProductFactovize APS — Advanced Production Scheduling (package com.bevywise.aps)
Manual version1.0
Date18 November 2026
BasisPrepared 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

StepWhat you doWhere
1Set 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)
2Enter or update demand: production orders, work-in-progress (WIP) and planned machine maintenance.Orders, WIP Inventory, Maintenance
3Check that demand fits capacity before scheduling.Capacity Overview, Machine Group Capacity, Demand vs Capacity
4Press RUN to build the schedule (Admin or Planner).Planning → Schedule Board
5Review the result: run report, Gantt board, By Order, By Machine, and the Dashboard.Planning, Dashboard
6Publish plan sheets for the shop floor and use the reports in review meetings.Plan Sheets, Reports
7When things change (new order, breakdown, material delay) update the data and run again.Any

2.3 Modules at a glance

ModulePurposeMenu location
DashboardAPS health score, delivery commitment, capacity, orders, machines and recommended actions; TV display mode.Dashboard
OrdersProduction orders with delivery date, priority, type and material status.Production → Orders
WIP InventoryQuantities already completed up to a routing operation.Production → WIP Inventory
MaintenancePlanned machine downtime windows.Production → Maintenance
CapacityCapacity Overview, Machine Group Capacity, Demand vs Capacity.Capacity
PlanningSchedule Board (run APS and Gantt), By Order, By Machine.Planning
Plan SheetsDaily, Shift and Machine production plans; print, PDF, Excel.Plan Sheets
ReportsProduction Schedule, Capacity Utilization, Machine Load, WIP Summary, Late Orders, On-Time Delivery.Reports
SettingsOrganization, calendar, engineering master data, APS settings, danger-zone tools.Profile menu → Settings

2.4 How APS is built and deployed

AspectDetail
ApplicationSpring Boot 3 (Java) back end with a React + TypeScript browser interface. In a packaged installation both run from a single aps.jar.
DatabaseMySQL 8. Tables are created and upgraded automatically at start-up (Flyway migrations).
AddressAPI and interface on port 8080 (http://<server>:8080). The Docker sample also serves the interface on port 5173.
Sign-inE-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 zoneThe sample configuration uses Asia/Kolkata for the server and database connection. The company record also stores a time-zone name.
First runA three-step setup wizard connects the database, creates the first administrator and optionally loads demo data (section 4.2).
BrowserA current desktop browser is recommended. Screens are designed for desktop and large-tablet widths.

2.5 Key concepts

TermMeaning in APS
Plant, DepartmentThe organisational structure. A department belongs to a plant; machines belong to a department. This release supports one plant.
Machine groupA set of interchangeable machines (for example “CNC Turning”). Routing operations are assigned to a group, not to a single machine.
MachineA single resource with a code, a group, a department and an efficiency % that stretches the planned time.
Part and routingA 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 orderA quantity of one part with a delivery date, priority, order type and material status.
WIP inventoryQuantity 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, holidayDefine the working calendar. Daily machine capacity = shift hours − breaks. Holidays are non-working days.
Planning horizonNumber of days ahead that APS plans (default 30).
Primary and backfill ordersOrders with delivery inside the horizon are planned first. If horizon backfill is on, later orders are pulled forward into free capacity.
Forward, finite-capacity schedulingAPS 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 entryOne block on a machine: SETUP, PRODUCTION or MAINTENANCE, with a status (Planned, In progress, Stopped, Completed).
UtilizationPlanned hours ÷ available hours of a machine or group.
Changeover matrixSetup time when a machine switches from one part/operation to another; a specific entry overrides the group default.
Freeze horizonNumber 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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. Replaces the previous plan. Entries that are still Planned are cleared and rebuilt. Entries that are In progress, Stopped or Completed are kept.
  7. Reports the outcome. A run report lists, for each order, whether it is in the horizon, its expected completion, machine hours used, plus warnings.
Note: The engine reads the 17 settings shown on Settings → APS Settings (section 5.12). Some options in the original specification — for example backward scheduling or infinite capacity — are shown as “coming soon” and cannot be chosen yet.
Important: Material status (Available / PO Given / PO Not Done) is recorded on each order and shown to planners, but the scheduler does not hold an order back because material is late. If material is not ready, adjust the delivery date or expected material date and plan accordingly.

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 databasePermissions stored
AdminPlatform Administrator33 (all)
Plant AdminPlant Administrator28
PlannerProduction Planner14
Production ManagerProduction Manager7
Production SupervisorProduction Supervisor4
OperatorMachine Operator2
Quality EngineerQuality Engineer4
Maintenance EngineerMaintenance Engineer2
StoresStores & Inventory2
ManagementManagement Dashboard User4
ViewerRead-only viewer7

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:

RuleApplies toHow it appears
Must be signed inEverything except the sign-in page, setup wizard and public setup endpointsNot signed in → redirected to the sign-in page
Admin onlyUsers 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 PlannerRunning APS (RUN on the Schedule Board)For other roles the RUN button is disabled
Any signed-in userDashboard, Capacity, Planning views, Plan Sheets, Reports, Production Orders (add, edit delivery/material, delete) and APS SettingsVisible and usable by every role
APS overview
  1. RUN is greyed out because the signed-in role is neither Admin nor Planner.
Machine details
  1. Efficiency / Status columns are visible, but there is no Add Machine button and no row actions.
APS - User Restriction
  1. Restricted for ADMIN only — only Administrators can open User Management.
Important: Production Orders and APS Settings are not role-restricted in the screens. Any signed-in user can add, edit delivery dates of and delete production orders, and can change APS Settings. Assign accounts accordingly, and give planning-critical screens only to trusted users.

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

PersonRole to chooseWhy
System owner / ITAdminOnly role that can manage users, master data and drop the plan.
Production plannerPlannerCan run APS; reads all master data.
Plant head, production managerProduction ManagerRead access to dashboards, capacity and reports.
Shift supervisor, operatorProduction Supervisor / OperatorRead 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.

TaskCommand / 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 memorySet 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

APS Setup
  1. Host — name or IP of the MySQL server (default localhost).
  2. Database name — default aps. APS creates it if it does not exist.
  3. Username (and Password) — a MySQL account allowed to create the database and tables.
  4. Create database and continue — tests the connection, creates the database, applies the schema and saves the connection to config/application-local.yml.
Note: The Port field (default 3306) sits next to Database name. If the wizard reports that a restart is required after saving the connection, stop and start the application, then reopen the wizard — it resumes at step 2.

Step 2 of 3 — first administrator

APS Setup screen
  1. Full name — shown in the application.
  2. Email — becomes the sign-in name.
  3. Password — at least 8 characters.
  4. Confirm password — must match.
  5. Create admin and continue — creates the Admin account (only possible while no admin exists).

Step 3 of 3 — demo data

APS setup completion
  1. Yes, load demo data — loads sample plant, machines, parts, routings, orders and WIP so that you can explore every screen immediately.
  2. No, start empty — starts with a clean system; you then enter your own master data.
Warning: Choose No, start empty for a production system. Demo-data tools (section 5.13) can delete all business data and are available without signing in. Use them only on a practice installation.
  1. Complete step 1 and click Create database and continue.
  2. Complete step 2 and click Create admin and continue.
  3. 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

APS Login
  1. Email — the address of your account.
  2. Password — your password.
  3. Login — opens the Orders page.
  1. Open the APS address in your browser.
  2. Type your Email and Password and click Login. After a successful sign-in the Orders page opens.
  3. To leave, click the logout icon at the top right (or Logout in the profile menu).
Note: If the screen says Cannot reach APS backend, the server is not running or the browser cannot reach it. See chapter 9.

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.

APS dashboard
  1. Left navigation — grouped as Production, Capacity, Planning, Plan Sheets and Reports (Dashboard is at the top). The current page is highlighted.
  2. Plant selector — chooses the plant shown (this release has one plant).
  3. Refresh — reloads data from the server.
  4. Dashboard tabs — Overview, Risk & Delivery, Capacity, Orders, Machines, Actions.
  5. APS Health Score — headline score out of 100 (section 5.1).
  6. Planning Health — five key indicators for the current horizon.
  7. Delivery Commitment — share of orders that will be on time.
  8. 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.

APS dashboard settings
  1. Settings — opens the Settings area (section 5.9 onwards).
  2. TV Display — opens the full-screen wall display of the dashboard.
  3. Logout — signs you out. The menu also lists the Demo Data tools (see the warning in section 5.13).
Navigation groupItems
(top)Dashboard
ProductionOrders · WIP Inventory · Maintenance
CapacityCapacity Overview · Machine Group Capacity · Demand vs Capacity
PlanningSchedule Board · By Order · By Machine
Plan SheetsDaily Production Plan · Shift Production Plan · Machine Production Plan
ReportsProduction 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

  1. Company — check name, address, time zone, week start day and working days per week (Settings → Company).
  2. Plant and Departments — create your plant and departments (Settings → Plant, Department).
  3. Shifts, Shift Breaks and Holidays — define the working calendar (Settings → Calendar).
  4. Machine Groups and Machines — create the groups, then the machines with their efficiency (Settings → Engineering).
  5. Customers and Parts — enter customers and the parts you make.
  6. Routings — define each part’s operations with setup time, cycle time and parts per cycle.
  7. Changeover Matrix — enter group defaults and any part-to-part exceptions.
  8. Users — create accounts and assign roles.
  9. APS Settings — review horizon, backfill, freeze and continuity (defaults are sensible).
  10. 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.

IndicatorWhat 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 horizonOpen orders whose delivery date falls inside the planning horizon.
Backfill ordersOrders delivering after the horizon that APS pulled forward to use spare capacity.
Orders on timeOrders whose expected completion is on or before the delivery date.
Orders at riskHorizon orders expected to finish 1 to 3 days after the delivery date.
Capacity utilizationAverage utilization of the machine groups.
Delivery CommitmentOn-time orders ÷ orders that have a reliable completion date.
Late & At-Risk OrdersOrder, 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 statusRule
On timeExpected completion is on or before the delivery date.
At riskExpected completion is 1 to 3 days after the delivery date.
LateExpected 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

APS dashboard - Delivery performance
  1. Delivery Commitment — percentage of orders on time, with a link to the On-Time Delivery report.
  2. Late & At-Risk Orders — order, customer, due date, delay and reason.
  3. 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

APS Capacity overview
  1. Machine Capacity Overview — installed (available) hours versus planned hours and utilization, per machine group; click a group name to open Machine Group Capacity.
  2. Bottleneck Analysis — ranks groups by utilization and shows Capacity Loss Analysis (hours lost to Setup, Maintenance, Material Waiting, Blocked Time and Machine Idle).
  3. 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:

UtilizationColourMeaning
Above 95%RedFully loaded — bottleneck
85% – 95%OrangeHigh utilization
70% – 85%YellowGood utilization
50% – 70%GreenAvailable capacity
Below 50%BlueUnder-utilized

5.1.4 Orders, Machines and Actions tabs

APS - Orders list
  1. 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.
APS Machine list
  1. Machine Board — one card per active machine: utilization, production, setup and idle hours, and the orders loaded on it.
APS Recommendations
  1. 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.

APS dashboard - TV display view

How to read the Dashboard each morning

  1. Open Dashboard and click Refresh.
  2. Check the APS Health Score and Delivery Commitment. If they dropped, open Risk & Delivery.
  3. Review Late & At-Risk Orders and Schedule Exceptions; note the reasons.
  4. 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.

APS Production orders
  1. Add Production Order — opens the add dialog.
  2. Search — by order number, customer or part.
  3. Material filter — All Material, Available, PO Given or PO Not Done.
  4. Plan Status filter — All, Not Planned, Partially Planned, Planned or Completed.
  5. Material — change an order’s material status straight from the list (a drop-down on each row).
  6. Status — planning status of the order: Not Planned, Partially Planned, Planned or Completed.
  7. Edit (pencil) — change the delivery date and material information.
  8. 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.

Add production order
  1. Production Order # — a unique order number (for example PO-1013).
  2. Order Type — Confirmed PO, Planned Order, Sales Order or Forecast.
  3. Part — choose from the part master (the part must already have a routing to be planned).
  4. Quantity — must be greater than zero.
  5. Delivery Date — required; orders without a delivery date are skipped by APS.
  6. 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 fieldNotes
Production Order #Must be unique. Cannot be changed after creation.
Order TypeConfirmed PO · Planned Order · Sales Order · Forecast. Informational; all types are planned.
Part, QuantityCannot be changed after creation. To change them, delete the order and create a new one.
Delivery DateCan be edited. Drives sequencing (earliest first) and delivery status.
Material Status / Expected dateCan be edited. Informational for planners; not used by the scheduler to delay work.
StatusNot Planned → Partially Planned → Planned after a run; Completed orders cannot be edited.

How to add a production order

  1. Open Production → Orders and click Add Production Order.
  2. Enter the Production Order #, choose the Order Type and Part, type the Quantity, set the Priority and Delivery Date.
  3. If material is not in stock, set Material Status to PO Given or PO Not Done and enter the Expected Material Delivery Date.
  4. Click Create Production Order. The order appears as Not Planned until you next run APS.

How to change a delivery date

  1. Find the order (use Search) and click the Edit pencil.
  2. Change Delivery Date, Material Status or the expected material date and save.
  3. Run APS again (section 5.6) so the schedule reflects the new date.
Warning: Because this screen is open to every role, restrict who gets accounts. Deleting an order cannot be undone.

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.

WIP inventory
  1. Completed Op — the last operation already finished (blank when the material is raw and untouched).
  2. Next Op — the operation that will process this quantity next.
  3. 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)

  1. Click Add WIP.
  2. Select the Part first — the Completed Operation and Next Operation lists come from that part’s routing.
  3. Choose the Production Order, the completed and next operations, type the Quantity and an optional WIP Location.
  4. 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.
Note: WIP rows created by the schedule itself are protected: “Schedule-linked WIP rows cannot be edited / deleted here.”

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).

APS - Maintenance schedules
  1. Add — creates a maintenance window.
  2. Hours — calculated automatically from the start and end.
  3. Severity — Mandatory, High, Medium or Low.

Columns: Machine, Machine Group / Department, Start, End, Hours, Severity and Actions.

How to schedule machine maintenance (Admin)

  1. Click Add. Choose the Plant, Department and Machine.
  2. Set Start Date, Start Time, End Date and End Time.
  3. Choose the Severity and save.
  4. Run APS again so production moves around the maintenance window.
Important: Maintenance must be scheduled for a future date and time (“Maintenance must be scheduled for a future date and time.”).
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

Capacity overview
  1. Plant selector and refresh — choose the plant and reload.
  2. Capacity Distribution — pie chart of installed capacity by machine group.
  3. Available vs Demand — monthly line chart for the next 6 months: demand (required hours of orders by delivery month) versus total capacity.
  4. Machine Groups Utilization — required hours, total capacity, capacity gap, utilization and status for each group, ranked by utilization.
  5. 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

Machine group capacity
  1. Period (Next) — 7 Days, 30 Days, 90 Days, This Month, Next Month or Custom (with start and end dates).
  2. Refresh — recalculates for the chosen plant and period.
  3. Bottleneck Groups — number of groups above the bottleneck threshold in the period.
  4. 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

Demand vs capacity
  1. Total Required Hours — hours needed by all orders delivering in the selected period.
  2. Headroom — spare capacity as a percentage.
  3. WIP Available — quantity already completed (WIP) that reduces the work to be done.
  4. 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

  1. Open Capacity → Capacity Overview. Read Utilization, Maximum Utilization and Orders at Risk.
  2. Open Machine Group Capacity, choose 30 Days, and look for groups with high Utilization and little Remaining Capacity.
  3. Open Demand vs Capacity and expand late-looking orders to find the group that limits them.
  4. 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.

Schedule board5.6.2 The Gantt board5.6.2 The Gantt board
  1. Planning Horizon — shown from APS Settings (default 30 days). To change it, edit Planning Horizon (Days) in APS Settings.
  2. Strategy — shown from APS Settings (Earliest Due Date).
  3. RUN — starts the scheduler for the selected plant.
  4. 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.
  5. 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)

  1. Make sure orders, WIP and maintenance are up to date and APS Settings are as you want them.
  2. Open Planning → Schedule Board and select the Plant.
  3. Click RUN. A progress card appears.
  4. When the run finishes, a Schedule run report opens. Review it, then click Close. The Gantt board refreshes.
Run APS scheduler
  1. Running APS Scheduler — title of the progress card with the percentage complete.
  2. 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.
APS scheduler view
  1. 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.
  2. Machines tab — switch to the machine view (next screenshot).
  3. Warnings — messages from the run: plans replaced, backfill details, orders that finish after delivery, or orders skipped.
APS scheduler details
  1. Utilization column — each machine’s utilization over the horizon.
  2. Idle column — idle capacity hours; the summary above shows machines used, plant utilization, total capacity, capacity utilized and idle capacity.
Note: Each run replaces the previous plan for the plant: Planned entries are deleted and rebuilt. Entries that are In progress, Stopped or Completed are kept.

5.6.2 The Gantt board

Schedule board
  1. Machine Timeline (Gantt) — title and period (for example Nov 16 – Dec 15), with the number of machines and schedule blocks.
  2. Machine rows — one row per machine with its code and name.
  3. Schedule block — part name, order number and operation, entry type (SETUP or PRODUCTION) and minutes. Amber blocks are SETUP; blue blocks are PRODUCTION.
  4. 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.

Schedule board
  1. 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
  1. Order Details — shows the order, part, customer, delivery date, quantity, produced, pending, WIP, priority, material, SAM and status.
  2. Schedule Blocks — every block planned for the order: machine, operation, type, start, end, minutes and status.
  3. Quantity cards — produced and pending quantities at a glance.
ItemMeaning
Amber blockSETUP — machine set-up or changeover time
Blue blockPRODUCTION — planned run time
Other entry typesThe 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

Order details
  1. Plant and order selectors — choose the plant and one production order; Refresh reloads.
  2. Hours planned — setup plus production hours in the horizon.
  3. Days of execution — planning days with scheduled work.
  4. 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

Machine details
  1. Plant and machine selectors — choose a machine (for example CNC-01).
  2. Planned vs available — planned hours ÷ available hours in the horizon (with the daily capacity, e.g. 14.5 h/day).
  3. Maintenance downtime — hours of planned maintenance and the share of time.
  4. 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

  1. In the run report, read Warnings first, then scan Expected completion against Delivery date.
  2. On the Dashboard, check Orders on time, Late & At-Risk Orders and Schedule Exceptions.
  3. Open By Order for each late order to see which operations drive the date.
  4. 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.

Daily production plan
  1. Planning date — the date to show.
  2. Print — print the sheet.
  3. PDF — download a PDF.
  4. Excel — download an Excel file.
  5. 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 production plan
  1. Shift — choose the shift (Shift 1, Shift 2…).
  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 production plan
  1. Machine — choose one machine, or All machines.
  2. Shift — choose one shift, or All shifts.
  3. 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

  1. Run APS (section 5.6) so the plan is current.
  2. Open Plan Sheets → Daily Production Plan, pick tomorrow’s Planning date and click Refresh.
  3. Click PDF or Excel to share, or Print.
  4. 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).

APS Reports
  1. Open report — each card describes the report; click to open it.
Production schedule
  1. Order selector — choose the production order (the target quantity is shown).
  2. Cumulative row — running total of parts completed for each operation across all days.
  3. 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 utilization
  1. Capacity (h) — available hours for the machine group that day (machines × 14.5 h in this example).
  2. 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.

Machine load
  1. Total (h) — total utilized hours of the machine over the horizon.
  2. 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.

WIP summary
  1. Total WIP qty — total quantity in WIP; cards also show orders in WIP, parts and locations.
  2. WIP by next operation — number of orders and quantity waiting for each next operation.
  3. WIP detail — order, part, completed operation, next operation, quantity and location.
Late orders
  1. Late — number of orders expected to finish more than 3 days after delivery.
  2. At risk — 1 to 3 days after delivery.
  3. 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 delivery
  1. 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).
  2. 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.

Company details
  1. Back to app — returns to the main application.
  2. Organization group — Company, Plant, Department, Users.
  3. 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

Organization details
  1. Company Name — shown on plan sheets and printouts. Admin User and Admin Email are read-only.
  2. TimeZone — the company’s time zone (for example GMT+05:30 — Asia/Kolkata).
  3. No of Days Per Week — 4, 5, 6 or 7 days.
  4. 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.

Note: Whether Saturdays and Sundays are worked is controlled by the APS setting Allow Weekend Scheduling (section 5.12), not by No of Days Per Week.

5.9.2 Plant and Department

Plant details
  1. Add Plant — adds a plant (code and name). This release supports one plant; adding a second is refused.
  2. Search — by code or name; a status filter sits next to it.
  3. 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.

Departments
  1. Add Department — enter a Department Name and choose its Plant (an active plant is required).
  2. 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)

User management
  1. Add User — creates a new user account.
  2. Role filter — show all roles or one role; a search box filters by name or e-mail.
  3. Role — the user’s role (Admin, Planner, …).
  4. Last Login — last sign-in date and time (blank if never).
  5. Actions — the ⋯ menu: Edit, Reset Password, Deactivate / Activate. You cannot deactivate your own account.
Create user
  1. Account Details — Name, Email (the sign-in name; must be unique) and Password.
  2. Password — the initial password the user will sign in with.
  3. Role Details — a read-only summary of the permissions stored for the selected role, grouped by module (Setup, Engineering, Planning, APS).
  4. Access — choose the Role and the Status (Active or Inactive).

How to add a user (Admin)

  1. Open Settings → Users and click Add User.
  2. Enter Name, Email and a Password; choose the Role and Status.
  3. 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

  1. In Settings → Users click the ⋯ menu on the user’s row.
  2. Choose Reset Password and enter a new password; or choose Deactivate to block sign-in (choose Activate later to restore access).
Note: The error “Email already exists” means another account already uses that e-mail address. There is no screen for a user to change their own password; an Admin resets it.

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.

Shift details
  1. Add Shift — dialog with Shift Name, Shift order (a positive whole number: 1, 2, 3…), Start Time and End Time.
  2. Shift order — position of the shift in the day (1, 2, 3…); shifts are listed in this order.
  3. Cross Day — shows “Yes” for a shift that ends after midnight (for example 22:00 to 06:00).
Shift breaks
  1. 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”).
  2. Shift — the shift the break belongs to.
Holiday details
  1. 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)

  1. Settings → Shift → Add Shift: “Shift 1”, order 1, 06:00 – 14:00. Add “Shift 2”, order 2, 14:00 – 22:00.
  2. 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.
  3. Settings → Holidays → Add Holiday for each non-working date.
  4. 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

Customers list
  1. Add Customer — Name, Email, Phone and Country. A customer cannot be deleted while parts reference it.
Parts detail
  1. Add Part — Part Number, Part Name, optional Customer and Description. Part number and part name must each be unique.
  2. 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

Machine groups
  1. Add Group — enter a Group Name (for example “CNC Turning”).
  2. Machines — number of machines currently in the group.
Machines
  1. Add Machine — dialog with Plant, Department, Machine Group, Machine Code (unique), Machine Name and Efficiency (%).
  2. Filters — plant, group and status (All / Active / Inactive) next to the search box.
  3. 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.
  4. 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.
Important: APS plans an operation on any active machine in the required machine group. Create enough machines in each group and keep their status up to date; if a group has no active machine the run reports “No active machines found for scheduling”.

5.11.3 Routings

Routings
  1. Add Routing — creates a routing for a part. Each part can have only one routing.
  2. Operations — number of operations in the routing.
  3. Total Cycle Time — sum of the operations’ cycle times per part.
  4. View (eye icon) — opens the read-only routing details.
Edit routing
  1. Routing no. — filled in automatically from the part number (for example RTG-BRK-2002).
  2. Add OP — adds an operation (OP10, OP20, …). Operations run in sequence.
  3. Setup (minutes) — standard setup time for the operation.
  4. Cycle Time (seconds) — time to produce one cycle.
  5. Parts Per Cycle — parts made per cycle (for example 2 for a two-cavity fixture). Each operation also has a Machine Group.
Routing details
  1. Edit Routing — opens the dialog above.
  2. Operation cards — each shows Machine Group, Setup (minutes), Cycle Time (seconds) and Parts Per Cycle.
Note: Production time of an operation = quantity × cycle time ÷ parts per cycle ÷ machine efficiency. A part with no routing, or a routing with no operations, cannot be planned (“No routing found for part …”).

5.11.4 Changeover Matrix

Changeover matrix
  1. Add Entry — define a changeover time for a machine group.
  2. Machine Group filter — show entries of one group.
  3. Time (mins) — minutes needed to change over.
  4. 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)

  1. Settings → Customers — add the customer if it is new.
  2. Settings → Parts → Add Part — enter part number, part name and customer.
  3. 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.
  4. Optionally add specific Changeover Matrix entries between this part and others.
  5. 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.

APS settings
  1. Planning — horizon, freeze, backfill and continuity.
  2. Scheduling Strategy — direction and dispatch rule.
  3. Machine Rules — available minutes, utilization target and maintenance handling.
  4. Changeover Rules — whether changeover time is included.
  5. Reset — discards unsaved edits (enabled only when something changed).
  6. Save Changes — saves all edited values; a “Settings saved” message appears.
GroupSettingDefaultEffect
PlanningPlanning Horizon (Days)30Days ahead APS plans.
PlanningFreeze Horizon (Days)2Near-term days protected from rescheduling.
PlanningEnable Horizon BackfillOnAfter the primary orders, pull later orders into free capacity.
PlanningBackfill Lookahead (Days)0How far beyond the horizon backfill looks; 0 means through the end of the next calendar month.
PlanningOperation ContinuityContinuousWhether an operation may continue across shift and day boundaries (Continuous) or must stop at shift end or day end.
Scheduling StrategyScheduling DirectionForwardOnly Forward is available (Backward is “coming soon”).
Scheduling StrategyDispatch RuleEarliest Due DateOnly this rule is available.
Capacity RulesAllow Weekend SchedulingOffWhen off, Saturdays and Sundays are not worked.
Capacity RulesUse Holiday CalendarOnHolidays from Settings → Holidays are non-working.
Capacity RulesCapacity TypeFiniteOnly Finite is available (Infinite is “coming soon”).
Machine RulesMachine Available Minutes Per DayderivedCalculated from shifts and breaks; read-only.
Machine RulesMachine Utilization Target (%)85Target load used for backfill and for the dashboard health score.
Machine RulesConsider Planned MaintenanceOnMaintenance windows block machines.
WIP RulesMinimum WIP before Next Operation1Minimum quantity in WIP before the next operation can start.
WIP RulesAllow Partial Batch TransferOnAllow the next operation to start on part of the batch.
WIP RulesMinimum Remaining Batch Size5Smallest remaining batch worth scheduling.
Changeover RulesConsider Changeover TimeOnInclude changeover/setup time between jobs.
Note: Values are validated when saved: integers must be whole numbers, decimals must be numeric and yes/no values must be true/false. Settings that are not editable cannot be changed. Setting values are shared by all users and apply from the next run.

5.13 Drop Current Plan, demo data and integration pages

5.13.1 Drop Current Plan (Admin only)

Drop current plan
  1. 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.
  2. Drop current plan — starts the action.
Drop current plan details
  1. Confirmation message — “Enter your password to confirm. Planned schedule rows will be deleted.”
  2. 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
  1. 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.

Login details
  1. Demo data menu — Clear demo data and Reload demo data.
Warning: Do not use the Demo Data menu on a live system. In the supplied build these functions are reachable without signing in, and they remove master and transactional data for the company (plants, departments, machines, parts, routings, orders, WIP and schedules) before loading sample data. Use them only on a practice installation, and block access to the server from untrusted networks (see section 8.5).

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.

  1. Start APS and complete the setup wizard (section 4.2). Choose No, start empty.
  2. Sign in as the administrator. Open Settings → Company and complete the profile (Edit, Save).
  3. Create the Plant and Departments.
  4. Define Shifts, Shift Breaks and Holidays.
  5. Create Machine Groups, then Machines with efficiency values.
  6. Create Customers, Parts and a Routing for every part.
  7. Add Changeover Matrix defaults for each machine group.
  8. Create user accounts for planners and viewers (Settings → Users).
  9. Review APS Settings.

Result: the plant is ready to receive orders.

6.2 Enter a new customer order

  1. Check that the part and its routing exist (Settings → Parts / Routings); add them if not.
  2. Production → Orders → Add Production Order: enter number, type, part, quantity, priority and delivery date.
  3. If material is not in stock, choose PO Given or PO Not Done and enter the expected material date.
  4. Open Capacity → Demand vs Capacity to see whether the new order fits.
  5. Run APS (6.3) to include it in the plan.

6.3 Run the production plan (Planner)

  1. Update Orders, WIP Inventory and Maintenance.
  2. Check APS Settings (especially horizon and weekend scheduling).
  3. Open Planning → Schedule Board, confirm the Plant, then click RUN.
  4. 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.
  5. 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

  1. 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.
  2. For an existing order, Edit the Delivery Date (Orders list).
  3. Run APS (6.3).
  4. Check the affected orders on By Order and on the Late Orders report.

6.5 Plan around planned maintenance or a machine outage

  1. Planned work: Production → Maintenance → Add; pick the machine and a future start and end.
  2. Long outage: Settings → Machines, set the machine to Inactive; APS will then use only the remaining active machines of its group.
  3. Run APS (6.3).
  4. 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

  1. On the Dashboard → Risk & Delivery, note the late order and its Reason.
  2. Open Capacity → Demand vs Capacity, expand the order and find the machine group with a low % Available.
  3. Open Planning → By Order and select the order: look at which operation finishes last and on which machine.
  4. Open Planning → By Machine for that machine to see how heavily it is loaded.
  5. 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

  1. After the final run of the day, open Plan Sheets → Daily Production Plan, set the Planning date and click PDF or Excel.
  2. Open Shift Production Plan, choose the shift and Print for each supervisor.
  3. Open Machine Production Plan, choose a machine and shift (or All machines) and Print for operators.
  4. At the end of the shift, record Actual quantities, downtime and quality results on the printed sheets.

6.8 Add a machine (Administrator)

  1. Settings → Machines → Add Machine: choose Plant, Department, Machine Group; type a unique Machine Code, Machine Name and Efficiency (%); set Status to Active. Save.
  2. Check Capacity → Machine Group Capacity: the group’s machine count and total hours increase.
  3. Run APS so work can use the new machine.

6.9 Reset and rebuild the plan (Administrator)

  1. Settings → Drop Current Plan and read the warning.
  2. Click Drop current plan, enter your password and click Drop plan.
  3. Go to Planning → Schedule Board and click RUN to build a new plan.

6.10 Month-end review

  1. Open Reports → On-Time Delivery and Late Orders; record the on-time rate and late orders.
  2. Open Reports → Capacity Utilization and Machine Load for utilization of each group and machine.
  3. Open Dashboard → Capacity → Bottleneck Analysis for the main capacity losses.
  4. Use Plan Sheets to archive the issued plans if required.

7. Reports and metric definitions

7.1 Where to find each report

ReportLocationAnswers the questionExport
Dashboard (6 tabs)DashboardCan we deliver on time and where is the plant stressed?TV display
Capacity OverviewCapacityHow much capacity vs demand over 30 days and 6 months?—
Machine Group CapacityCapacityHow much capacity is left in each group and machine?—
Demand vs CapacityCapacityDoes each order have the capacity it needs before delivery?—
Production ScheduleReportsHow many parts per day will each operation complete for one order?—
Capacity UtilizationReportsHow loaded is each machine group each day?—
Machine LoadReportsHow loaded is each machine each day?—
WIP SummaryReportsHow much work is waiting, where and for which operation?—
Late OrdersReportsWhich orders will be late or at risk?—
On-Time DeliveryReportsWhat share of orders will be on time?—
Daily / Shift / Machine plansPlan SheetsWhat should be produced when, on which machine?Print; PDF and Excel (Daily, Shift)

7.2 Metric definitions

MetricDefinition
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 hoursHours of planned maintenance windows in the period.
Available capacityTotal hours − maintenance hours.
Planned load / utilized hoursHours of SETUP and PRODUCTION planned in the period (maintenance excluded).
Utilization %Planned load ÷ available capacity.
Remaining capacityAvailable 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 gapRequired hours − available hours. Positive = shortage; negative = spare.
HeadroomSpare capacity as a percentage of total capacity.
Expected completionEnd time of the last planned PRODUCTION entry of the order’s final operation.
Days vs deliveryExpected completion − delivery date, in days (positive = late).
On time / At risk / Late0 or fewer days / 1 to 3 days / more than 3 days after delivery (see section 5.1).
Delivery commitmentOrders on time ÷ orders with a reliable completion date.
APS Health ScoreWeighted 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).
Note: The report screens are on-screen reports without export buttons. Use your browser’s print function or the Plan Sheets (Print, PDF, Excel) when you need a paper or file copy.

8. Configuration guide (administrator)

8.1 What is configured where

SettingWhereNotes
Database connectionSetup wizard → <code>config/application-local.yml</code>Restart the application after changing it manually.
Server portserver.port in application-local.yml (default 8080)
JVM optionsJAVA_OPTS environment variablee.g. <code>-Xmx2g</code>.
Security secretsjwt.access.secret, jwt.refresh.secretSet unique values of at least 32 characters before production.
Company, plant, calendar, master dataSettings screensStored in the database.
Scheduling behaviourSettings → APS SettingsStored in the database; applies from the next run.
Users and rolesSettings → UsersAdmin 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:

KeyMeaningExample
server.portHTTP port8080
spring.datasource.urlJDBC URL of the MySQL databasejdbc:mysql://localhost:3306/aps?createDatabaseIfNotExist=true&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Kolkata
spring.datasource.username / passwordMySQL accountaps_app
jwt.access.secret, jwt.refresh.secretSecrets used to sign sign-in tokens(your own long random strings)
Warning: The embedded defaults use the MySQL account 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 the config folder regularly.
  • Upgrade: stop APS, back up, replace aps.jar with the new release (keep config/), 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 aps database and restart; the setup wizard appears again.
  • Run as a service: use your operating system’s service manager to run run.sh / run.bat at 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

SymptomLikely causeWhat to do
“Cannot reach APS backend” on the sign-in pageThe 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 wizardSetup 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 failsWrong 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 pageThe session ended or the server restarted.Sign in again.

9.2 Orders and master data

Symptom / messageLikely causeWhat 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 / messageLikely causeWhat to do
RUN is greyed outYour 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 OrdersMissing 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 weekendsAllow Weekend Scheduling is off (default).Turn it on in APS Settings if you work weekends.
Nothing planned on a holidayUse Holiday Calendar is on and the date is a holiday.Remove the holiday or turn the setting off.
Plan changed after I pressed RUNEach run replaces all Planned entries.This is expected; In-progress/Completed entries are kept.
Machine looks idle on a working dayMaintenance window, or no work routed to its group.Check By Machine and Maintenance.
Setup/changeover times look wrongChangeover Matrix entry or routing setup time.Check the Changeover Matrix defaults and specific entries.
Utilization above 100% on a screenDifferent periods or overlapping entries counted.Use the same period on both screens; check Machine Group Capacity.

9.4 Screens and browser

SymptomLikely causeWhat to do
A page is emptyNo data yet, or the plan was dropped.Enter data or run APS.
Numbers look stalePage not refreshed.Click Refresh, then reload the browser.
Cannot open a page by typing the addressNot signed in.Sign in first; you are then returned to the page.
Plan sheet PDF/Excel does not downloadBrowser pop-up or download blocker.Allow downloads for the APS address.
Pictures or fonts missingNo 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 / actionAdminPlannerOther 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

ItemValues
Order typeConfirmed PO, Planned Order, Sales Order, Forecast
Order priorityHigh, Medium, Low
Material statusAvailable, PO Given, PO Not Done
Order planning statusNot Planned, Partially Planned, Planned, Completed
Schedule entry typeSETUP, PRODUCTION, MAINTENANCE, BREAKDOWN, BLOCKED
Schedule entry statusPlanned, In progress (Running), Stopped, Completed
Delivery statusOn time, At risk (1–3 days late), Late (more than 3 days late)
Maintenance severityMandatory, High, Medium, Low
Machine / plant / department statusActive, Inactive
User statusActive, Inactive
Capacity period options7 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
RolesAdmin, Plant Admin, Planner, Production Manager, Production Supervisor, Operator, Quality Engineer, Maintenance Engineer, Stores, Management, Viewer

Appendix C. Glossary

TermMeaning
APSAdvanced Production Scheduling.
BackfillPulling later orders forward into free capacity.
BottleneckA machine group loaded above 95%.
ChangeoverTime to switch a machine from one part/operation to another.
Cycle timeTime to produce one cycle (seconds); one cycle makes “parts per cycle” parts.
EDDEarliest Due Date — orders with the earliest delivery date are planned first.
Finite capacityA machine can do only one job at a time and only within working hours.
GanttA timeline chart showing jobs per machine over time.
HorizonThe number of days ahead that APS plans.
RoutingThe ordered list of operations needed to make a part.
SetupPreparation time before a job starts on a machine.
WIPWork 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.

AreaWhat to expectWorkaround
Role enforcementThe 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 endpointsClear/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 SettingsNot restricted by role.Limit who has accounts.
Scheduling optionsBackward scheduling, infinite capacity and other dispatch rules are “coming soon”.Use Forward / Finite / Earliest Due Date.
Material statusNot used to delay scheduling.Adjust delivery dates manually.
IntegrationERP Connections, Data Synchronization, Import / Export are placeholders.Enter data on screens.
Single plantOnly 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.
ReportsNo export buttons on report pages (plan sheets export).Print from the browser.