Pegging

Pegging is a process that the planning engine uses to link:

Use pegging to:

Pegging plays a major role in determining the sequence in which demands are satisfied. For some pegging modes, the planning engine:

This section discusses:

The actual date that a demand is satisfied is a function of the detailed scheduling process. There is no guarantee that high priority orders are satisfied on time.

In performing the pegging process, the planning engine selects demands and locates supplies to peg those demands to. Therefore, we say that the pegging process pegs demands to supplies.

When some people think of pegging, they think of supplies pegged to demands. For example, if you are using hard pegging with Oracle Project Manufacturing, it reserves the supply for the demand.

When discussing the results of the pegging process, you can correctly say either that demands peg to supplies or that supplies peg to demands. The diagrams in this section use arrows which indicate the supplies that peg to particular demands.

To use pegging you must enable it for the items and for the plan. The planning engine pegs in several ways (pegging modes). For certain modes, you specify information to instruct the planning engine.

The planning engine pegs each item after the netting process. It begins with all of the items in the highest bill of material level and proceeds level by level to the lowest bill of material level.

The planning engine attempts to minimize substitution at the expense of crossing organizations and uses substituted on-hand or scheduled receipts before creating planned orders. For example:

The planning engine passes independent demand priorities to discrete job and planned order dependent demands to which they peg. Planned order dependent demands have lower priority than discrete job dependent demands at the same bill of material level.

The planning engine performs pegging for product family items regardless of the setting of their item attribute Pegging

Reservations

Setup

For the planning engine to plan reservations, select plan option Net Reservations.

Snapshot

The planning engine snapshots these reservations for these plan types:

Processing

In the source system, you can reserve:

If a supply quantity is partially reserved to demands, the planning engine can peg the unreserved quantity to other demands.

If a demand quantity is partially reserved against supplies, the planning engine can peg the unreserved quantity to other supplies.

The reservation information collected from the source is an input pegging relationship in ASCP. The planning engine pegs other supplies and demands around these reservation relationships. Therefore, you might notice these patterns in the plan output:

Analysis

In Planner Workbench Supply / Demand window, see these fields:

In the pegging tree, the reserved quantities of the individual supplies to a demand or the reserved quantities of the individual demands against a supply show as attribute Reserved Quantity.

Purchase Order Reservations Processing

This is how the planning engine processes reservations created between purchase order and internal requisition supplies and demands:

For example:

The planning engine sees each of these quantities as a supply and pegs them all to the sales order.

If you have a purchase order reserved to multiple sales orders, the planning engine uses FIFO pegging for the purchase order and the sales order.

For example, this is the status of a purchase order of quantity 100:

Teo sales orders have reservations against the purchase order:

The planning engine pegs:

Pegging Modes

This table shows the pegging modes and the settings that you use to enable them.

Pegging Mode Plan Option - Priority Pegging Profile Option - MSC: Use FIFO Pegging
Standard Cleared No
Priority Selected No
FIFO Cleared Yes
Priority/FIFO Selected Yes

When the pegging process is processing an end-item product substitution, it does not attend to the following profile options, regardless of the pegging mode. The process performs the pegging for these demands immediately following the item substitution:

Standard Pegging

The standard pegging process makes two passes through the demands and supplies.

First Pass

The planning engine groups demands into daily windows. It does not use profile option MSO: Demand Window Size. The first window starts at the first demand date and the last window ends at the end of the planning horizon.

For example, the demand window size is 1 day, the first demand is due on day 5. The first demand window is from day 5 to day 5, the second demand window is from day 6 to day 6, and the third demand window is from day 7 to day 7.

Demands in each window are sorted by demand priority in ascending order.

The planning engine groups supplies into daily windows. It does not use profile option MSO: Supply Window Size. The first window starts at the first supply availability date and the last window ends at the end of the planning horizon.

For example, the supply window size is 1 day, the first supply is available on day 7. The first supply window is from day 7 to day 7, the second supply window is from day 8 to day 8, and the third supply window is from day 9 to day 9.

