Materials Movement by Expiry Date
The Materials Movement by Expiry Date report answers the question: how much of each material expires in each period? It lists the materials in rows and the periods of expiry in columns. Each cell holds the quantity that entered with an expiry date in that period, minus the quantity that left.
Opening the report
- From the ribbon: Materials > Cross-tab Reports > Materials Movement by Expiry Date.
The report needs the Materials Movement by Expiry Date permission on the Reports page of Users Management and the materials and warehouses module in your licence. It counts only the bill lines that carry an expiry date. A material has an expiry date in its bills when the material card asks for one. See Follow the expiry dates of materials.
The conditions window appears first. Set the conditions, then click Preview to show the report, or Summaries to show the totals of the periods without the materials. The page Report parameter forms explains the buttons of this window. The page Report viewer explains what follows.
Parameters
The conditions are listed in the order of the window. You can switch the window to tabs in the report options; the conditions stay the same. After the report is shown you can change many conditions in the Option List panel of the viewer and click Apply. The panel has these groups:
- General: Material, Group and Warehouse.
- Period: To Date.
- Options: Use Unit and Period.
Materials Terms is not in the panel: to change it, run the report again from the conditions window.
| Condition | Meaning and effect | Default and rules |
|---|---|---|
| Material | Keeps one material. | Empty. When you choose a material, Group is disabled. |
| Group | Keeps the materials of this group and its sub-groups. | Empty, meaning all materials. |
| Warehouse | Counts the bill lines whose warehouse is this warehouse or one of its sub-warehouses. | Empty, meaning all warehouses. |
| To Date | The last day of the report. The report counts the expiry dates up to this day, and it includes this day. | Today. |
| Use Unit | The unit of the quantities: First Unit, Second Unit, Third Unit or Default Unit. | Default Unit, the default unit of each material card. |
| Period | The length of each column: Day, Week, Month, Quarter or Year. | Month. |
| Materials Terms | Saved conditions on material cards. Only the materials that meet them stay. See Report parameter forms. | None. Appears only if your licence includes conditions in reports. |
The report has no start date. The first column starts at the opening date of the financial period. An expiry date before the opening date is not counted.
Report header
The header shows the material, the group, the warehouse, the unit and the date.
Columns
The report is a table with one row for each material and one column for each period, from the opening date to To Date.
| Column | Meaning | Shown | How it is calculated |
|---|---|---|---|
| Material Name | The code and name of the material, such as 1001-Milk. The name is the Latin name in the English interface, if the material has one. | Always | From the card. |
| A column for each period | The quantity of the material whose expiry date falls in the period. | Always | See How the quantity is calculated. |
A period column is titled with the name of the month, such as January, or with its dates, such as 1 to 7 February. The first and the last columns are cut at the opening date and To Date. The year is added to the titles when the range from the opening date to To Date spans more than one year. A cell is empty when the material has no line in that period. The table ends with a row that totals each period column.
How the quantity is calculated
- The program counts the lines of posted bills that have an expiry date, in the chosen warehouses and materials. The expiry date must not be before the opening date and not after To Date.
- The line goes to the column of the period that holds its expiry date.
- The quantity of a line is the quantity in the first unit, without the gifts, divided by the factor of Use Unit. A factor of
0counts as1. - The quantity of an input bill (such as a purchase) is added, and the quantity of an output bill (such as a sale) is taken off.
- The quantity of a cell is the net of all its lines.
The result is the quantity that is left of each batch of expiry dates in the period, if the sale lines carry the expiry date of the batch that they take from.
Summaries
The Summaries button of the conditions window shows the total quantity of each period, without the materials. See the report viewer.
Example
The opening date is 01-01-2026. To Date is 31-03-2026, Period is Month, and Use Unit is First Unit. The material 1001-Milk has these bill lines:
| Bill | Direction | Quantity | Expiry date |
|---|---|---|---|
| Purchase | Input | 100 | 20-02-2026 |
| Sale | Output | 30 | 20-02-2026 |
| Purchase | Input | 60 | 10-03-2026 |
| Sale | Output | 10 | 10-03-2026 |
| Material Name | January | February | March |
|---|---|---|---|
1001-Milk | empty | 70.00 | 50.00 |
| Total | empty | 70.00 | 50.00 |
February: 100 − 30 = 70. March: 60 − 10 = 50. If the second unit of the milk is a carton of 10 bottles and you choose Second Unit, the cells show 7.00 and 5.00.
Right-click menu
The program adds display commands for a row that has a material. The report has no commands of its own.
| Command | When it appears | What it does |
|---|---|---|
| Display Material Movement... | The row has a material, and you have the Material Movement permission. | 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 Daily Movement permission. | Opens the conditions window of the daily movement for the material. |
| Display Material Card... | The row has a material. | Opens the material card. |
A double-click on a row runs the last command you used from the menu, otherwise the first command in it. For the tools of this table, see Grid tools.
Messages
| Message or situation | Why it appears | What to do |
|---|---|---|
| You don't have the authority to see some of the transactions, so the Totals shown are incorrect because they do not take these transactions into consideration! | Some materials have a security level above your permission, so the program left them out. | Ask the administrator to raise your permission, or accept that the totals leave them out. |
| The table has no rows | No posted bill line has an expiry date in the range, or the material cards do not ask for expiry dates. | Check that the materials use expiry dates, and widen To Date or the warehouse. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.