Materials Validity
This report answers the question: what quantities of my materials with an expiry date are left, when does each expire, and what are they worth? For each material, expiry date and warehouse it calculates the quantity left after subtracting what was issued, its value, and the days elapsed since the expiry (negative if it has not expired yet).
Opening the report
From the ribbon: Materials > Ages Reports > Materials Validity. The command Materials Validity in the menu of the two tables of the Expiry Date tile on the desktop also opens it, with the chosen material.
The report needs an open company file, the expiry date feature in the licence, and the permission Materials Validity on the Reports page of Users Management. It calculates only for materials whose card has the expiry date turned on.
The conditions window appears first. Set the conditions, then click Preview. Parameter forms explains the buttons of this window, and Viewer explains what follows the display of the report.
Parameters
The order of the conditions here is the order of the window in its standard shape. You can change the shape of the window to two or more tabs in Report options, and the conditions stay the same. After the report is displayed, you change the conditions in the Option List panel of the viewer and click Apply. The panel is limited to the conditions listed in Option List.
Main conditions
| Condition | Description and effect | Default and rules |
|---|---|---|
| Material | Limits the report to one material. | Empty, meaning all materials. |
| Group | Limits the report to the materials of this group and its sub-groups. | Empty, meaning all groups. |
| Warehouse | Limits the report to the bills of this warehouse and its sub-warehouses. | Empty, meaning all warehouses. |
| Currency | The currency in which values are shown. It appears when your licence allows more than one currency. | The default currency in the program options. |
| Unit | The unit of quantities: First Unit, Second Unit, Third Unit or Default Unit. | Default Unit. |
Expiration Computing Method
Choose one of three ways. The fields of the other ways are disabled.
| Option | Description and effect | Default and rules |
|---|---|---|
| Bill date | Shows everything that entered by bills dated up to the date written beside it, whatever its expiry date. | Selected. The date at the start is today's date. |
| Expiration date range | Shows what has an expiry date between the two dates, inclusive. The date fields are From and To. | Not selected. From the first day of the current month (or from the start of the financial period when the program option "Default start date is the period opening date" is on) to today. |
| Within days range | Shows what has an elapsed number of days since its expiry between From and To, that is the number of days between its expiry date and today. Days are negative for what has not expired yet. | Not selected. The two fields are 0 and 0. |
Other conditions
| Condition | Description and effect | Default and rules |
|---|---|---|
| Materials Terms | The saved-conditions field, to limit the materials by a condition on their cards. Explained in Parameter forms. | Empty. |
| Report Sources | The bill types that enter the calculation. The list is explained in Parameter forms. | All the types that you may read. |
Options
Under the Options list, under the headings Detail and Other:
| Condition | Description and effect | Default and rules |
|---|---|---|
| By bill | Shows for each material and expiry date the lines of the bills that entered it, so the columns Bill, Input Quantity, Purchase Date and Material Age appear. Without it the bills are collected in one row for each material and expiry date. | Off. |
| By Cost Center | Adds the column Cost with the cost center of the bill and separates the rows by it. | Off. |
| Handle Gifts | Adds the gift quantities to the quantities. | Off. |
The report silently hides what has a bill, material or warehouse whose security level is higher than your permission.
Option List
The Option List panel in the viewer holds only these conditions, under these headings:
| Heading | Conditions |
|---|---|
| General | Material, Group and Warehouse. |
| Period | The date field of Bill date, the option Expiration date range, and the expiry date range. |
| Options | Currency and Unit. |
| The display options group | By bill, By Cost Center and Handle Gifts. The heading of this group does not appear as readable text. |
| Report Sources | The list. |
The panel does not hold the options Bill date and Within days range, nor the day fields, nor Materials Terms. To choose one of those ways, open the report from the ribbon and change the conditions in its window.
Report header
The header shows Material, Group, Warehouse and Currency, then the expiry date range if you chose Expiration date range, otherwise the date set in Bill date.
Columns
The table is sorted by Expiry Date. These columns appear:
| Column | Meaning | How it is calculated |
|---|---|---|
| Material Name | The code and name of the material. | |
| Cost | The cost center of the bill. It appears with By Cost Center. | |
| Unit | The unit of the quantity. | |
| Warehouse | The warehouse of the input. | |
| Total Value | The value of the remaining quantity. | The sum of (remaining quantity × the unit price in the input bill), in the chosen currency. |
| Remaining Quantity | The quantity left of this date. | The quantity entered with this date minus what was issued from it, in the chosen unit. |
| Bill | The type of the input bill. It appears with By bill. | |
| Customer | The customer of the input bill. It appears with By bill, and is hidden at the start. | |
| Notes | The notes of the bill. It appears with By bill, and is hidden at the start. | |
| Input Quantity | The input quantity. With By bill. | The sum of the input quantities. |
| Purchase Date | The date of the input bill. With By bill. | |
| Material Age | The days from the purchase date to today. With By bill. | Today's date − the purchase date, averaged over the rows that are collected. |
| Expiry Date | The expiry date. | |
| Days' count | The days elapsed since the expiry: positive if it has expired, negative if it has not expired yet. | Today's date − the expiry date, averaged over the rows that are collected. |
The columns Total Value, Remaining Quantity and Input Quantity have totals at the bottom of the table. A row whose value equals zero does not appear, so quantities that have a price of zero are not shown, and no quantity is shown if the input price is hidden from you by the permission to read prices in the bill type.
Example
Material X has an expiry date: a purchase bill of 100 units at price 5 with expiry 31-12-2026, a purchase bill of 60 units at price 5 with expiry 31-3-2027, and an issue of 30 units from the first batch. Today is 1-12-2026. With the default conditions (Bill date today, no By bill):
| Expiry Date | Remaining Quantity | Total Value | Days' count |
|---|---|---|---|
31-12-2026 | 70 | 350 | -30 |
31-3-2027 | 60 | 300 | -120 |
The remaining quantity of the first batch = 100 − 30 = 70, and its value is 70 × 5 = 350. The days' count is negative because the expiry has not passed: 1-12-2026 − 31-12-2026 = −30 days.
Right-click menu
Right-click a row. The program shows the display commands it adds for rows that have a material. The report has no other commands of its own:
| Command | When it appears | What it does |
|---|---|---|
| Display Material Movement... | You have the permission Material Movement. | Opens the conditions window of the material movement report with the material of the row. |
| Display Daily Movement... | You have the permission Daily Movement. | Opens the conditions window of the daily movement report for the material. |
| Display Material Card... | Always. | Opens the material card. |
Double-clicking a row runs the last command you used from the menu, or else the first one. The general table tools are in Report grid tools.
Report tile on the desktop
The report can be shown as a live tile on the desktop (the type Report Tile). Its conditions are Material or Group (one disables the other), Warehouse and Report Sources. It shows four figures of the remaining quantity in the default unit: 30 Day (expires from after today up to 30 days), 60 Day (after 30 up to 60), More Than 60 Day and Expired (its date is today or earlier). The details of the tile open two tables, Expired and Expires in 30 Days, each with the first 100 rows and the columns Material, Quantity and Expiry Date. See Add a tile to the desktop.
Messages
| Message or state | Why it appears | What to do |
|---|---|---|
| The report is empty | No material with an expiry date matches the conditions, or the value of all its rows is zero. | Check the method and the dates, and make sure the materials have the expiry date turned on and the prices of their bills are not zero. |
| A material I know is missing | Its expiry date is not turned on, or the value of its remaining quantity is zero, or the security level of its bill is higher than your permission. | Check the material card and your permissions. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.