Explainer

How the RPT decision is made

Five questions, a calendar and a curve. Why the RPT decision is much more than "is the product a hit?", and where the rule used on the shop floor goes wrong.

Repeat Order (RPT) · 2 / 6

In the previous article Pars wrote five questions on the whiteboard. In this one we open them up in order. The order matters, because each question leans on the answer to the one before.

Scope first: not every product is a candidate

Banu’s first objection was this:

“Are we going to look at every single product, every Monday?”

We are not. The RPT question only makes sense for one group of products.

NOS and Basic products are replenished continuously anyway. They are the core products that must never run out; as warehouse stock falls, periodic orders go to the supplier. For them a “repeat order” is not a separate decision, it is the routine itself.

Collection products are for one season. They are bought in one go and usually stay that way. This is where the RPT question is born: the initial buy was a bet, and it has become clear the bet has come off.

But even within Collection, not every product is a candidate. Three conditions have to hold:

  1. The signal must be real. Sales taking off in a single store may be a fluke. A rate of sale seen across the chain is a signal.
  2. There must be time. The lead time must be shorter than the product’s remaining life.
  3. The MOQ must be sellable. The supplier makes at least the MOQMinimum order quantity; the smallest number of units a supplier accepts for an order. In a repeat order it is the gate the decision has to pass through.. If that many cannot be sold in the rest of the season, the order means buying surplus stock.

A candidate model that weighs these three conditions for every product, every week, is the subject of the fourth article in the series. Here we will only say this: the candidate model does not ask “is it selling?”, it asks “is it worth making again?”

The second question: how much more would it have sold?

Pelin’s question. The answer has two layers.

The first layer: the customer who finds the rail empty. A sales report does not show demand; it shows the smaller of demand and stock. The way to estimate the gap was set out in the Lost Sales series: find the stockout days, measure the rate of sale on the days in stock, and write a loss against each stockout day. For the RPT, one constraint is added. We make the estimate on the morning of the decision, which means seeing only what happened up to that Monday. The next day’s sales cannot enter the sum.

Let’s apply it to the jacket. It sold 1,091 units in three weeks: 363.7 a week. With a loss written against the stockout days, demand over the three weeks comes to 1,195, or 398.3 a week: 9.5% more. What is being estimated is demand for the jacket itself: the customer who found the rail empty and in the end bought another product also wanted the jacket, and is part of this demand too.

Real weekly demand was 392.7. The adjustment closes the gap, and even overshoots a little. In the jacket’s first three weeks, 95.0% of the store-size-days started the day with stock on the rail; stockouts are still mild and the adjustment does its job. But working on one product does not mean it will work on every product. In the third article we test it on all the products of two seasons, and what we will see is this: on average the estimate comes out a little low, and its uncertainty is wide. That is why the quantity decision will be made not with a single number but with a distribution.

We know the real demand because Lumoda is synthetic. In your chain there is no referee to make this comparison. You can only test how good the estimate is indirectly.

The second layer: the life cycle curve. Knowing the first three weeks’ sales is not knowing the season’s sales. But from past seasons we know this: a Collection product that came in with the first wave sees 22.8% of its demand up to markdown in its first three weeks. One that came in with the third wave, because its season is shorter, sees 31.4%. We do not know this share product by product; we take it from the wave’s common curve. Then

