Skip to main content

Unavailable Materials

This report answers the question: which materials did customers order in open sales orders that what you ordered from suppliers and what is in the warehouses do not cover? It lists one row for each material with what is left on sales orders, what is left on purchase orders, the stock and the shortage. From the viewer you create a purchase order for the shortage.

Opening the report​

  • From the ribbon: Orders > Reports > Unavailable Materials.
  • The command appears when your licence includes orders and a file is open.
  • The user needs the Unavailable Materials 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 of the lines of the sales orders:

  1. Remaining-Sales orders: for each line of an active sales order (not finished, not canceled, and approved if its form requires approval) dated inside the period: ordered quantity − fulfilled quantity, never below zero. The fulfilled quantity is the quantity of the final phase of the order form. The program then adds up the lines of the material.
  2. Remaining-Purchase Orders: the same for the lines of active purchase orders, but with no date limit, and only for materials that have something left on sales orders. Lines that have a warehouse are counted. The program adds (ordered − fulfilled) over all the lines without zeroing a negative line, then shows the column as zero if the total is negative, while Difference and Shortage use the negative total itself.
  3. Difference = Remaining-Sales orders − Remaining-Purchase Orders.
  4. Stock: the current quantity of the material on its card, that is the total of all warehouses. The Warehouse condition does not limit it. The program shows it only if the material has a line in an ordinary bill between the two dates in the chosen warehouses, or in a standard bill if the material has no ordinary bill at all in the file. Otherwise it shows zero.
  5. Shortage follows the To Reach option:
To ReachShortageColumns
Full QuantityDifference − StockDifference and Stock are shown, and there is no limit column.
Minimum LimitDifference − Stock + the minimum limit on the material cardThe column Minimum Limit is added.
Maximum LimitDifference − Stock + the maximum limit on the material cardThe column Maximum Limit is added.
Re-Order PointDifference − Stock + the re-order point on the material cardThe column Re-Order Point is added.
Warehouse BalanceRemaining-Sales orders − Remaining-Purchase OrdersThe columns Difference and Stock are hidden.

Quantities are in the chosen unit, but the limit from the material card is not converted to that unit. If a material has no second or third unit, the program uses its first unit.

With Warehouse Balance, Shortage does not subtract the stock.

Parameters​

The table follows the order of the window in the standard layout. In the tab layouts the pages are General (it holds Show All Ordered Materials), Sources and Materials Terms, the same for Tabs and Extended Tabs. 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. It has General (Material, Group, Cost Center, Warehouse, Use Unit), Period, Options (To Reach and Show All Ordered Materials) and Sources. It does not have Materials Terms. See Option List.

Main conditions​

ConditionMeaning and effectDefault and rules
MaterialLimits the report to this material.Empty. Material and group are independent.
GroupLimits the report to the materials of this group and its sub-groups.Empty.
Cost CenterKeeps the lines whose cost center (or the cost center of their order if the line has none) is this center or one of its sub-centers. It appears only if your licence includes cost centers.Empty, meaning all centers.
WarehouseKeeps the lines whose warehouse is this warehouse or one of its sub-warehouses, in sales and purchase orders.Empty, meaning all warehouses.
Use UnitThe unit of the quantities: First Unit, Second Unit, Third Unit or Default Unit.Default Unit.
To ReachHow Shortage is calculated: Full Quantity, Minimum Limit, Maximum Limit, Re-Order Point or Warehouse Balance. See How the report calculates.Full Quantity.
DateA list of ready periods and the From and To boxes. It is compared with the date of the sales order and the date of the stock bill. It does not affect purchase orders.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 TermsSaved conditions on material cards, its editor is explained in Saved conditions field. It appears if your licence includes material conditions in reports.None.
Show All Ordered MaterialsShows all the ordered materials, even those with no shortage. Without it the report shows the materials whose Shortage is greater than zero.Off.

Report sources​

The Report Sources list sets the forms of sales and purchase orders that are counted. See Report parameter forms. The program shows only the forms you may read.

The header shows Material, Group, Cost Center, Warehouse and Unit if chosen, then the date range.

Columns​

