Orders Effect on Stock
This report answers the question: what happens to the stock of each material if all the remaining purchase orders arrive and all the remaining sales orders go out? For each material it shows the ordered, fulfilled and remaining quantities of purchase orders and of sales orders, the difference between them, the stock, and the stock after fulfilling the orders. The storekeeper can see which materials will run short before they do.
Opening the report
- From the ribbon: Orders > Reports > Orders Effect on Stock. The command is a button of its own in the Reports group.
- The command appears when your licence includes orders and a file is open.
- The user needs the Orders Effect on Stock permission on the Reports page of Users Management.
The conditions window appears first. Set the conditions, then click Preview to show the report, or Summaries to show its totals in cards. The page Report parameter forms explains the buttons of this window, and the page Report viewer explains what follows.
How the report calculates
For each material, and for each warehouse or category if you turn on by Warehouses or by Category:
- Orders: purchase and sales orders whose form is in Report Sources and that you may read, whose Agreed Delivery Date (not the order date) is inside Date, and that meet the Order Conditions and Customers Terms. The cost center of the order is Cost Center or one of its sub-centers, and its warehouse is Warehouse or one of its sub-warehouses. The report does not leave out an order because of its status: active, finished and canceled orders are counted. The Report Sources list has only the order forms with the option Affects Stock Calculation (Purchase Orders Forms).
- Order Quantity (in purchase or sales): the sum of the line quantities of the orders in the chosen unit, without gifts. Fulfilled: the sum of the positive records in the phases that have Quantity of this phase is fulfilled in the Order Phase Card and are posted to bills. It is calculated in the unit of the order line itself, so it matches Order Quantity when the unit of the line is the chosen unit. Remaining = Order Quantity − Fulfilled. The program calculates Fulfilled from all orders of the selected sources whose agreed delivery date is inside Date. It does not apply Cost Center, Customers Terms or Order Conditions to it, nor Warehouse unless by Warehouses is on. With these conditions Fulfilled can exceed Order Quantity and Remaining can be negative. Each posting records the quantity as minus in the phase it leaves and plus in the phase it enters, so Order Quantity stays the line quantity. Moving a quantity back to an earlier phase does not lower Fulfilled.
- Gifts (shown with the Gifts option) and Gifts Posted: the program adds the gifts of a line once for each record the line has in the phases: one when the order is saved and two for each posting. Before any posting they equal the line's gifts; after one posting they show three times as much. Remaining Gifts is the difference.
- Difference = (purchase orders remaining) − (sales orders remaining). Gifts are not part of it. It is positive when the incoming quantity expected is more than the outgoing quantity expected.
- Stock: the net quantity of posted bills dated inside Date, with the gifts of the lines. Input counts as plus and output as minus. This is the net movement of the period and does not include what came before. If you do not turn on by Warehouses, it covers all warehouses even if you chose a Warehouse, which limits the orders only. With by Warehouses it covers only the chosen warehouses.
- Stock after Fulfilling Order = Difference + Stock.
- Maximum Limit, Minimum Limit and Re-Order Point: the values recorded in the material card, not calculated.
A material appears when it has a counted order (agreed delivery date inside Date) and also a line in a bill or an order dated inside Date, posted or not. With by Warehouses the line must be in the same warehouse, with by Category in the same category. Otherwise the material does not appear, even if it has remaining orders. The Show options then decide which materials stay, by Stock after Fulfilling Order:
| Option | Keeps the materials whose stock after fulfilling is |
|---|---|
| Materials Available for Sale | More than zero. |
| Balanced Materials | Zero. |
| Unavailable Materials | Less than zero. |
The option Unordered Materials adds materials that have movement in bills other than orders and do not appear in any order of the selected sources. Their order numbers are zero and their stock is calculated as above. These materials pass through the three filters above too. With by Warehouses these materials show only with Balanced Materials: their Stock after Fulfilling Order is 0, Difference shows the re-order point and Re-Order Point shows the stock. If the bill lines of the material carry more than one category, the material shows on more than one row with the same figures.
Parameters
The table follows the order of the window in the standard layout. After the first fields comes a Conditions group with Materials, Customers and Order, then a group Advanced Options, then Report Sources. With Tabs the pages are General (it holds the options), Sources and Conditions. With Extended Tabs they are General, Options, Sources, Materials Terms, Customers Terms and Order Conditions. You choose the layout in Report options. After the report is shown you can change conditions in the Option List panel of the viewer and click Apply. The panel is disabled while a workspace is in use, and after Refresh or Apply. The panel has the group General (Material, Group, Warehouse and Cost Center), Period, Options (Use Unit), Advanced Options (the Show and Detail options) and Sources. It does not have the conditions on materials, customers and orders, so change those in the conditions window. The options that change the columns of the report are disabled in it: by Warehouses and by Category.
Main conditions
| Condition | Meaning and effect | Default and rules |
|---|---|---|
| Material | Limits the report to this material. | Empty. Disables Group while it has a value, and the other way round. |
| Group | Keeps the materials of this group and its sub-groups. | Empty. |
| Cost Center | Keeps the orders whose cost center is this center or one of its sub-centers. The field appears only if your licence includes cost centers. | Empty, meaning all centers, and the orders that have no center. |
| Warehouse | Keeps the orders whose warehouse is this warehouse or one of its sub-warehouses. It limits Stock only with by Warehouses. | Empty, meaning all warehouses. |
| Use Unit | The unit of the quantities: First Unit, Second Unit, Third Unit or Default Unit. | Default Unit. |
| Date | A list of ready periods and the From and To boxes. They are compared with the agreed delivery date of the order, and with the date of bills for the Stock. | From is the first day of the financial period, or the first day of the current month if you cleared the program option "Default start date is the opening date". To is today. See Date range field. |
| Materials Terms | Saved conditions on material cards. They appear if your licence includes material conditions in reports. | None. |
| Customers Terms | Saved conditions on customer cards. They appear if your licence includes customer conditions in reports. | None. If you choose them, orders with no customer do not appear. |
| Order Conditions | Saved conditions on order data. | None. |
The Saved conditions field explains the editor of saved conditions.
Report options
Under the heading Show:
| Option | What it does | Default and rules |
|---|---|---|
| Gifts | Shows three gift columns under Purchase Orders and three under Sales Orders. It does not change the calculation. | Off. |
| Unavailable Materials | Keeps the materials whose stock after fulfilling is less than zero. | Off. |
| Materials Available for Sale | Keeps the materials whose stock after fulfilling is more than zero. | On. |
| Balanced Materials | Keeps the materials whose stock after fulfilling is zero. | Off. |
| Unordered Materials | Adds the materials that have no orders. | Off. |
You cannot turn off the last turned-on option among Unavailable Materials, Materials Available for Sale and Balanced Materials.
Under the heading Detail:
| Option | What it does | Default and rules |
|---|---|---|
| by Warehouses | One row per material in each warehouse, and adds the Warehouse column. | Off. It changes the data shape. |
| by Category | One row per material in each category, and adds the Category column. The category of orders is the one in the order line, and Stock on the row counts only the bill lines of the same category. | Off. It changes the data shape. |
Report sources
The Report Sources list sets the sales and purchase order forms that are calculated. See Report parameter forms. The program shows only the forms you may read and that have the option Affects Stock Calculation.
Report header
The header shows Material, Group, Warehouse, Cost Center, Use Unit, Materials Terms, Customers Terms and Order Conditions if you chose them, then the date range.
Columns
The table has one row per material (and per warehouse or category if you turn on their detail). Add hidden columns from the field list, see Report grid tools. The columns are grouped under two headings: Purchase Orders and Sales Orders.
| Column | Meaning | When shown | How calculated |
|---|---|---|---|
| Material Name | The name of the material. | Always. | |
| Unit | The chosen unit. | Hidden. | On Unordered Materials rows with Default Unit, it shows the name of the first unit. |
| Warehouse | The warehouse. | With by Warehouses. | |
| Category | The category. | With by Category. | |
| Order Quantity (under Purchase Orders and under Sales Orders) | The quantity ordered. | Always. | Step 2. |
| Fulfilled (under each) | The quantity fulfilled. | Always. | Step 2. |
| Remaining (under each) | The quantity remaining. | Always. | Order Quantity − Fulfilled. |
| Gifts (under each) | The gifts of the order lines. | With the Gifts option. | Step 3. |
| Gifts Posted (under each) | The gifts posted. | With Gifts. | Step 3. |
| Remaining Gifts (under each) | The gifts not posted. | With Gifts. | Gifts − Gifts Posted. |
| Difference | The effect of the remaining orders on stock. | Always. | Step 4. |
| Stock | The stock of the period. | Always. | Step 5. |
| Stock after Fulfilling Order | The stock if the remaining orders were fulfilled. | Always. | Difference + Stock. |
| Maximum Limit | The maximum limit of the material in its card. | Hidden. | |
| Minimum Limit | The minimum limit of the material in its card. | Hidden. | |
| Re-Order Point | The re-order point of the material in its card. | Hidden. |
The totals row at the bottom adds up all the numeric columns, including the hidden ones.
Worked example
Material 1001, first unit, From 01-01-2027 To 31-12-2027, without gifts.
| Source | Quantity | Agreed delivery date | Effect |
|---|---|---|---|
Purchase order 1 | Ordered 100, 60 posted to a bill in a phase that counts as fulfilled | 15-03-2027 | Ordered 100, fulfilled 60, remaining 40 |
Sales order 1 | Ordered 80, 30 posted to a bill in a phase that counts as fulfilled | 20-04-2027 | Ordered 80, fulfilled 30 |
Sales order 2 | Ordered 20, nothing delivered | 10-05-2027 | Ordered 20, fulfilled 0 |
| Posted bills of the year | Opening input 20, the purchase bill of purchase order 1 for 60, and a sales bill for 30 | Stock 20 + 60 − 30 = 50 |
| Column | Value | Calculation |
|---|---|---|
| Order Quantity (purchase) | 100 | |
| Fulfilled (purchase) | 60 | |
| Remaining (purchase) | 40 | 100 − 60 |
| Order Quantity (sales) | 100 | 80 + 20 |
| Fulfilled (sales) | 30 | |
| Remaining (sales) | 70 | 100 − 30 |
| Difference | −30 | 40 − 70 |
| Stock | 50 | |
| Stock after Fulfilling Order | 20 | −30 + 50 |
The stock after fulfilling is positive, so the material appears with the default option Materials Available for Sale. If sales order 2 were for 50, the sales remaining would be 80 + 50 − 30 = 100, the difference 40 − 100 = −60, and the stock after fulfilling −60 + 50 = −10, so the material would appear only with Unavailable Materials. If it were for 40, the difference would be 40 − 90 = −50 and the stock after fulfilling 0, so it would appear only with Balanced Materials.
Summaries
The Summaries button of the conditions window shows in cards the totals of the Purchase Orders columns and the Sales Orders columns (with gifts if you turn on Gifts), then Difference, Stock and Stock after Fulfilling Order, for the materials that remain after the Show options. See Report summary.
Desktop tile
The report has a tile you can add to the desktop, see Add a tile to the desktop. Its conditions are Current Period (from the start of the year to today by default), Material, Group, Cost Center, Warehouse and Report Sources. The period there limits the movement of Stock only, It also has a Report Sources list with every kind of source; it has no effect on the tile's figures, which count all order forms. It keeps only the materials whose stock after fulfilling is more than zero, and calculates quantities in the default unit. It shows Available Quantity (all purchase order quantities, fulfilled or not, with their remaining gifts, plus stock), Available for Sale (stock + purchase orders − sales orders, for materials above zero) and Sales Orders (all sales order quantities with their remaining gifts), and highlights Materials Count. The tile opens a details table by group: Group Name, Purchase Orders (the same quantity with purchase gifts), Stock, Available Quantity, Sales Orders, Available for Sale and Materials Count, with a last row that has no group name and is the total.
Right-click menu
Right-click a row. The program adds the display commands automatically for what the row is linked to, and the report has no commands of its own. Double-click a row to run the last command you used from the menu, or the first command if you have used none.
| Command | Table | When shown | What it does |
|---|---|---|---|
| Display Material Movement... | Materials | You have the Material Movement permission. | Opens the conditions window of the material movement with the material of the row. |
| Display Daily Movement... | Materials | You have the Daily Movement permission. | Opens the conditions window of the daily movement for the material. |
| Display Material Card... | Materials | Always. | Opens the material card. |
Messages
The report has no messages of its own. The message "Please select at least one report source." and the other messages of the conditions window are in Report parameter forms.
Related
This page applies to alameen ERP 10, version 10.1.79.764.