Supplies in each window are sorted by type using the following order:

  1. Firm supplies

    1. On-hand

    2. Receipt shipment, intransit shipment, payback supply (Oracle Project Scheduling)

    3. Work order (firm), job by-product supply (firm), purchase order (firm), non-standard jobs, non-standard job by-product supply (always considered firm)

    4. Purchase requisition (firm)

  2. 2. Existing supplies

    1. Work order (non-firm), job by-product Supply (non-firm), repetitive schedule, repetitive schedule by-product supply, flow schedule, flow schedule by-product supply, purchase order (non-firm)

    2. Purchase requisition (non-firm)

  3. Planned supplies

    1. Planned order (firm), planned order by-product supply (firm). You can raise the pegging priority of firm planned orders by releasing them.

    2. Planned order (non-firm), planned order by-product supply (non-firm)

The supplies in each type are sorted as follows:

Second Pass

The planning engine begins from the first demand window and pegs demands by demand priority to supplies of the first supply window. If necessary, it continues the pegging process with the next supply window.

As all demands in the each demand window are pegged, it moves to the next demand window and pegs as it did in the first demand window

Unpegged supplies are posted to excess.

In this example, demands D1 and D2 are sorted by priority in ascending order and supplies S5 and S6 are sorted by type. Pegged entities are connected by arrows.

Pegged Entities

image described in text

Standard Pegging Example

This example shows standard pegging for two items. It begins with various settings and then shows the pegging for each item.

Profile option MSC: Use FIFO Pegging is No.

Plan option Peg Supplies by Demand Priority: Cleared.

In standard pegging, the planning engine uses 1 as the value for MSO: Demand Window Size and MSO: Supply Window Size and ignores the entered values.

Item A101 Pegging

This diagram shows the demands, supplies, and pegging information for item A101. Demand priorities are in parentheses, pegged entities are connected by arrows, and split supply quantities are in brackets.

The first demand window starts on day 3 at the first demand date.

Supplies in the first supply window [day 1] are pegged in the following order:

Supplies in the second supply window [day 2] are pegged in the following order:

Supply in the third supply window [day 3] is pegged as non-firm planned order of quantity 75 on day 3 and demand of quantity 100 on day 4

Pegged Entities

image described in text

Item A102 Pegging

This table shows the demands, supplies, and pegging information for item A102. Demand priorities are in parentheses and pegged entities are connected by arrows.

Supplies in the first supply window [day 1] are pegged in the following order:

Supplies in the second supply window [day 2] are pegged in the following order:

Supply in the third supply window [day 3] is pegged as firm purchase requisition of quantity 30 on day 3 and demand of quantity 200 on day 1

Supply in the forth supply window [day 4] is pegged as non-firm work order of quantity 40 on day 4 and demand of quantity 100 on day 6

Supply in the sixth supply window [day 6] is pegged as non-firm planned order of quantity 60 on day 6 and demand of quantity 100 on day 6

Pegged Entities

image described in text

Priority Pegging

The priority pegging process makes three passes through the demands and supplies.

First Pass

The planning engine starts with the demand of highest priority as specified by the plan's demand priority rule. It scans backwards the number of days in the site or item-specific firm supply allocation window (profile option MSO: Firm Supply Allocation Window (Backward days) and finds the first firm supply quantity to peg the demand to.

The planning engine scans backward and finds supplies. It organizes and pegs them as follows:

If it cannot find enough firm supply quantity to satisfy the entire demand quantity, it scans forwards the number of days in the site or item-specific firm supply allocation window (profile option MSO: Firm Supply Allocation Window (Forward days)) to find supplies to peg the demand to.

The pass ends when the demand is completely pegged to firm supplies or all firm supplies in the firm supply allocation windows are exhausted.

This diagram shows an example of the first pass:

Second Pass

For the remaining demands and supplies, the planning engine groups all demands into windows by using profile option MSO: Demand Window Size. The first window starts at the first demand date and ends after the number of days in the window size. The second window starts at the end of the first window and ends after the number of days in the window size. The last window ends at the end of the planning horizon.

For example, the demand window size is 50 days and the first demand date is due on day 1. The first demand window is from day 1 to day 49 and the second demand window is from day 50 to day 99.

Demands in each window are sorted by demand priority in ascending order.

