The open-to-buy function can be divided into three phases:
Planning phase
The season budget and the budget already released are calculated on the basis of monthly planning figures, sales, closing stock, markdowns and physical inventory differences.

If stock needs to be built up prior to the start of the actual selling period, then the planning period should also include the relevant periods prior to the start of the season. For these periods, you only plan the key figure "Closing stock."
Purchasing phase
Long before the start of the actual planning period, you can enter purchase orders that have a delivery date during the planning period. The planned released budget is available for this. All purchase orders reduce the open-to-buy so that it always corresponds to the portion of the released budget which has not yet been spent.
Business phase
The updated actual figures for sales, stock and so on can now be compared with the planned figures. OTB in this phase is calculated using the planned and actual figures available. This helps to prevent strong planned/actual variances occurring. The goal is always to achieve the planned closing stock for the current period, so that discrepancies between planned and actual values do not affect the following periods.
If the actual sales for a period are more than the planned sales, then you will need to purchase more stock to reach the planned opening stock for the following period. If, on the other hand, the planned sales volume is not reached, you need to block further buying and stockpiling, and, if necessary, reduce the existing stock by creating a sales promotion or an inventory clearance.
Note the following:
If goods receipt occurs earlier than planned, part of the OTB becomes available in the planned period and the goods receipt period is debited.
If goods receipt occurs later than planned, OTB becomes available in the planned delivery period, which has already passed. This is not transferred into the subsequent period because the amount has already been cleared by the lower opening stock at the start of the subsequent period (caused by the missed delivery).
If actual markdowns and inventory differences exceed the planned values, the differences are taken into account in the OTB calculation in the current period.
If actual markdowns and inventory differences are less than planned, then the resulting differences in the planned and actual values only become effective in the subsequent period, in the form of higher opening stock.
With the above considerations, the unused OTB of completed periods is transferred to periods as far in the future as possible to prevent the planned and actual amounts from drifting apart over several periods.