Skip to content

MxAPS · How-to guides

Preventing Lower-Ranked Orders from Filling Schedule Gaps

Last updated September 24, 2026

MxAPS allows lower-ranked operations to fill idle time before a higher-ranked operation by default. To prevent lower-ranked operations from filling these gaps, configure MxAPS on how the Hole Algorithm is activated and used.

How hole scheduling works

Hole scheduling depends on three areas:

  1. The scheduling rule must define a Hole On parameter.
  2. The work center or machine center must define allowed hole durations.
  3. The routing operation must allow or disallow hole behavior.

You must configure all three areas to adjust when these lower-ranked operations are scheduled; otherwise, the areas continue to be scheduled for the first time available.

Step 1: Configure the scheduling rule

  1. Search for “MxAPS Scheduling Rules” in Business Central.
  2. Open the scheduling rule used by the production cell.
  3. Set Hole On Parameter Code.

Hole On Parameter Code defines the scheduling rule parameter for a point of indifference for the hole algorithm. Meaning at which point in the scheduling rule list of parameters should this algorithm consider orders equal. For example, use the parameter that determines whether a lower-ranked operation is allowed to schedule before a higher-ranked operation.

Step 2: Configure Hole values on the Work Center and/or Machine Center

Configure the hole durations on the capacity that is being scheduled.

For either a Work Center or a Machine Center

  1. Search for Work Centers or Machine Centers in Business Central.
  2. Open the relevant card.
  3. Set the following in the MxAPS FastTab:
    • Hole Total Duration: Specifies the idle time that must remain prior to a scheduled operation for a lower priority operation to be placed ahead of it on the selected machine. This includes holidays or weekends.
    • Hole Idle Duration: Specifies the idle time that must remain prior to a scheduled operation for a lower priority operation to be placed ahead of it on the selected machine. This does not include holidays or weekends.

Step 3: Configure the operation

Configure Allow Holes on the operation.

  1. Locate the corresponding operation(s) on either Routing or the Production Order Routing and set the Allow Holes value:
    • Allowed: The operation may schedule into available idle time before a higher-ranked operation, subject to the hole rule and work/machine center hole values.
    • Disallowed: The operation must obey the hole restriction and should not use the hole compromise.

Example

Order ONE: Priority, 5; Due Date, 03/15/1999

Order TWO: Priority, 5; Due Date, 03/30/1999

Scenario A

HoleCutoff = PRIORITY: This indicates the algorithm only considers the Class parameter in determining priorities. As a result, the two orders are again considered as having equal priority. The default behavior of MxAPS is not affected.

Scenario B

HoleCutoff = DUEDATE: This indicates that the algorithm considers both Priority and DueDate in determining priorities. Order TWO is considered of lower priority and is only placed prior to Order ONE if conditions and the various Hole Algorithm settings allow.

View this article as Markdown

Still need help?

Ask other Business Central users in the Insight Works community, or send the details to the support team. Include the steps you took and any error message you saw.