Where Pharma Scheduling Software Sits Between ERP and MES
Two system categories claim the production schedule, and the work of turning requirements into a runnable sequence falls between them.

Ask three people at the same site where the production schedule lives and you will get three answers. Planning will say it comes out of the ERP, because that is where the orders are. The floor will say the real schedule is the one the MES dispatches, because that is what the operators work to. The planner will say neither of those is the real one, then open a spreadsheet. All three are describing the same week, and the version that actually runs the plant is the one nobody can point to.
ISA-95 names scheduling at two levels
The standard most often cited to settle this question does not settle it. ISA-95, published internationally as IEC 62264, organises a manufacturing company into five levels, from the physical process at Level 0 up to business planning at Level 4. Level 4 covers the business activities needed to manage a manufacturing operation, and Level 3 covers the workflow that produces the end product.
Look at what the standard puts inside each level and the reason for the argument appears. In the functional model, Level 4 includes plant production scheduling. Level 3 includes detailed production scheduling, alongside production dispatching and production tracking. Scheduling is named at both levels, which is why an ERP vendor and an MES vendor can each point at the same standard and claim the function.
The split matches how plants actually work, so the two names are not redundant. Mid-term scheduling looks out somewhere past eight weeks and answers what the site is committing to. Detailed scheduling covers the near horizon and answers what runs next. Where the line falls varies by site, with some planning two weeks ahead and others twelve, and the part that decides whether a shift goes well runs from the next minute to the next week.
There is a third place the word appears, and it is the useful one. ISA-95 Part 1, last revised in 2025, defines four categories of information exchanged between the business level and the manufacturing operations level: product definition, production capability, production schedule and production response. The schedule is one of the four things that cross the boundary, which means the standard treats it as an interface object rather than as something either side owns outright.
None of that is an error in the standard. Level 4 plans on a horizon of days to months and Level 3 operates on minutes to shifts, so scheduling belongs at both tempos. What the standard does not do is say where one stops and the other starts, and the people who wrote it were explicit that it describes activities rather than products. The boundary is left to the company, which is why two sites with the same systems can draw it in different places.
Where ERP planning stops
An ERP system knows what has to be made, in what quantity and by when, and it holds the master data that defines how. That is a large and necessary job, and the schedule depends on it being done well.
What it does not usually do is sequence against the real plant. SAP's own documentation for Production Planning and Detailed Scheduling is direct about this, advising that as a rule you plan infinitely in the MRP run, meaning you do not take account of resource availability, and that finite planning against resources happens afterwards as a separate step. The planning run also works within a defined PP/DS horizon, which separates detailed scheduling from longer-range supply planning.
So the output of ERP planning is a set of requirements with dates attached rather than a sequence a suite can run on Tuesday. Turning the first into the second is where the real decisions get made, and it is the step that happens in a spreadsheet at most sites.
This is also why the ERP is rarely wrong and rarely sufficient. It will tell you that forty batches are due in March and that the materials are ordered, which is true and useful. It will not tell you that three of them need the same suite, that two of those share a cleaning matrix entry, or that the operator qualified for the third is on a training renewal that week.
Where MES execution begins
The MES side has its own claim, and it comes from the same standard. ISA-95 Part 3 defines the activity models of manufacturing operations management, and detailed production scheduling sits among them, alongside production dispatching, production tracking, production execution and production data collection. So the standard does not merely allow an MES to schedule. It lists scheduling as one of the activities that defines the level an MES occupies.
In practice an MES is strongest at what happens once the sequence exists. It dispatches work, tracks batches against orders, records what was produced, collects data from the floor and reports back to planning. Those are the functions a GMP site depends on for traceability, and they are the reason an MES is worth having.
The sequencing function inside an MES usually assumes the hard decisions are already made. It executes a plan; it is rarely the thing that weighs a cleaning window against a campaign commitment and an operator qualification, then decides which batch moves.
There is a reason for that, and it is not a shortcoming. An MES is built around the batch in front of it, with the detail and the audit trail that implies. Deciding what should run next week against constraints that live in four other systems is a different problem, with a different time horizon and a different set of inputs.
Those counts are worth reading together. The clause covering controls over computers and related systems appears less than a third as often as the clause covering written procedures for production and process control. The findings cluster around whether the decisions were defined and followed rather than around which system held them, which is the same way ISA-95 treats the question.
What falls into the gap
In a GMP plant the gap between the two has a specific shape, because the things that govern the sequence live in neither system. They are not demand and they are not execution records, so both architectures treat them as somebody else's problem.
Cleaning validation windows sit in validation reports. Campaign maximums trace back to an S&OP decision or a validation exercise. Equipment qualification status sits in a maintenance or quality system, and operator certification sits in a training record. The ERP holds none of them because they are not master data in its sense, and the MES holds none of them because they are not execution records. A planner holds all of them at once in their head, and that arrangement works right up until the week that planner is on holiday.
The regulated dimension adds a second thing. Annex 11 applies to every computerised system used in a GMP activity, and Health Canada has adopted the PIC/S version of it, so a Canadian site is working to the same document rather than to a European parallel. Annex 11 is specific about where authority sits: where a system records certification and batch release, only Qualified Persons may certify, and the system must identify and record who did it. Canada's own regulations put the same authority with the quality control department, where no lot may be made available for sale unless the person in charge approves it. A scheduling layer that proposed a sequence is not making that call, and it should not be built as though it could.
There is a second Canadian requirement worth knowing before any system goes in. Under C.02.015, every fabrication, packaging, testing, storage and transportation method or procedure that may affect the quality of a drug has to be examined and approved by the quality control department before it is implemented. A tool that decides sequencing against validated constraints is a procedure in that sense, whatever the architecture diagram calls it.
Finding out where yours sits
The useful exercise is not to decide which system should own scheduling. It is to find out what currently happens and where the decisions are actually made.
- Ask what the ERP produces. Requirements with dates, or a sequence against named equipment. If it is the first, something downstream is turning it into the second.
- Ask what the MES receives. A finished sequence it dispatches, or a list it has to interpret. If it interprets, somebody wrote the interpretation rules and they live somewhere.
- Find the artefact in between. At most sites it is a spreadsheet, and it is worth knowing who maintains it and who can read it.
- List the constraints that decide the sequence. Hold times, campaign maximums, qualification status, certification dates. Then check which system holds each one, and expect several to have no system at all.
- Ask who decides when two of them conflict. That person is where your scheduling layer currently lives, whatever the architecture diagram says.
It is worth saying what the standard implies about anything that fills the gap. ISA-95 lists the production schedule among the four categories of information that cross between the two levels, so a schedule is an interface object by definition. Anything that produces one properly has to reach into both sides: planning intent and master data from above, real execution status from below. A tool that lives entirely at one level is either planning without knowing what the floor is doing, or executing without knowing what the business committed to.
Alexandre Clarizio is founder and CEO of Kaster Technologies, which builds AIM, a decision intelligence platform for GMP pharmaceutical manufacturing.
Frequently asked questions
- Does scheduling belong in the ERP or the MES?
- ISA-95 names it at both levels, as plant production scheduling at Level 4 and detailed production scheduling at Level 3, so both claims have a basis. The standard describes activities rather than products and leaves the boundary to the company. In practice the question is less about which system owns it than about where the decisions that shape the sequence are actually made.
- What does ERP planning produce?
- Requirements with dates attached, drawn from demand and master data. SAP's own guidance for Production Planning and Detailed Scheduling advises planning infinitely in the MRP run, without regard to resource availability, and performing finite planning against resources as a separate step afterwards. Turning requirements into a runnable sequence is that separate step.
- Does an MES already do detailed scheduling?
- ISA-95 Part 3 lists detailed production scheduling among the activities that define manufacturing operations management, so the capability is part of what the level means. What an MES is strongest at is everything after the sequence exists: dispatching, tracking, data collection and reporting back to planning. The sequencing function usually assumes the hard trade-offs have already been resolved.
- Where do GMP scheduling constraints live if neither system holds them?
- Spread across documents. Cleaning windows are in validation reports, campaign maximums trace to validation exercises or S&OP decisions, qualification status sits in a maintenance or quality system, and operator certification sits in training records. None of that is master data in the ERP sense or an execution record in the MES sense, which is why a planner ends up holding all of it at once.
- Does adding a layer between ERP and MES create a validation burden?
- Your quality function decides the scope, and two documents frame the question. Annex 11, which Health Canada has adopted in its PIC/S version, applies to any computerised system used in a GMP activity and reserves batch certification to Qualified Persons. Health Canada's C.02.015 separately requires that any method or procedure affecting drug quality be examined and approved by the quality control department before implementation. A layer that proposes a sequence and leaves the decisions with qualified people sits differently from one that releases product, but it still goes through that approval.
Sources
- International Society of Automation, ISA-95 Series of Standards: Enterprise-Control System Integration, 2025
- International Society of Automation, Johnsson, ISA 95: how and where can it be applied?, 2004
- SAP, PP/DS Process, Production Planning and Detailed Scheduling, current documentation
- SAP, Defining the PP/DS Horizon, current documentation
- Health Canada, Good manufacturing practices guide for drug products (GUI-0001), 2020
- European Commission, EudraLex Volume 4, Annex 11: Computerised Systems, 2011
- European Commission, EudraLex Volume 4, Annex 15: Qualification and Validation, 2015
- Electronic Code of Federal Regulations, 21 CFR 211.68: Automatic, mechanical, and electronic equipment, 2026
- Electronic Code of Federal Regulations, 21 CFR 211.100: Written procedures; deviations, 2026
- U.S. Food and Drug Administration, Inspection Observations, FY 2025 data set, 2025