Skip to main content

Serial Numbers Profits

This report answers the question: how much did I earn from selling each item that has a serial number? For each number sold in the period it shows its input value, its output value and its profit, with the sale bill, the customer and the material, and the totals at the bottom. It differs from the material profit reports because it compares the purchase price of the same item with its sale price, not averages.

Opening the report​

  • From the ribbon: Materials > Reports > Serial Number Reports > Serial Numbers Profits.
  • From the desktop: the report can be shown in a Report Tile. See Desktop tile.

The report needs the Serial Numbers Profits permission in Users Management, on the Reports page, the materials and warehouses module in your licence, and the material serial numbers feature in your licence. Its command does not show in the ribbon without them.

The conditions window appears first. Set the conditions, then click Preview to show the report, or Summaries to show the totals only. 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: the conditions in one column with Materials Terms under them, and Report Sources on the other side. 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 (from Serial Number to Distributor), Period, Options (Currency), Materials Terms and Report Sources.

Main conditions​

ConditionMeaning and effectDefault and rules
Serial NumberOne serial number. The lookup searches by serial number, material code or material name.Empty, meaning all numbers.
MaterialKeeps this material and the materials of its combinations.Empty, meaning all materials that have serial numbers.
GroupKeeps the materials of this group and its sub-groups.Empty, meaning all groups.
WarehouseKeeps the input and output lines whose warehouse is exactly this warehouse.Empty, meaning all warehouses.
CustomerKeeps the output (sale) bills of this customer.Empty, meaning all customers.
AccountKeeps the output bills whose customer account is this account.Empty.
DateA list of ready periods and the From and To boxes. It sets the date of the output bill only. The input can be of any date.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.
SalesmanKeeps the bills by their salesman.Empty. See the note after the table.
DistributorKeeps the bills by their distributor.Empty. See the note after the table.
CurrencyThe currency to which the values are converted. It appears if your licence allows more than one currency.The default currency in the program options.
Materials TermsSaved conditions on material cards. Only the materials that meet them stay. It appears if your licence includes material conditions in reports. The editor is explained in Report parameter forms.None. In the tabs layout it has its own tab.
note

In this report the program matches the Salesman and Distributor boxes crosswise: what you choose in Salesman is compared with the distributor of the bill, and what you choose in Distributor is compared with its salesman. The lists of salesmen and distributors are separate, so the bills you expect may not appear if you choose one of them. Leave both empty if you do not need them, and check the result if you use them.

Report sources​

The Report Sources list has only the bill forms that affect profit. It decides which output bill forms are counted. The input bill that the item is compared with is not limited by this list. The list is explained in Report parameter forms.

The header shows what you chose among Serial Number, Material, Group, Warehouse, Customer, Account and Materials Terms, then the date range, then Currency.

How the profit is calculated​

For each serial number, in each warehouse, the program reads all the input lines (of any date) and the output lines that fall in the period, sorted by date. Then it compares each output line with the input line that comes right before it for this number in the same warehouse:

  • Input Value is the price of the piece in the input line.
  • Output Value is the price of the piece in the output line.
  • Profit = output value − input value.
  • If no input line comes before the output line, the input value is zero and the profit equals the output value.
  • An output that comes right after another output, with no input between them, is not counted.
  • If the number comes back with an input (such as a sale return) and is sold again, the second sale is compared with the input of the return.

The price of the piece is the unit price of the line after the discount and the addition of the line, plus the letter of credit difference, converted to the chosen currency. It shows zero for an output bill whose security level is above your permission to read prices.

Columns​

The report is one table, sorted by the date of the output bill, then the order of its form, then its number, then the serial number. Add the columns that are hidden by default from the field list. See Report grid tools.

ColumnMeaningHow it is calculated
Bill NumberThe output (sale) bill.The number of the bill in its formatted form (the Latin form in the English interface, if there is one).
Bill DateThe date of the output bill.From the bill.
CustomerThe customer of the output bill.Empty if the bill has no customer.
Material Code and Material NameThe material.From the material card.
Serial NumberThe serial number.The number of rows is shown at the bottom of the table.
Input valueThe purchase price of the piece.From the input line before the output. Its total is at the bottom of the table.
Output valueThe sale price of the piece.From the output line. Its total is at the bottom of the table.
ProfitThe profit of the piece.Output value − input value. Its total is at the bottom of the table.

At the bottom of the table there is a totals row: the number of numbers, and the totals of Input value, Output value and Profit. The Summaries button shows one row with Count, Input value, Output value and Profit for all the numbers. See Report viewer.

Example​

The period is 01-01-2026 to 31-01-2026. The number LT-0001 was bought at 800.00 and sold on 20-01-2026 at 1,000.00. The number LT-0002 was bought at 800.00 and sold at 950.00. The number LT-0003 appears in a sale at 700.00 and no input comes before it in the file.

Serial NumberInput valueOutput valueProfit
LT-0001800.001,000.00200.00 (1000 - 800)
LT-0002800.00950.00150.00
LT-00030.00700.00700.00
Total (3 numbers)1,600.002,650.001,050.00

Right-click a row. The program adds the display commands automatically for everything the row is related to. The report has no commands of its own. A double-click on a row runs the last command you used from the menu, or the first one if you have used none.

CommandWhen shownWhat 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 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 of the material.
Display Material Card...The row has a material.Opens the material card.
Display Bill...The row has a bill.Opens the output bill.

Desktop tile​

The report can be shown in a Report Tile on the desktop. The tile shows Profit Percent highlighted, then Outputs, Inputs and Profit. The profit percent is the profit divided by the output value. The values are in the default currency. The settings of the tile have the period (by default This Year to Date), the report sources, the material or the group (each disables the other), the warehouse, the customer and the account, and the option Compare With Previous Period with a previous period (by default Last Month). See Desktop tiles.

Messages​

Message or stateWhy it appearsWhat to do
Please select at least one report source.You did not select any source in Report Sources.Select at least one source.
The report is emptyNo output bill of a serial number in the period matches the conditions and the sources.Widen the period and the sources, and check Material and Serial Number.

This page applies to alameen ERP 10, version 10.1.79.764.