season demand≈demand in the first three weeksthe curve’s share in the first three weeks\text{season demand} \approx \frac{\text{demand in the first three weeks}}{\text{the curve's share in the first three weeks}}

The first to bring this sum into the academic literature were Fisher, Rajaram and Raman. At the retailer they studied, the season forecast made from the first two weeks’ sales had an error of 8%; the buying committee’s pre-season forecast, 55%. The first reaction on reading this is “so why do we forecast before the season at all?” The answer is simple: we have to place the initial order before that information arrives. The RPT is the moment the information arrives.

The subtle point to watch is this: the curve’s shape comes from past seasons, its level from this season. The RPT decision does not look at last season’s sales. The product is already on sale; how much it is selling is written in this season’s data. The past answers only one question: “how much of the curve is used up in three weeks?” At Lumoda the curve is learnt from the four seasons of three years’ data that closed before this one. Because those seasons’ sales also stopped while the rail was empty, the curve is first adjusted with the same method; the details are in the third article.

The third question: will it make it?

Banu’s question, but asked the wrong way it gets the wrong answer.

“Will it make it?” is usually asked as “will it be in the warehouse before markdown?” That is not enough. The real question is “how much of the curve is left after it arrives?”

Let’s put the suppliers side by side. Lumoda’s domestic suppliers typically make a repeat order in 5 weeks, the ones in Egypt in 8 weeks. The Far East suppliers take between 12 and 15 weeks; in the table we use the median, 13.5 weeks. If the order is placed three weeks after launch:

WaveOriginArrival (weeks from launch)Left of demand up to markdownLeft of demand up to exit
1Domestic836.1%41.2%
1Egypt1120.0%26.3%
1Far East16.54.5%12.1%
3Domestic811.8%41.3%
3Egypt110.0%23.4%
3Far East16.50.0%1.0%

In the first wave all three arrive before markdown. Ahead of the domestic order lies more than a third of the demand up to markdown; ahead of the Far East one, not even a twentieth. Same product, same signal, very different decisions.

And a supplier may not deliver on the promised day. At Lumoda the domestic suppliers deliver an RPT almost to the day. The Far East suppliers are 5.8 days late on average, 20 days at worst. Another slice goes from a curve that was already short.

Look at the last column too. In the third wave the domestic RPT catches only 11.8% of the demand up to markdown, but 41.3% of the demand up to exit. The first article’s jacket sits on exactly this row. The difference is the markdown period. Stock sells then too, but for less. That is why whether an RPT is profitable is answered inside the next question, the quantity question.

The fourth question: how much?

There are two mistakes here, and they cost different amounts.

Buy too little and you cannot meet part of the remaining demand. What you lose is the profit on a full-price sale.

Buy too much and the surplus is left for the end-of-season markdown. What you lose is the difference between the cost price and the marked-down selling price; if it does not sell at all, the whole cost price.

The ratio of these two costs tells you how bold the order should be. If the full-price profit is high and the loss on a markdown sale is low, you are bold; the other way round, cautious. This is the newsvendor problem: the child selling newspapers decides in the morning how many papers to buy without knowing the evening’s sales. We do the sum in the fifth article of the series.

Banu’s rule has no such balance. The rule says “half the initial buy”. Half if the product is selling three times the plan, half if it is a little over plan.

The fifth question: how will it get to the stores?

Veli’s memory. The RPT is in the warehouse. Now what?

Should the stock go out like an initial allocation, or like replenishment? In fact this is replenishment: the product has already sold in the store, and we are putting the same thing back in place of what sold. But replenishment’s yardstick is broken. The system looks at the last four weeks’ sales, and because the product has been out of stock for four weeks, those sales are zero.

There are three ways:

  1. Today’s rule. Look at the last 28 days’ sales. We know how that ends.
  2. In-stock-day rate. Work out the rate from the days on which the store last sold the product while it was on the rail, then carry it forward to today with the life cycle curve. The rate three weeks ago is not today’s rate; the product has aged.
  3. Relaunch. Split the stock like an initial allocation, by the stores’ shares of demand in the product’s first weeks, adjusted for in-stock days. If you like, hold part of it back in the warehouse and allocate it a week later at the in-stock-day rate.

Which is better we measure in the sixth article, on the same demand.

Where Banu’s rule goes wrong

Let’s write the rule out once more: if more than 55% of what was sent out in the first weeks has sold, order half the initial buy.

  1. The ratio looks at stock sent, not at demand. A product that was bought light shows a high ratio on ordinary demand. A hit that was bought heavy shows a low one.
  2. It does not see stockout days. A product that has run out sticks at 100%; that says nothing about how much more it would sell.
  3. The quantity is fixed. It does not look at the curve left, the lead time or the cost of the two mistakes.
  4. It asks “will it arrive?”, not “will it sell when it arrives?”
  5. The incoming stock does not go to a store whose sales show as zero.

All five can be fixed. The fix for each of them is in the data.

A counter-example

In the best-known case of fast fashion, Zara, it is often written that a product usually gets a single production order. The agility comes less from making the same product again than from repeating an idea that worked with a new product. That is a reminder that the RPT is not the only answer. But it needs a chain that gets from design to production in a few weeks. Lumoda does not have that; what it has is a product whose sales become clear mid-season, and a supplier who makes that product.

In the next article we go back to Pelin’s question and answer it with numbers: how much more would it have sold?

By Sabri Suyunu