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.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Distribution Center | The center you plan for. | Yes | A 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. |
| Period | The period whose targets, sales and work days are used. | Yes | A 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. |
| Unit | The unit in which every quantity in the preview is shown and the suggested order is calculated. | Yes | First 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 includes | Which orders count in the Required Quantity column. | At least one tick | A check list with Unshipped Orders and Shipped Orders, both ticked when the window opens. |
| Button | What 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. |
| Cancel | Closes 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.
Window header
Read-only fields that the program fills when the window opens and on Refresh.
| Field | What it shows |
|---|---|
| Distribution Center | The center name, in bold. |
| Unit | The name of the unit you chose in the conditions window, such as "Default Unit". |
| Period | The period name (the Latin name in a non-Arabic interface when one exists). |
| Days Number of Target Safety Stock | The number of days in the center card. |
| Days of Work | The days of the period minus the holidays entered in the distribution calendar. |
| Days Elapsed | The 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 Left | The work days minus the elapsed days. |
| Required Quantity includes | The 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.
| Column | What it shows and how it is calculated |
|---|---|
| Material | The 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. |
| Unit | The name of the unit shown for the material. |
| Current Stock | The total quantity of the material now in the center's warehouse and the warehouses under it. |
| Required Quantity | The 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 Order | Zero 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. |
| Target | The 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. |
| Sold | The 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 Target | The 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. |
| Base | The 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.
| Button | What it does |
|---|---|
| Generate Freight Order | Opens 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. |
| Close | Closes 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.
| Step | Calculation | Result |
|---|---|---|
| Target | 1500 + 1100 | 2600 |
| Daily Target | 1500 ÷ 26 + 1100 ÷ 26 | 100 |
| Sold | Net sales of the two units to date | 800 |
| Adjusted Daily Target | (2600 − 800) ÷ 16 | 112.5 |
| Base | The larger of 100 and 112.5 | 112.5 |
| Current Stock | In the center's warehouse | 700 |
| Required Quantity | An unshipped order of 200 + a shipped order of 100 | 300 |
| Available Days | (700 + 300) ÷ 112.5 | 8.89 |
| Suggested Order | 112.5 × (10 − 8.8889), that is 112.5 × 10 − 1000 | 125 |
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.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Order Type | The order form with which the order will be generated. | No | Read-only. It shows the Shipping Order Form saved in the center card. |
| Warehouse | The warehouse the materials ship from. | Yes | You 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 Center | The cost center of the order. | No | If you leave it empty, no cost center is put on the order. |
| Salesman | The salesman of the order. | No | You choose from the salesmen list. |
| Distributor | The distributor recorded on the order. | No | You choose from the distributors list. |
| Button | What it does |
|---|---|
| OK | If you have not chosen a warehouse the message "Select Warehouse" appears. Otherwise it closes the window and generates the order. |
| Cancel | Closes the window without generating. |
The generated order
After OK the program generates one sales order and opens it, as follows:
| Item | What goes in the order |
|---|---|
| Form | The Shipping Order Form in the center card. The order is a sales order that leaves the warehouse. |
| Warehouse | The warehouse you chose in the Generate Order window, for the order and for every line. |
| Branch | The center's branch in its card (empty if the branches system is not used). |
| Cost center, salesman, distributor | What you chose in the Generate Order window. |
| Date | Today'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. |
| Customer | None. |
| Payment and currency | Cash payment, and the file's default currency at a rate of 1. |
| Lines | One 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 quantity | The number shown in Suggested Order. |
| Line unit | The material's First Unit, always. |
| Price and discount | The price is zero, with no discount and no bonus. |
| Quantity status | The first status in the form's list of statuses. |
| Order dates | All set to the order date plus the form's default delivery days. |
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:
- 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.
- If no line remains with a positive suggestion, "No material found to save the bill" appears.
- The program saves the order. If that fails, "An error occurred while saving" appears.
- On success "Operation successfully completed" appears, and the sales order window opens on the new order.
- 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.
Grid menus
Row menu
Right-click the row number.
| Item | What it does |
|---|---|
| Material Card | Opens 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.
| Item | What it does |
|---|---|
| Ascending sort | Sorts the rows by the text of the Material column (code, then name), ascending. |
| Descending sort | Sorts them descending. |
Sorting is lost on Refresh.
Corner menu
| Item | What it does |
|---|---|
Find... (Ctrl+F) and Find Next (Ctrl+N) | Search the cells of the grid. |
| Table Properties... | Opens the row colours window. |
| Save Settings | Saves your column widths and row colours. |
The grid removes Copy, Paste, Cut, Insert and Clear. The remaining items are explained in Grid properties.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Please select one order type at least | You clicked Preview with neither Unshipped Orders nor Shipped Orders ticked. | Tick at least one option. |
| Select Warehouse | You clicked OK in the Generate Order window without a warehouse. | Choose the warehouse. |
| The serial numbers of the material are either missing or incomplete | A material requires serial numbers on output and they are incomplete. | Complete the numbers and generate again. |
| No material found to save the bill | No 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 bill | Today'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 saving | The order could not be saved. | Try again. If it repeats, contact your system administrator. |
| Operation successfully completed | The order was saved. It opens next. | Nothing. |
| Operation failed | The order was not generated for one of the reasons above. | Fix the cause and try again. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.