Skip to main content

Distribution Centers Replenishment Planning

For each material of a distribution center, this planning suggests a quantity to ship to the center so that its stock covers the number of selling days you set in the center card. The program compares the current stock and the orders that have not arrived with the daily sales expected from the targets of the group's units. From the suggestion it can generate one sales order. This page explains the three windows, the preview columns, how the calculation works and the generated order. For the steps, see Plan distribution center replenishment.

Opening the window​

On the ribbon, choose Distribution > Coverage > Coverage > Distribution Centers Replenishment Planning. The item is after a separator, before Delete Distribution Unit.

  • The item appears if your licence includes the distribution feature and a company file is open.
  • You need the Distribution Centers Replenishment Planning permission in Users Management, on the Reports page. It is one check box that lets you run the window.
  • At least one center must be defined in Distribution Center Supply.
  • The centers appear in the Distribution Center list only for a user who has Full Authorities ticked in Users Management. For other users the list stays empty, and Preview opens a window with no data and no message.

Work goes through three windows: the conditions window, then the preview with the Preview button, then the order generation window with the Generate Freight Order button in the preview.

The conditions window​

Its title is Distribution Centers Replenishment Planning.

FieldDescriptionRequiredValues and rules
Distribution CenterThe center you plan for.YesA list of the centers defined in Distribution Center Supply. It starts at the first center. The centers appear in this list only for a user who has Full Authorities ticked in Users Management. For other users the list stays empty, and Preview opens a window with no data and no message. The program does not check this field or the Period field.
PeriodThe period whose targets, sales and work days are used.YesA list of the accounting periods that have no sub-periods, in the form code - name; in a non-Arabic interface the name is the Latin name (empty if the period has none). They are defined in Accounting periods. The window usually starts with the period that contains today's date. Check it before Preview.
UnitThe unit in which every quantity in the preview is shown and the suggested order is calculated.YesFirst Unit, Second Unit, Third Unit or Default Unit. The window starts with Default Unit. A material that has no second or third unit is calculated in its first unit.
Required Quantity includesWhich orders count in the Required Quantity column.At least one tickA check list with Unshipped Orders and Shipped Orders, both ticked when the window opens.
ButtonWhat it does
Preview (Alt+P)Opens the preview window with the chosen conditions. If you tick neither option the message "Please select one order type at least" appears. The conditions window stays open, so you can open several previews.
CancelCloses the window.

The preview window​

Its title is Distribution Center Replenishment Planning. It opens in its own frame and calculates the data when it opens.

Read-only fields that the program fills when the window opens and on Refresh.

FieldWhat it shows
Distribution CenterThe center name, in bold.
UnitThe name of the unit you chose in the conditions window, such as "Default Unit".
PeriodThe period name (the Latin name in a non-Arabic interface when one exists).
Days Number of Target Safety StockThe number of days in the center card.
Days of WorkThe days of the period minus the holidays entered in the distribution calendar.
Days ElapsedThe work days from the start of the period to today. If today is not inside the period, before or after it, the count runs to the end of the period, so no days are left.
Days LeftThe work days minus the elapsed days.
Required Quantity includesThe orders you chose, joined with +: Shipped Orders and Unshipped Orders.

Preview columns​

Every quantity is in the unit you chose (the quantity in the first unit divided by the unit factor), except Available Days. The rows follow the Material column. They start with all the materials of the center, even those with no target. A material that is in two groups of the center card (a group and one of its sub-groups) appears twice and its quantities double, as explained in Distribution Center Supply. Empty targets or sales are shown as zero.

