Professional Documents
Culture Documents
Supply-Demand Pegging
Sajeev Nair
Principal Consultant, Oracle VCP
Rapidflow Apps Inc.
Information
About the Author
This document is prepared by Sajeev Nair, from RapidflowApps Inc. Sajeev Nair has
14 years of industry experience in the Supply Chain and Manufacturing domain,
having worked as a consultant in many complex supply chain IT projects involving
Oracle VCP and related products. Sajeev has also worked as a supply chain manager
in the auto industry and is certified by APICS CSCP.
Understanding pegging is critical for business users who need to analyze and take
decisions based on the ASCP plan output
Pegging Overview
Pegging is done all the way up to the top-level independent demand, and all the way
down to the bottom-level purchased component supply.
MSO: Net all Firm Supplies Before Creating Planned Orders : Nets all firmed
supply available in any future period before creating new planned orders. The
values are:
No: Does not net firm supplies before creating planned orders.
All Supply Types: Net all firm supplies before creating planned orders. This includes
work orders, purchase orders, transfer supplies and firm planned orders for these
supplies.
Only for Work Orders: Net only firm discrete jobs before creating planned orders.
Only for Purchase and Transfer Supplies: Net all firm purchased and transfer
supplies before creating planned orders.
Pegging Process
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.
Demand and supply are grouped based on the window size selected
Supplies in each window are sorted by type using the following order:
1.
2.
3.
Firm supplies : On-hand, Receipt & Intransit shipment, Firm work order & firm PO, Firm
Purchase requisition
Existing supplies: Non firm Work order, PO, Purchase requisition
Planned supplies: Unreleased planned orders
Pegging Process
Pegging Modes
Standard pegging: Standard pegging groups demands into windows and supplies by
type, then pegs by priority within window. It provides a limited amount of
prioritization at the day level (the window size is always one day).
Priority pegging: Priority pegging pegs high priority demands first to on-hand and
firm supplies then continues with other existing and non-firm supplies. It controls the
trade-off between holding inventory or satisfying lower priority demands.
FIFO pegging: FIFO pegging pegs demands to supplies on a day-by-day basis. It is the
pegging process with the least load on the system.
Priority/FIFO pegging: The planning engine uses a combination of priority pegging
and FIFO pegging methods where it does not prioritize beyond the firm supplies. The
load on the system is less than the load from priority pegging.
Pegging Modes
The four pegging modes are chose based on the combination of Peg supplies by
Demand Priority checkbox in Plan options, and values of profile option MSC: Use
FIFO Pegging
Pegging Mode
Standard
Not selected
No
Priority
Selected
No
FIFO
Not selected
Yes
Priority/FIFO
Selected
Yes
Standard Pegging
Standard pegging involves the following steps:
1. The planning engine groups demands and supplies into daily windows by demand
priority and supply sorting sequence
2. 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.
3. 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.
40
15
10
15
05
10
20
10
Sales
Order
On
Hand
20
Purchase
Order
Planned
Order
20
Demand and supply has been grouped in daily windows. Sales order demand has
been sorted based on priority, and supplies based on supply type.
Pegging begins from the 1st demand window, with Sales order of 10, and pegs it to
first supply available, a On hand qty of 5, and remaining 5 then with a planned
purchase order.
Once the sales order with highest priority is fully pegged, the 2nd sales order of qty 15
is pegged with the first available supply of 15 nos. of planned purchase order.
When the 1st demand window is fully pegged, it moves to the next demand window,
the 3rd and searches for available supply from the earliest supply window. As supply
window 1 is exhausted, it starts pegging from supply window 2, starting with firm
purchase order qty of 10, and then planned purchase order of 10.
When the supply window 2 is fully pegged, it moves forward to the next available
supply window and comes to window 4.
Priority Pegging
Priority pegging involves the following steps:
1. 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 Firm Supply Allocation
Window (Backward days) and finds the first firm supply quantity to peg the
demand to.
2. 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 Firm Supply Allocation Window (Forward
days) to find supplies to peg the demand to.
3. The above steps end when the demand is completely pegged to firm supplies or
all firm supplies in the firm supply allocation windows are exhausted.
Priority Pegging
Priority pegging involves the following steps:
4.
5.
For the remaining demands and supplies, the planning engine groups all
demands and supplies into windows of days by using profile option
Demand/Supply Window Size, in demand priority and supply sorting sequence
Similar to standard pegging, 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.
20
50
15
10
15
05
15
Sales
Order
15
On Hand
Purchase
Order
10
25
10
Planned
Order
20
Pegging begins from the demand of highest priority, Sales order of 20 on day 2, and
searches backwards for a firm supply (based on profile option Firm Supply Allocation
Window (Backward days) =1).It can look back up to 1 day back, and finds a firm
supply, Onhand qty 15 on Day1 to peg to.
If the demand is not met, then it next scans forward for a firm supply (based on
profile option Firm Supply Allocation Window (Forward days) =1).It can look forward
up to 1 day, and finds a firm supply, Purchase order qty 05 on Day 3 to peg to. Here
supply of day 2, is not a firm supply, so pegging in this phase ignores it.
Pegging takes up the next highest priority demand, Sales order on day 4 of qty 50.
Since there is no firm supply by searching backwards, it searches forward and pegs to
firm purchase order, qty 25 on day 5.
This pegging phase ends when all the firm supplies have been pegged
50
20
10
15
10
15
25
05
10
15
20
15
Sales
Order
On Hand
Purchase
Order
Planned
Order
The planning engine next groups supplies and demands to windows based on using
profile option Demand/Supply Window Size.
The demand window starts at first demand date, day 2 and ends on day 3 based on
the profile option demand window size, kept at 2. From here on each demand
window is of 2 days each till the end of planning horizon
The supply window starts at first supply date, day 1 and ends on day 3 based on the
profile option supply window size, kept at 3. From here on each supply window is of
3 days each till the end of planning horizon.
After grouping into windows, the supplies and demands are pegged as per sorting
order and priority respectively
Pegging starts with highest priority demand in the 1st demand window, i.e. sales
order on day 2 with qty 15. Supply is found in the 1st demand window on day 2 in the
form of a planned order. Here unlike the 1st phase of pegging, even if sales order on
day 4 has higher priority than sales order on day 2 with qty 15, it has to wait before
all demand in the previous demand window has been pegged.
This phase of pegging is similar to standard pegging, but with variable demand and
supply windows, instead of fixed window size of 1, as in standard pegging
FIFO Pegging
FIFO pegging involves the following steps:
1. The planning engine pegs demands to supplies day by day. It does not sort each
days supplies and demands.
2. When there are no more supplies or demands on one day, uses supplies or
demands from the next day
3. At the end of the planning horizon, posts unpegged supplies to excess.
2
20
15
15
10
10
05
5
10
50
10
10
05
15
15
Sales
Order
05
On Hand
15
Purchase
Order
10
Planned
Order
25
10
20
No sorting of demand or supply is done. There are no sales order priority sorting or
supply type sorting.
Pegging is done on a day to day basis, starting with day 1. When the supply of qty 15
finds no demand to peg to on day 1, it moves to day 2 and pegs to demand of 20.
On day 2, remaining demand of 05 and 15 are pegged to supply of day 2, and
remaining 5 from day 3.
In this way each supply and demand for a day are pegged in the same day or the next
day(s).
Priority/FIFO Pegging
20
50
15
10
15
05
15
Sales
Order
15
On Hand
Purchase
Order
10
25
10
Planned
Order
20
The 1st phase of pegging is similar to Priority pegging, where highest priority sales
order on day 2 is pegged to firm supplies on day 1 and day 3, while the next highest
priority demand on day 4 is pegged to firm supply on day 5. The 1st phase ends when
all the firm supplies have been pegged.
15
25
15
Sales
Order
15
On Hand
Purchase
Order
10
10
Planned
Order
10
20
For the remaining supply and demands, FIFO pegging logic is followed.
Pegging is done on a day to day basis, starting with day 2 supply and demand, day 3
supply is matched to earliest available demand, on day 3.
In this way each supply and demand for a day are pegged in the same day or the next
day(s).
Conclusion
The ASCP pegging logic can be difficult to comprehend in many cases, but it need not
be a black box
The pegging logic has multiple setups/controls for modification and fine tuning for
the many business scenarios
If properly understood and implemented, the supply demand pegging is a great asset
to the supply chain users in getting the maximum benefit out of their ASCP
implementation
Feedback
Disclaimer
The information contained in this presentation is for information purpose only and is
based on the personal experience of the presenter and publicly available material on
the subject.
The presenter is not responsible for the claims made about the product benefits by
the product vendor.