One row for each material and each warehouse of the lines of sales orders, sorted by material name. The table does not show the warehouse column, so a material with lines in two warehouses appears in two rows with the same name. The table has a totals row at its bottom.

ColumnMeaningWhen shownHow it is calculated
Material NameThe name of the material.Always.
UnitThe chosen unit.Always.
Remaining-Sales ordersWhat is left on sales orders.Always.See How the report calculates.
Remaining-Purchase OrdersWhat is left on purchase orders.Always.
DifferenceThe difference between them.Except with Warehouse Balance.The first minus the second.
StockThe current quantity.Except with Warehouse Balance.
Minimum Limit, Maximum Limit or Re-Order PointThe limit from the material card.With the matching choice in To Reach.
ShortageThe missing quantity.Always.By To Reach.

Worked example​

Material 1001 (Mineral water 1.5 L) in the first unit, and the period covers the orders. Two active sales orders: the first for 60, 10 of it fulfilled, and the second for 30 with nothing fulfilled. One active purchase order for 40, 15 of it fulfilled. The stock is 20, and the minimum limit on the material card is 10.

  • Remaining-Sales orders: (60 − 10) + (30 − 0) = 80.
  • Remaining-Purchase Orders: 40 − 15 = 25.
  • Difference: 80 − 25 = 55.
To ReachShortage
Full Quantity55 − 20 = 35
Minimum Limit55 − 20 + 10 = 45
Warehouse Balance80 − 25 = 55

If only the second order were outside the period, Remaining-Sales orders would be 50.

Summaries​

The Summaries button of the conditions window shows the numbers of the columns added up in cards: Remaining-Sales orders, Remaining-Purchase Orders, Difference, Stock and Shortage, and the limit column if there is one. See Report summary. The summary leaves out the materials whose stock does not show in the table because they have no bill in the period, so its total may be lower than the total of the table.

Creating a purchase order from the report​

The Operations tab of the viewer has the Purchase Order button. It opens the Generate Bill form with the forms of purchase orders. From the report it reads the material, its unit, the warehouse of each row, the limits on the material card and the column Stock. The Generate Bill form explains its fields and messages. What is specific to this report:

To Reach choice in the formQuantity of the material in the order
MaximumThe maximum limit on the material card − Stock
MinimumThe minimum limit on the material card − Stock
Re-Order PointThe re-order point on the material card − Stock
Total QuantityShortage − Stock

Only the materials whose quantity comes out positive are added to the order. The To Reach field starts by the option of the report:

To Reach in the reportTo Reach starts in the form with
Full QuantityMaximum
Minimum LimitMinimum
Maximum LimitRe-Order Point
Re-Order Point and Warehouse BalanceTotal Quantity

So choose To Reach yourself before Ok, and do not rely on its first value. Also check the quantities of the generated order. If To Reach in the report is not Warehouse Balance, the stock is already subtracted from Shortage, and the choice Total Quantity subtracts it a second time.

Desktop tile​

The report has a tile you can add to the desktop, see Add a tile to the desktop. Its conditions are Material, Group, Cost Center, Warehouse, Current Period (year to date by default) and Report Sources, and choosing a material disables the group. It shows Sales Order, Purchase Order, Stock and Shortage in the default unit. It counts the stock from ordinary bills only, and adds up the shortage of the materials whose remaining sales are more than their remaining purchases and stock together. All the figures of the tile are limited to these materials, and a material that has no ordinary bill dated inside the period in the selected warehouses is not part of them.

Right-click a row. The program adds display commands automatically for what the row refers to, and the report has no commands of its own. Double-clicking a row runs the last command you used from the menu, or the first one.

CommandWhen it appearsWhat it does
Display Material Movement...You have the Material Movement permission.Opens the conditions window of the material movement with the material of the row.
Display Daily Movement...You have the Daily Movement permission.Opens the conditions window of the daily movement for the material.
Display Material Card...Always.Opens the material card.

Messages​

The report has no messages of its own, and the messages of the Generate Bill form are on its page. The message "Please select at least one report source." and the other messages of the conditions window are in Report parameter forms.

This page applies to alameen ERP 10, version 10.1.79.764.