ColumnWhat it shows and how it is calculated
MaterialThe material code, a dash, then its name (the Latin name in a non-Arabic interface when one exists). The materials of every materials group in the center card, with their sub-groups.
UnitThe name of the unit shown for the material.
Current StockThe total quantity of the material now in the center's warehouse and the warehouses under it.
Required QuantityThe total quantity of the orders of the center's shipping form in the period (by order date), excluding finished and cancelled orders, and for the center's branch if it has one. Quantities that reached the goods-in-transit status or a later one count as "shipped", quantities in an earlier status as "unshipped". The column includes what you ticked in Required Quantity includes.
Available Days(Current Stock + Required Quantity) ÷ Base, with two decimals. Zero if Base is zero.
Suggested OrderZero if Available Days equals or exceeds the number of safety stock days. Otherwise Base × (safety stock days − Available Days), which equals Base × safety stock days − (Current Stock + Required Quantity). Its text is gray.
TargetThe total of the targets of the distribution units in the center's group and its sub-groups for this material in the period, for the center's branch if it has one.
SoldThe net sales of the material in the period (sales bills minus returns, including bonus quantity), by the cost centers of the primary salesmen of these units, and for the center's branch if it has one. If more than one unit shares the same cost center, its sales are counted once per unit. Give each primary salesman his own cost center.
Daily TargetThe total of the unit targets divided by the work days, unit by unit.
Adjusted Daily Target(Target − Sold) ÷ Days Left. Zero if no days are left. It is negative if sales exceed the target.
BaseThe larger of Daily Target and Adjusted Daily Target. It is the expected daily sale that the planning is built on.

The unit targets are entered in Materials Targets by Distribution Groups.

ButtonWhat it does
Generate Freight OrderOpens the Generate Order window and then generates the order. See The generated order.
Refresh (Alt+R)Recalculates from the current data of the file with the same conditions and cancels any sorting you did.
CloseCloses the preview.

Worked example​

A center with ten safety stock days. The period is a month with 26 work days, 10 elapsed and 16 left. The unit is First Unit. Both shipped and unshipped orders are ticked.

The material "Water 1.5 L" has two targets in two units of the center's group: 1500 and 1100 bottles.

StepCalculationResult
Target1500 + 11002600
Daily Target1500 ÷ 26 + 1100 ÷ 26100
SoldNet sales of the two units to date800
Adjusted Daily Target(2600 − 800) ÷ 16112.5
BaseThe larger of 100 and 112.5112.5
Current StockIn the center's warehouse700
Required QuantityAn unshipped order of 200 + a shipped order of 100300
Available Days(700 + 300) ÷ 112.58.89
Suggested Order112.5 × (10 − 8.8889), that is 112.5 × 10 − 1000125

A second material has stock of 1500, a base of 100 and no orders: its available days are 15, more than 10, so its suggested order is 0 and it does not enter the generated order.

If you chose Second Unit (a carton of 12 bottles), the program would divide every quantity by 12: stock about 58.33 and suggestion about 10.42, while Available Days stays 8.89. See the unit warning in The generated order.

The Generate Order window​

Its title is Generate Order. It opens when you click Generate Freight Order and blocks work in other windows until you close it.

FieldDescriptionRequiredValues and rules
Order TypeThe order form with which the order will be generated.NoRead-only. It shows the Shipping Order Form saved in the center card.
WarehouseThe warehouse the materials ship from.YesYou choose from the warehouse search window. The window shows only warehouses that have no sub-warehouses. It is not necessarily the center's warehouse.
Cost CenterThe cost center of the order.NoIf you leave it empty, no cost center is put on the order.
SalesmanThe salesman of the order.NoYou choose from the salesmen list.
DistributorThe distributor recorded on the order.NoYou choose from the distributors list.
ButtonWhat it does
OKIf you have not chosen a warehouse the message "Select Warehouse" appears. Otherwise it closes the window and generates the order.
CancelCloses the window without generating.

The generated order​

After OK the program generates one sales order and opens it, as follows:

ItemWhat goes in the order
FormThe Shipping Order Form in the center card. The order is a sales order that leaves the warehouse.
WarehouseThe warehouse you chose in the Generate Order window, for the order and for every line.
BranchThe center's branch in its card (empty if the branches system is not used).
Cost center, salesman, distributorWhat you chose in the Generate Order window.
DateToday's date. If it is after the closing date or before the lock date, the program asks whether to generate. If the lock date itself is before the opening date, it asks once more. On Yes it uses the nearest allowed date. On No no order is generated.
CustomerNone.
Payment and currencyCash payment, and the file's default currency at a rate of 1.
LinesOne line for each material of the preview whose suggested order is more than the smallest quantity the program recognises, in ascending Material order, even if you sorted the grid another way. A material with a suggestion of zero does not enter.
Line quantityThe number shown in Suggested Order.
Line unitThe material's First Unit, always.
Price and discountThe price is zero, with no discount and no bonus.
Quantity statusThe first status in the form's list of statuses.
Order datesAll set to the order date plus the form's default delivery days.
warning

The line unit is the material's First Unit whatever Unit you chose in the conditions window. If you chose a unit other than the first, the number shown in Suggested Order (such as 10.42 cartons) goes into the order as a count of the first unit (10.42 bottles). Choose First Unit in the conditions window before you generate the order.

What happens after you click OK:

  1. If a material requires serial numbers on output, the serial numbers window opens for it. If they stay incomplete the message "The serial numbers of the material are either missing or incomplete" appears and no order is generated.
  2. If no line remains with a positive suggestion, "No material found to save the bill" appears.
  3. The program saves the order. If that fails, "An error occurred while saving" appears.
  4. On success "Operation successfully completed" appears, and the sales order window opens on the new order.
  5. The preview then refreshes by itself. If Unshipped Orders is ticked, the order date is inside the chosen period, and the form's first status is before the goods-in-transit status, the new order enters the Required Quantity column and Suggested Order falls.

If the order is not generated because of any of the errors above, or because you answered No to a date question, the message "Operation failed" appears afterwards.

Row menu​

Right-click the row number.

ItemWhat it does
Material CardOpens the material card of the row's material.

The grid removes the usual menu items (Copy, Paste, Cut, Delete, Insert and Insert New Line). The grid is read-only.

Column header menu​

Right-click the Material column header. The other headers open no menu.

ItemWhat it does
Ascending sortSorts the rows by the text of the Material column (code, then name), ascending.
Descending sortSorts them descending.

Sorting is lost on Refresh.

Corner menu​

ItemWhat it does
Find... (Ctrl+F) and Find Next (Ctrl+N)Search the cells of the grid.
Table Properties...Opens the row colours window.
Save SettingsSaves your column widths and row colours.

The grid removes Copy, Paste, Cut, Insert and Clear. The remaining items are explained in Grid properties.

Messages​

MessageWhy it appearsWhat to do
Please select one order type at leastYou clicked Preview with neither Unshipped Orders nor Shipped Orders ticked.Tick at least one option.
Select WarehouseYou clicked OK in the Generate Order window without a warehouse.Choose the warehouse.
The serial numbers of the material are either missing or incompleteA material requires serial numbers on output and they are incomplete.Complete the numbers and generate again.
No material found to save the billNo material in the preview has a positive suggested order, or the serial numbers message appeared before it.Check the preview.
Date is after closing date. Do You Want to generate bill?Today's date is after the end of the file's financial period.Yes generates it with the last allowed date, No cancels.
The date is prior to lock date. Do you want to generate the billToday's date is before the lock date.Yes generates it with the lock date, No cancels.
The date is prior to beginning date. Do you want to generate the bill?Appears after the previous one if the lock date is before the opening date too.Yes generates it with the opening date, No cancels.
An error occurred while savingThe order could not be saved.Try again. If it repeats, contact your system administrator.
Operation successfully completedThe order was saved. It opens next.Nothing.
Operation failedThe order was not generated for one of the reasons above.Fix the cause and try again.

This page applies to alameen ERP 10, version 10.1.79.764.