The planning engine groups all supplies into windows by using profile option MSO: Supply Window Size. The first window starts at the first available supply date and ends after the number of days in the window size. The second window starts at the end of the first window and ends after the number of days in the window size. The last window ends at the end of the planning horizon.

For example, the supply window size is 50 days and the first supply is available on day 1. The first supply window is from day 1 to day 49 and the second supply window is from day 50 to day 99.

It sorts supplies in each window by type in the same manner as the standard pegging first pass.

Third Pass

The planning engine uses the standard pegging second pass.

Third Pass Example

This diagram shows an example of the third pass:

Note that:

Firm Supply Allocation Window

Setting

You can set the firm supply allocation window in these ways:

If you specify a positive number for the value of profile option MSO: Multiplier to Derive Supply Allocation Window, then the planning engine ignores the profile option MSO: Firm Supply Allocation Window (Backward days). If you specify a zero, negative, or null number for the value of profile option MSO: Multiplier to Derive Supply Allocation Window, then the planning engine uses the profile option MSO: Firm Supply Allocation Window (Backward days).

Calculating

Oracle Advanced Supply Chain Planning derives a firm supply allocation window for each item based on its item attributes as follows:

These are the formulas for the item-specific firm supply allocation window:

The value is rounded up to the integer. If the cumulative manufacturing lead-time or the processing lead-time is null or 0 and the multiplier is positive, the planning engine uses the item-specific firm supply allocation window which is 0.

For example:

Sizing Demand and Supply Windows

Very small or very large window sizes bring advantages and disadvantages to the results of the pegging process.

Some benefits of small demand window size are:

A disadvantage of small demand window size is more late higher priority demands. Lower priority demands are satisfied before higher priority demands and low priority demands for safety stock peg to on-hand.

A benefit of large demand window size is higher priority demands having a higher probability of being satisfied earlier.

Some disadvantages of large demand window size are:

When you are sizing the supply window, note that selecting a large window size can result in the planning engine's pegging early demands to firm supplies or non-firm supplies at the end of the window (firm supplies sort by type and date, non-firm supplies sort by type and quantity). This results in increased lateness for the early demands.

Priority Pegging Examples

This example shows priority pegging for two items. It begins with various settings and then shows the pegging for each item.

Profile option settings:

Plan option Peg Supplies by Demand Priority: Selected.

Item cumulative lead-times:

Item specific firm supply allocation window:

A101: 4 (2 * 2)

A102: 2 (2 * 1)

Item A101 Pegging:

First Pass

This diagram shows the demands, supplies, and pegging information for item A101 on the first pass. Demand priorities are in parentheses and pegged entities are connected by arrows. The order of the schedule entities is:

Second Pass

This diagram shows the demands, supplies, and pegging information for item A101 on the second pass. Demand priorities are in parentheses, pegged entities are connected by arrows, and split supply quantities are in brackets. The order of the schedule entities is:

Note that non-firm planned orders are sorted by quantity in ascending order and firm planned orders are sorted by date in ascending order. Therefore, the planning engine:

Item A102 Pegging

First Pass

This table shows the demands, supplies, and pegging information for item A102 on the first pass. Demand priorities are in parentheses and pegged entities are connected by arrows. The order of the schedule entities is:

Note that the planning engine pegs to firm jobs and on-hand balances with respect to the firm supply allocation windows. No demand in the first pass pegs to the firm job on day 3 but the demand in bucket 1 for quantity 170 in the second pass does peg to it.

Pegging Entities

image described in text

Second Pass

This table shows the demands, supplies, and pegging information for item A102 on the second pass. Demand priorities are in parentheses and pegged entities are connected by arrows. The order of the schedule entities is:

Pegging to supply outside firm supply

image described in text

FIFO Pegging

For all demands and supplies, the planning engine:

FIFO Pegging Example

This example shows FIFO pegging. It begins with various settings and then shows the pegging for each item. Daily supplies and demands are not sorted. Pegged entities are connected by arrows and split supply quantities are in brackets.

Profile option MSC: Use FIFO Pegging: Yes

Plan option Peg Supplies by Demand Priority: Cleared

The pegging includes:

Priority/FIFO Pegging

The priority/FIFO pegging process makes two passes through the demands and supplies.

