Material Age
This report answers the question: for how many days has the remaining quantity of each material been in the warehouses? The program assigns the remaining quantities to the input bills, calculates the age of each in days up to a date you choose, and splits them into age periods (for example up to 30 days, up to 60, and more than 60), so you can see what has piled up and grown old.
Opening the report
From the ribbon: Materials > Ages Reports > Materials Ages. The report needs an open company file, the materials module in the licence, and the permission Materials Ages on the Reports page of Users Management.
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 holds all the conditions of the window except Materials Terms, under the headings General, Period, Options and Report Sources.
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. |
| To Date | The date on which age is calculated. What entered by bills dated up to this day is included, and the age of each quantity is counted in days from the date of its input to this date. | Today's date. |
| Currency | The currency in which prices and values are shown. It appears when your licence allows more than one currency. | The default currency in the program options. |
| Use Unit | The unit of quantities: First Unit, Second Unit, Third Unit or Default Unit. | Default Unit. |
| Periods Count | The number of age periods. The last period holds everything older than the periods before it. | 3. |
| Period Length | The number of days in each period. | 30. With 3 periods and 30 days the periods are 30, 60 and more than 60. |
| 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 Show, Handle and Detail:
| Condition | Description and effect | Default and rules |
|---|---|---|
| Empty Materials | Also shows the input bills whose quantity is fully used, with a remaining quantity of zero and an age of zero. | Off. |
| Price | Adds the unit price of the input bill (in the chosen currency and unit) and the value of the remaining quantity. | Off. It does not work with Cost Price: choosing one disables the other. |
| Cost Price | Adds the average cost price of the material and the value of the remaining quantity at that price. | Off. |
| Input Bills | Counts input bills as a source of ages, and calculates their ages like purchase bills. Without it, input bills are left out of the ages. | Off. It is turned on and disabled automatically if you clear By bill. |
| Gifts | Adds the gift quantities to the quantities. | Off. |
| By bill | Shows the lines of the bills with their ages, instead of one total for the material. | On. |
| Detail by Category | Separates the rows by the category of the material. | Off. |
| By Warehouse | Separates the rows by the warehouse of the input. | Off. |
How the report calculates ages
- The report includes what entered by posted bills dated up to To Date, of the types chosen in Report Sources.
- The program takes the issued quantities from the oldest input bills first, so the newest quantities remain. What remains of each bill is the smaller of two quantities: its own quantity and what is left after deducting the issues.
- Age of a quantity = To Date − the date of the input bill, in days.
- Bills whose quantity is fully used appear only with Empty Materials.
Columns
By bill changes the shape of the table.
With By bill
One row for each input bill that has a remaining quantity, grouped under the material.
| Column | Meaning | How it is calculated |
|---|---|---|
| Material Name | The code and name of the material. | |
| Category | The category of the material. It appears with Detail by Category. | |
| Warehouse | The warehouse of the input. It appears with By Warehouse. | |
| Unit | The unit of the quantity. Hidden at the start. | |
| Bill | The type of the input bill. | |
| Input Quantity | The quantity of the input bill, with a total. | |
| Purchase Date | The date of the input bill. | |
| Remaining Quantity | What is left of it after deducting the issues, with a total. | |
| Price | The unit price. It appears with Price or Cost Price. | The price of the bill in the chosen currency and unit, or the average cost price. |
| Value | The value of the remaining quantity. With Price or Cost Price, with a total. | Price × Remaining Quantity. |
| Material Age | The days between the purchase date and To Date. | To Date − Purchase Date. |
| 30 Day, 60 Day and More Than 60 | A column for each period, titled with the end of the period in days (and More Than the start of the last period). It holds the Remaining Quantity if its age falls in the period, otherwise zero. Each column has a total. | First period: age from 1 to 30. Second: from 31 to 60. Last: more than 60. |
A quantity whose age is zero, that is entered on To Date itself, falls in no period.
Without By bill
One row for each material (and category and warehouse if you turned them on).
| Column | Meaning | How it is calculated |
|---|---|---|
| Material Name | The code and name of the material. | |
| Category | It appears with Detail by Category. | |
| Warehouse | It appears with By Warehouse. | |
| Quantity, with a column for each period under it | The quantity left in each age period. The titles of the periods are 30 Day, 60 Day and More Than 60 Day. | The sum of the remaining quantities of the bills whose age falls in the period. First period: age from 0 to 29; second: from 30 to 59; last: 60 or more. |
| Value, with a column for each period under it | The value of the quantity in each period. With Price or Cost Price. | |
| Total Value | The value of all remaining quantities. With Price or Cost Price. | The sum of the values of the periods. |
| Total Quantity | All the remaining quantity. | The sum of the quantities of the periods. |
The limits of the periods differ between the two shapes: a quantity whose age is exactly 30 days falls in the first period with By bill, and in the second period without it.
Example
Material Y: a purchase bill dated 1-10-2026 for 100 units, a purchase bill dated 1-11-2026 for 50 units, and a sale of 90 units. To Date is 1-12-2026, Periods Count 3, Period Length 30.
The program takes the 90 sold from the oldest bill: 10 remain from the first and 50 from the second. The age of the first is 61 days (from 1/10 to 1/12), and the age of the second is 30 days.
With By bill:
| Bill | Remaining Quantity | Material Age | 30 Day | 60 Day | More Than 60 |
|---|---|---|---|---|---|
First (1-10-2026) | 10 | 61 | 0 | 0 | 10 |
Second (1-11-2026) | 50 | 30 | 50 | 0 | 0 |
Without By bill, there is one row for material Y: 30 Day 0, 60 Day 50, More Than 60 Day 10, Total Quantity 60. The second bill, whose age is 30, falls here in the second period.
The report tile and summary on the desktop
The report can be shown on the desktop as a live Report Tile, or as a Report Summary. The conditions of the tile are Material, Group, Warehouse, Period Length and Report Sources; it always has three periods. It shows three figures of the quantity left up to today in the default unit: 30 Day, 60 Day and More Than 60 Day when Period Length is 30, and the names change with it; and a fourth figure with the total Remaining Quantity. The tile always counts input bills and gifts. See Add a tile to the desktop.
Right-click menu
Right-click a row. The program shows the display commands it adds; the report has no other commands of its own:
| Command | When it appears | What it does |
|---|---|---|
| Display Material Movement... | The row has a material, and you have the permission Material Movement. | Opens the conditions window of the material movement report with the material of the row. |
| Display Daily Movement... | The row has a material, and you have the permission Daily Movement. | Opens the conditions window of the daily movement report for the material. |
| Display Material Card... | The row has a material. | Opens the material card. |
| Display Bill... | With By bill. | Opens the bill that the quantity entered with. |
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.
Messages
| Message or state | Why it appears | What to do |
|---|---|---|
| The report is empty | No quantity is left from posted input bills dated up to To Date, or none matches Report Sources. | Change To Date, turn on Input Bills or Empty Materials, or check Report Sources. |
| A material I know is missing | It has no purchase bill within the sources, or its quantity is fully used, or the security level of its bill is higher than your permission. | Turn on Empty Materials or Input Bills, or check your permissions. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.