Skip to main content

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​

ConditionDescription and effectDefault and rules
MaterialLimits the report to one material.Empty, meaning all materials.
GroupLimits the report to the materials of this group and its sub-groups.Empty, meaning all groups.
WarehouseLimits the report to the bills of this warehouse and its sub-warehouses.Empty, meaning all warehouses.
CurrencyThe currency in which values are shown. It appears when your licence allows more than one currency.The default currency in the program options.
UnitThe 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.

OptionDescription and effectDefault and rules
Bill dateShows 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 rangeShows 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 rangeShows 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​

ConditionDescription and effectDefault and rules
Materials TermsThe saved-conditions field, to limit the materials by a condition on their cards. Explained in Parameter forms.Empty.
Report SourcesThe 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:

ConditionDescription and effectDefault and rules
By billShows 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 CenterAdds the column Cost with the cost center of the bill and separates the rows by it.Off.
Handle GiftsAdds 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:

HeadingConditions
GeneralMaterial, Group and Warehouse.
PeriodThe date field of Bill date, the option Expiration date range, and the expiry date range.
OptionsCurrency and Unit.
The display options groupBy bill, By Cost Center and Handle Gifts. The heading of this group does not appear as readable text.
Report SourcesThe 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.

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:

ColumnMeaningHow it is calculated
Material NameThe code and name of the material.
CostThe cost center of the bill. It appears with By Cost Center.
UnitThe unit of the quantity.
WarehouseThe warehouse of the input.
Total ValueThe value of the remaining quantity.The sum of (remaining quantity × the unit price in the input bill), in the chosen currency.
Remaining QuantityThe quantity left of this date.The quantity entered with this date minus what was issued from it, in the chosen unit.
BillThe type of the input bill. It appears with By bill.
CustomerThe customer of the input bill. It appears with By bill, and is hidden at the start.
NotesThe notes of the bill. It appears with By bill, and is hidden at the start.
Input QuantityThe input quantity. With By bill.The sum of the input quantities.
Purchase DateThe date of the input bill. With By bill.
Material AgeThe days from the purchase date to today. With By bill.Today's date − the purchase date, averaged over the rows that are collected.
Expiry DateThe expiry date.
Days' countThe 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 DateRemaining QuantityTotal ValueDays' count
31-12-202670350-30
31-3-202760300-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 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:

CommandWhen it appearsWhat 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 stateWhy it appearsWhat to do
The report is emptyNo 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 missingIts 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.

This page applies to alameen ERP 10, version 10.1.79.764.