First Pass

The planning engine uses the priority pegging first pass.

Second Pass

The planning engine uses the FIFO pegging pass.

Priority/FIFO Pegging Example

This example shows priority/FIFO pegging. It begins with various settings and then shows the pegging for each item. Pegged entities are connected by arrows and split supply and combined demand quantities are in brackets.

Profile options:

Plan option Peg Supplies by Demand Priority: Selected.

Item cumulative lead-time: 1

Item specific firm supply allocation window: 2 (2 * 1)

First Pass

The planning engine pegs firm jobs and on-hand with respect to the firm supply allocation windows. It does not peg the firm work order for quantity 30 on day 3 to any demand in the first pass but to the demand on day 1 for 100 in the second pass.

image described in text

Second Pass

The planning engine pegs:

Priority and FIFO/Priority Comparison

This diagram shows the second pass as priority pegging schedules it. The planning engine pegs:

Enabling Pegging Checklist

  1. Enable pegged items: In the Items form, MPS/MRP Planning tabbed region, Pegging field, select any value other than None. For more information, see Oracle Inventory User's Guide.

  2. Enable plan pegging: In the Profile Options form, Main tabbed region, set Enable Pegging. This action enables standard pegging.

    Perform this checklist item if you want to use FIFO pegging or priority/FIFO pegging.

  3. Enable plan FIFO pegging: In the Profile Options form, set MSC: Use FIFO Pegging to Yes.

    Perform the next three checklist items if you want to use priority pegging or priority/FIFO pegging.

  4. Enable priority pegging: In the Plan Options form, Main tabbed region, select Peg Supplies by Demand Priorities.

  5. Set firm supply allocation windows: In the Profile Options form, attend to the following:

  6. Set multiplier To Derive Supply Allocation Window: In the Profile Options form, set MSO: Multiplier To Derive Supply Allocation Window. You can use a decimal quantity.

    This profile option defaults to not entered, which instructs the planning engine to ignore it and base the backward search of pegging is on profile option MSO: Firm Supply Allocation Window (Backward days). If you enter a negative value or zero, the planning engine also ignores this profile option.

    Perform this checklist item if you want to use priority pegging.

  7. Set demand and supply window sizes. In the Profile Options form, attend to the following:

  8. Set the profile MSC: Minimize Workorder crossovers during reschedules to Yes to avoid pushing any supply forward to complete a work order even if there is some excess. This ensures that the supply is not pegged to a safety stock and therefore, the safety stock date will be closer to the real demand date.

    For more details on the profile option, see MSC Profile Options

Safety Stock Pegging

To set up safety stock planning and to understand the safety stock planning process, see Safety Stock.

Overview of Safety Stock Pegging

The planning engine plans to meet safety stock levels through a process of sequential phases:

This topic explains the Pegging phase. To understand the other planning phases, see Safety Stock.

To view the results of safety stock pegging, use theSupply/Demand Window.

Safety Stock Pegging Phases

The planning engine plans to peg safety stock through a process of sequential phases:

Non-transient safety stock levels are levels that you must hold throughout the planning horizon. They are safety stock levels without ending effectivity dates.

Transient safety stock levels are levels that you must hold for only a certain time during the planning horizon. They are safety stock levels with ending effectivity dates

The safety stock level for a day can be a combination of non-transient and transient safety stock levels for that day.

The planning engine pegs non-transient and transient safety stocks differently. For:

In all examples, please assume:

Safety Stock Pegging Phase 1: Peg to Non-transient Safety Stock Levels

You can choose to exclude non-transient safety stock demands from the pegging logic; set profile option MSC: Include Safety Stocks in Priority based Pegging to No. The pegging process:

If you set profile option MSC: Include Safety Stocks in Priority based Pegging to Yes, the pegging process does not give preferential treatment to the non-transient safety stock levels and pegs them at the same time as the demands.

Safety Stock Pegging Phase 2: Peg to Demands

The planning engine performs priority pegging logic using demands and supplies within each supply and demand window. It does not consider transient safety stocks. It does consider non-transient safety stocks if it has not pegged them in the previous optional phase.

Safety Stock Pegging Phase 3: Peg to Transient Safety Stock Levels

