Serial Number Movement over Several Years
This report follows one serial number, or all the numbers that start with a text you type, through the current file and the files of previous years. It shows one row for each number in each bill, sorted by the number and then by the date. Use it when an item was bought in an earlier year and is sold or returned in a later year, and you need its whole history in one table.
Opening the report
- From the ribbon: Materials > Reports > Serial Number Reports > Serial Number Movement over Several Years.
The report needs:
- The Serial Number Movement over Several Years permission in Users Management, on the Reports page.
- The materials and warehouses module in your licence.
- At least one previous-years file linked to the current file. See Link previous years files.
The conditions window appears first. Set the conditions, then click Preview to show the report. 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 standard window layout: a column of conditions with the options list under it, and on the other side the Report Sources list. You can switch the window to tabs in the report options; the conditions stay the same. After the report is shown you can change them in the Option List panel of the viewer and click Apply. The panel has the groups General (Serial Number, Starts with and Material), Period, Options (Currency), Report Options and Sources. This report has no Materials Terms, Warehouse or Customer condition.
Main conditions
| Condition | Meaning and effect | Default and rules |
|---|---|---|
| Serial Number | One serial number. The lookup searches by serial number, material code, material name or Latin name. The report matches the internal record of the number. | Empty. You must fill this box or Starts with. |
| Starts with | Keeps the numbers that start with the text you type. Type the whole number to follow it by its text in every file, because this does not depend on the record of the number in each file. | Empty. It is disabled when you choose a Serial Number, and Serial Number is disabled when you type here. |
| Material | Keeps the lines of this material only. The lookup lists only materials that have serial numbers. | Empty, meaning all materials. |
| Date | A list of ready periods and the From and To boxes. The report reads the files whose year overlaps the period, and counts the bills dated between the two dates (the date without the time). | From the first day of the financial period to today, or from the first day of the current month if you cleared the program option "Start Date" is beginning date. |
| Currency | The currency to which the prices are converted. It must have the same identifier in the linked files. It appears if your licence allows more than one currency. | The default currency in the program options. |
Bill options
They appear in one list under the headings Show and Filter.
| Condition | Meaning and effect | Default and rules |
|---|---|---|
| Posted Bills | Includes the posted bills. | On. |
| Unposted Bills | Includes the bills that are not posted. | Off. If you turn both on, or both off, the report counts all the bills, posted and unposted. |
| By Notes | Enables the Contain and Not contain boxes. When you clear it, the program empties and disables them. | Off. |
| Contain | Keeps the lines where the notes of the bill or of the line contain this text. | Empty. Disabled until you turn on By Notes. |
| Not contain | Leaves out the lines where the notes of the bill or of the line contain this text. | Empty. Disabled until you turn on By Notes. |
Report sources
Here Report Sources is a fixed list of check boxes, not the list of bill forms. It has Select All, then nine kinds: Purchase, Sale, Purchase Return, Sale Return, Input, Output, Sales Orders, Purchase Orders and Transposition. All are on by default. The report matches the kind of the bill with these kinds, not a specific bill form. If you clear Select All every kind is cleared and the report is empty.
What the program checks before showing
When you click Preview, Print or Export, and when you click Apply in the Option List panel, the program checks in this order:
- At least one linked file exists.
- The linked files have the version of the current file.
- The chosen currency has the same identifier in the linked files that match the period.
- You chose Serial Number or typed Starts with.
The program then reads the current file and every linked file whose year overlaps the period, starting with the oldest, and joins the rows in one table.
Report header
The header shows Serial Number, Starts with, Material and Currency, then the date range.
Columns
The report is one table. The order is: the serial number, then the bill date, then the order of the bill form, then the bill number, then the line number. Add the columns that are hidden by default from the field list. See Report grid tools.
| Column | Meaning | When shown | How it is calculated |
|---|---|---|---|
| Date | The date of the bill. | Always. | From the bill. |
| Bill | The number of the bill in its formatted form. | Always. | From the bill (the Latin form in the English interface, if there is one). |
| Customer | The customer of the bill. | Always. | Empty if the bill has no customer. |
| Material Name | The name of the material. | Always. | The Latin name in the English interface, if there is one. |
| Serial Number | The serial number. | Always. | From the serial numbers card. |
| Net Price | The net price of one piece. | Always. | The unit price of the line spread over the quantity and the gifts, after the discounts and the additions of the line, plus the letter of credit difference, converted to the chosen currency. |
| Item Notes | The notes of the bill line. | Always. | From the line. |
| Material Code | The code of the material. | Hidden. | From the material card. |
| Price | The unit price before discounts and additions. | Hidden. | The unit price of the line converted to the chosen currency. |
| Discounts and Additions | The discount and the addition of one piece. | Hidden. | The discount and the addition of the unit in the line with their share of the letter of credit difference. Zero if the total of the bill is zero. |
| Bill Notes | The notes of the bill. | Hidden. | From the bill. |
| Item Warehouse | The warehouse of the line. | Hidden. | From the line. |
| Distributor and Salesman | The distributor and the salesman of the bill. | Hidden. | From the bill. |
| Cost Center | The cost center of the line. | Hidden. | From the line. |
| Expiry Date and Production Date | The two dates of the line. | Hidden. | From the line. |
| Category | The category of the line. | Hidden. | From the line. |
| Branch | The branch of the bill. | Hidden. | From the bill. |
| Payment Method | How the bill is paid. | Hidden. | From the bill. |
| Bill Form Name and Bill Type | The name of the bill form and its abbreviation. | Hidden. | From the bill form (the Latin one in the English interface, if there is one). |
| Field 1 to Field 4 | The text fields saved in the bill. | Hidden. | From the bill. |
Example
The number LT-0001 was bought in the 2025 file at 780.00. It was sold in the current 2026 file at a unit price of 1,000.00 with a line discount of 50.00. Type LT-0001 in Starts with, and set the period from 01-01-2025 to 31-12-2026.
| Serial Number | Date | Customer | Net Price |
|---|---|---|---|
LT-0001 | 14-11-2025 | Almadar Co. | 780.00 |
LT-0001 | 20-01-2026 | Alnakheel Est. | 950.00 (1000 - 50) |
Right-click menu
The report adds no commands of its own and no automatic display commands to the rows.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| «Must select one file at least in "Connection Parameters of Previous Years Files" window which can be requested from: Program Options - Link, then click Link Files button.» | No previous-years file is linked. | Link the files of the previous years, then run the report again. |
| «There is a file or more has different version from the current file version. Can’t call for reports over several years before updating database to the current file version.» | A linked file was made by an older version of the program. | Update the linked databases to the version of the current file. |
| «Cannot open the report, the currency ID in the current file is different from the one in the previous files» | The chosen currency does not have the same identifier in the previous files. | Choose another currency, usually the default currency of the files. |
| «Please specify either a serial number or a value in "Starts with" field» | You left both Serial Number and Starts with empty. | Choose a serial number or type the beginning of the number. |
| The report is empty | No number matches the conditions in the period, or you cleared all the kinds in Report Sources. | Widen the period, and check Report Sources and Posted Bills. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.