Skip to main content

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​

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.
To DateThe 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.
CurrencyThe 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 UnitThe unit of quantities: First Unit, Second Unit, Third Unit or Default Unit.Default Unit.
Periods CountThe number of age periods. The last period holds everything older than the periods before it.3.
Period LengthThe number of days in each period.30. With 3 periods and 30 days the periods are 30, 60 and more than 60.
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 Show, Handle and Detail:

ConditionDescription and effectDefault and rules
Empty MaterialsAlso shows the input bills whose quantity is fully used, with a remaining quantity of zero and an age of zero.Off.
PriceAdds 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 PriceAdds the average cost price of the material and the value of the remaining quantity at that price.Off.
Input BillsCounts 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.
GiftsAdds the gift quantities to the quantities.Off.
By billShows the lines of the bills with their ages, instead of one total for the material.On.
Detail by CategorySeparates the rows by the category of the material.Off.
By WarehouseSeparates 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.

ColumnMeaningHow it is calculated
Material NameThe code and name of the material.
CategoryThe category of the material. It appears with Detail by Category.
WarehouseThe warehouse of the input. It appears with By Warehouse.
UnitThe unit of the quantity. Hidden at the start.
BillThe type of the input bill.
Input QuantityThe quantity of the input bill, with a total.
Purchase DateThe date of the input bill.
Remaining QuantityWhat is left of it after deducting the issues, with a total.
PriceThe 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.
ValueThe value of the remaining quantity. With Price or Cost Price, with a total.Price × Remaining Quantity.
Material AgeThe days between the purchase date and To Date.To Date − Purchase Date.
30 Day, 60 Day and More Than 60A 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).

ColumnMeaningHow it is calculated
Material NameThe code and name of the material.
CategoryIt appears with Detail by Category.
WarehouseIt appears with By Warehouse.
Quantity, with a column for each period under itThe 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 itThe value of the quantity in each period. With Price or Cost Price.
Total ValueThe value of all remaining quantities. With Price or Cost Price.The sum of the values of the periods.
Total QuantityAll 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:

BillRemaining QuantityMaterial Age30 Day60 DayMore Than 60
First (1-10-2026)10610010
Second (1-11-2026)50305000

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 a row. The program shows the display commands it adds; the report has no other commands of its own:

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

This page applies to alameen ERP 10, version 10.1.79.764.