The planning engine performs priority pegging logic using transient safety stock levels and supplies. It pegs the supplies at quantity 0 because these supplies will eventually satisfy demands. It pegs the transient safety stock levels to the lowest priority supplies in the supply window.

This table shows pegging to a transient safety stock level. It details:

The transient safety stock level pegs to Supply 1 from D1 to D9 at quantity 0. The demand on D10 for quantity 10 pegs to Supply 1 on D10 at quantity 10.

  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
D - - - - - - - - - 10 - - - - -
SSL(T) 10 10 10 10 10 10 10 10 10 10 - - - - -
S1
10                            
S1 pegs to SSL(T) SSL(T) SSL(T) SSL(T) SSL(T) SSL(T) SSL(T) SSL(T) SSL(T) D - - - - -
S1 peg qty 0 0 0 0 0 0 0 0 0 10 - - - - -

Other Safety Stock Pegging Principles

Other safety stock pegging principles are:

This diagram shows an inventory netting scenario with pegging indicated. It chiefly shows the pegging of safety stock levels. The planning engine does peg other demands and supplies that do not appear pegged here or do not appear completely pegged here.

It details:

In this diagram, the non-transient safety stock levels (quantity 10 beginning on day 1 and an additional quantity 5 beginning on day 7) peg to supplies due on day 3.

For transient safety stock:

image described in text

Forecast and Production Forecast Pegging

When you create a production plan during constrained master scheduling or, an unconstrained plan with pegging enabled, Oracle Advanced Supply Chain Planning allows you to see product family planned orders that are pegged to existing sources of supply including, On-hand, Work In Process jobs and firm planned orders if any. You can do this if:

The planning engine does not generate pegging:

You can view the Pegging region of the Supply/Demand window to analyze the impact of changing a supply or demand order at any level of your bill of material.

To generate pegging information

  1. Navigate to Plan Options > Main tab.

  2. Select the Enable Pegging check box for an unconstrained plan.

Alternatively, you can choose to generate a constrained/optimized plan. In this case, the planning engine always generates pegging.

Viewing Pegging Information

Using the pegging tree, you can trace demand and supply up or down from any bill of material level.

If you have any item in a supply chain bill marked for pegging, the planning engine pegs for the top level assembly.

For the planning engine to peg a component, you must mark its assembly for pegging.

To display the pegging tree

  1. Select the desired item in the Navigator.

  2. Navigate Tools > Supply/Demand.

  3. In the Supply/Demand window, the pegging tree appears in the bottom half of the window.

    The default display for viewing pegging from demand to supply is supply order details and end item demand order information. The default display for viewing pegging from supply to demand is supply order details, immediate parent demand information, and end item demand information.

  4. To expand the entire pegging tree, select (highlight) the top pegging node (root), right-click, and select Expand All.

    You can explode each node to higher level or lower level nodes by clicking on the plus and minus signs. You can also jump to other detail windows by right-clicking the pegging node.

    To see a node's properties, highlight it, right-click it, and select Properties.

Right-click Menu Options in the Pegging Region of the Supply/Demand Window

The following right-click menu options are available from the pegging region:

Right-click Menu Option Available For Demand Line or Supply Line Description
Exception Details Both Use to navigate to the Exception Details window.
Horizontal Plan Both Use this to navigate to the Horizontal Plan window.
Vertical Plan Both Use this to navigate to the Vertical Plan window.
Items Both Use this to navigate to the Items window.
Resource Requirements Supply Line Use this to navigate to the Resource Requirements window.
Expand Both Use this to expand all the pegging lines below the line you highlight in the pegging tree.
Refresh Supply/Demand Both Use this option to refresh the information in the Supply/Demand region. The planning engine does not change the information in the pegging region.
Calendar Both Various Calendar options (such as Organization Shipping and receiving) are available.
Refresh Demand Line The planning engine refreshes the information in the pegging region.

Pegging Icons in the Supply/Demand Window

Pegging information is available in the pegging region of the Supply/Demand window. You can use the icons provided in this window to perform the following:

Vendor Managed Inventory (VMI) Supplies

You can perform the following tasks to manage VMI supplies using the Planner Workbench: