Material Movement
The Material Movement report answers the question: what happened to this material in the period, and what was its balance after each bill? For each material it shows a summary line with the lowest, highest and average purchase prices, and under it the bills of the material line by line, with the quantities in and out, the running balance, the average cost and the value of the balance.
Opening the report
- From the ribbon: Materials > Movement Reports > Material Movement.
- From the chart of materials: right-click a material and choose Display Material Movement....
- From the materials smart list: right-click a material line and choose Display Material Movement....
- From a bill: right-click the material cell and choose Material Movement, or press Shift+F9 on the material.
- From other reports: several reports show the command Display Material Movement... in the right-click menu of their material lines.
The report needs the Material Movement permission in Users Management, on the Reports page, and the materials and warehouses module in your licence.
The conditions window appears first, unless you open the report from a right-click command: then the program opens it with the material of the line. Set the conditions, then click Preview to show the report, or Print, or Export. The page Report parameter forms explains the buttons of this window, and the page Report viewer explains what follows.
Parameters
The conditions are listed in the order of the standard window layout: the main conditions with the Conditions for materials and customers under them, then the options list, then Report Sources. You can switch the window to tabs in the report options; the conditions stay the same. After the report is shown you can change the conditions in the Option List panel of the viewer and click Apply. The panel has the groups General (Material, Group, Warehouse, Cost Center, Category and User), Period (the date range), Options (Currency and Use Unit), Advanced Options (the show and filter options) and Sources. It does not have Report Shape, nor the material and customer conditions: to change them, close the viewer and change them in the conditions window. The options that change the columns are disabled in the panel while a workspace is in use, and after Refresh or Apply: Value, Gifts in Separate Column, Check Field, Previous Balance, Quantities in Unrelated Units and Material Profits.
The values in the tables are the defaults of the first opening. The window opens with the last options you saved for the report, so its values may differ.
Main conditions
| Condition | Description and effect | Default and rules |
|---|---|---|
| Material | Limits the report to one material. When you choose a material that has combinations (sizes and colours), the movement of its combinations is added up in the parent material, unless you turn on Movement Details by Combinations. | Empty. It does not work with Group: when you choose one, the other is dimmed. If both are empty the report covers all materials. |
| Group | Limits the report to the materials of this group and its sub-groups. | Empty. |
| Warehouse | Counts the bill lines whose warehouse is this warehouse or its sub-warehouses. | Empty, meaning all warehouses. |
| Cost Center | Counts the bill lines whose cost center is this center or its sub-centers. It appears if your licence includes the cost centers feature. | Empty, meaning all centers. |
| Category | Text that must match the category of the line exactly. | Empty, meaning all categories. |
| User | Counts the bills created by this user. | Empty, meaning all users. |
| Date | A list of ready periods, and the From and To fields. The report takes the bills dated between the two dates, and the last day is included entirely. | From the start of the financial period, or from the first day of the current month if you turned off the option "Default start date is the opening date", to today. |
| Currency | The currency that prices and values are converted to. It appears if your licence allows more than one currency. | The default currency in the program options. |
| Use Unit | The unit of quantities and prices: First Unit, Second Unit, Third Unit or Default Unit. | Default Unit, that is the default unit of each material in its card. The field is dimmed and becomes First Unit when you turn on Quantities in Unrelated Units. |
| Report Shape | Extended: separate columns for input, output and balance. Brief: one column for the quantity and one for the balance. | Extended. |
Conditions
The two fields appear under the heading Conditions. In the tabs layout they have a tab of their own.
| Condition | Description and effect | Default and rules |
|---|---|---|
| Materials | Saved conditions on the material cards. The materials that meet them stay. The editor is explained in Report parameter forms. | None. It appears if your licence includes the material conditions in reports feature. |
| Customers | Saved conditions on the customer cards. When you set one, only the bills of the customers who meet it stay in the report. | None. It appears if your licence includes the customer conditions in reports feature. |
Display options
These options appear in one list under the headings Show, Other and Filter.
| Condition | Description and effect | Default and rules |
|---|---|---|
| Posted Bills | The report includes the posted bills. | On. |
| Unposted Bills | The report includes the unposted bills, shown in a special style. | Off. You cannot turn off both options: if you try to turn off the last one, the program turns it back on. |
| Value | Adds the Value columns in input, output and balance. | Off. |
| Gifts in Separate Column | Shows the gifts quantity in a column of its own. When it is off, the gifts show with the quantity as 10 + 2. | Off. |
| Check Field | Adds a column to tick the lines you have checked. | Off. |
| Checked Items | Shows the lines that are ticked. | On. Dimmed until you turn on Check Field. |
| Unchecked Items | Shows the lines that are not ticked. | On. Dimmed until you turn on Check Field. You cannot turn off Checked Items and Unchecked Items together: if you try to turn off the last one, the program turns it back on. |
| Previous Balance | Shows on the material line the quantity and the average before the start of the period. | Off. |
| Cumulative | The running balance starts from the previous balance, so the balance of each line is the real stock balance after the bill. | Off. Dimmed until you turn on Previous Balance. |
| Quantities in Unrelated Units | Adds the quantity columns in the second and third units, and clears the choice in Use Unit back to First Unit. | Off. |
| Material Profits | Adds the Profit column on the material line. | Off. |
| Movement Details by Combinations | Shows the movement of each combination of the material on its own, instead of adding it up in the parent material. | Off. Dimmed until you choose a material that has combinations. |
| Process Open LC in Cost Calculation | Decides whether the expenses and discounts of an open letter of credit enter the price and value of inputs. Those of other letters of credit always enter. | Off. |
| Bill Notes | Turns on the Contain and Not contain fields. When you turn it off, the program clears both fields. | Off. |
| Contain | Keeps the lines whose bill notes or line notes contain this text. | Empty. Dimmed until you turn on Bill Notes. |
| Not contain | Drops the lines whose bill notes or line notes contain this text. | Empty. Dimmed until you turn on Bill Notes. |
The previous balance is calculated from the bills dated before the start of the period, with the chosen sources, warehouse, cost center, category and posting state. The Contain and Not contain conditions, the customer conditions and the User condition are not applied to it.
Report sources
The Report Sources list sets the types of bills that enter the report. It is explained in Report parameter forms. If you select no source and click Preview, the program shows a message and goes back to the list.
Report header
The header shows the warehouse, the material, the material conditions and the customer conditions, then the period, then the currency, the group, the user, the cost center and the category, then Branches if branches are enabled in the file.
Report columns
The report has two tables. The first has a line for each material. Open a line with the arrow beside it to see the bills of the material in the second table. Add the columns that are hidden by default from the field list. See Report grid tools.
A material that has no lines in the period does not appear. The lines of cost bills, which are bill types made for costing, do not appear, but they enter the calculation of the average.
Materials table
| Column | Meaning | Shown when | How it is calculated |
|---|---|---|---|
| Material | The material code and name, followed by "Not reconciled" when the running balance is not the real stock balance. | Always. | See Unreconciled balances. |
| Minimum Purchase Price | The lowest unit price in the purchase bills. | Always. | Purchase bills are the bill types that affect the cost price. The price is the line value divided by its quantity. |
| Maximum Purchase Price | The highest unit price in the purchase bills. | Always. | As above. |
| Average Purchase Price | The average purchase price in the period. | Always. | The sum of the values of the purchase bills (input positive, output negative) divided by the sum of their quantities with gifts. If the result is zero or less, it is calculated from all the purchase bills as positive. |
| Sales Average Price | The average sale price in the period. | Always. | The same calculation on the bill types that affect the customer price (sales). |
| Unit | The unit of prices and quantities. | Always. | By Use Unit. |
| Unit 2 and Unit 3 | The names of the second and third units. | Quantities in Unrelated Units is on. | From the material card. |
| Profit | The profit of the material in the period. | Material Profits is on. | The sum of the profit of the lines of the bill types that affect profit, positive for output bills and negative for input bills. |
| Previous Balance | The quantity of the material before the start of the period. | Previous Balance is on. | The sum of (quantity + gifts) of the bills before the start of the period, positive for input and negative for output. |
| Previous Quantity 2 and Previous Quantity 3 | The previous quantity in the second and third units. | Previous Balance and Quantities in Unrelated Units are on. | As above. |
| Previous Average Price | The average cost of the unit before the start of the period. | Previous Balance is on. | The average cost up to the day before the start of the period, for the chosen warehouse and cost center, in the chosen currency and unit. |
Bills table, extended shape
It puts the input, output and balance columns in three groups: Input, Output and Balance. Prices and values show as zeros in a bill whose secrecy level is above your permission to read prices.
| Column | Meaning | Shown when | How it is calculated |
|---|---|---|---|
| Bill Date | The date of the bill. | Always. | From the bill. |
| Bill | The bill type and its number. | Always. | From the bill. |
| Letter of Credit | The name and number of the letter of credit the bill belongs to. | Always. Empty for a bill that is not for a letter of credit. | From the bill. |
| Customer | The customer of the bill. | You add it from the field list. | Empty if the secrecy level of the customer card is above your permission. |
| Quantity (Input) | The input quantity in the chosen unit, with the gifts as 10 + 2. | Always. Empty in output lines. | The quantity in the base unit divided by the factor of the chosen unit. |
| Quantity 2 and Quantity 3 (Input) | The quantity in the second and third units. | Quantities in Unrelated Units is on. | From the line. |
| Gifts (Input) | The gifts quantity. | Gifts in Separate Column is on. | The gifts of the line in the chosen unit. |
| Price (Input) | The unit price in the chosen unit after the discount and additions of the line. | Always. | The price of the line minus (discount + distributed bill discount - additions) divided by the quantity. The expenses and discounts of the letter of credit also enter it. |
| Value (Input) | The value of the line. | Value is on. | The quantity x (the price + (additions - discounts) over the bill quantity). |
| Quantity, Quantity 2, Quantity 3, Gifts, Price and Value (Output) | As in input, for output lines. | As in input. | In Price the additions enter only if the bill type charges them to the cost. |
| Quantity (Balance) | The running balance after this line. | Always. | The sum of (quantity + gifts) of the lines up to this one, positive for input and negative for output, for each material on its own. The lines are ordered by bill date, then the order of their type, then their number. If you turned on Previous Balance and Cumulative, the sum starts from the previous balance. "Not reconciled" is added when there is a difference. |
| Quantity 2 and Quantity 3 (Balance) | The balance in the second and third units. | Quantities in Unrelated Units is on. | As above, with the quantities of the two units. |
| Price (Balance) | The average cost of the unit after this line. | Always. | See Running average cost. |
| Value (Balance) | The value of the balance after this line. | Value is on. | The average cost x the balance. |
| Check Field | A tick box. A change is saved at once. | Check Field is on. | The tick is saved for the current user, or for all users if the file option for general checking is on. |
| Item Discount, Item Discount Percent, Gifts Discount, Items Additions and Item Addition Percent | The discounts and additions of the line. | Hidden; add them from the field list. | The discount or addition amount of the line, and its percent of (price of the line x quantity). |
Bills table, brief shape
| Column | Meaning | Shown when | How it is calculated |
|---|---|---|---|
| Bill Date, Bill, Letter of Credit and Customer | As in the extended shape. | Customer is hidden. | As in the extended shape. |
| Quantity | The quantity of the line, with the gifts as 10 + 2. | Always. | Output lines show in a special style. |
| Quantity 2, Quantity 3 and Gifts | As in the extended shape. | The matching options are on. | As in the extended shape. |
| Price | The price of the line after the discount and additions, by the settings of the bill type. | Always. | The price of the line plus the effect of the discount and additions on the cost, then multiplied by the bill quantity. |
| Value | The value of the line. | Value is on. | The quantity x the price of the line after discounts and additions. |
| Balance, Balance 2 and Balance 3 | The running balance in the three units. | Always; the last two with unrelated units. | As in the extended shape. |
| Average | The average cost of the unit after this line. | Always. | See Running average cost. |
| Balance Value | The value of the balance. | Value is on. | The average x the balance. |
| Check Field and the discounts and additions of the line | As in the extended shape. | As in the extended shape. | As in the extended shape. |
The quantity balance shows in a warning style when it is below zero by more than the smallest quantity the program counts as zero. Output lines show in a special style, and unposted lines in a third one. The report turns off sorting by clicking the column headers of this table.
How it is calculated
Running average cost
The program calculates the average cost in the Price (Balance) column line after line for each material. It starts from the previous balance and its average if you turned on Previous Balance and Cumulative together, and from zero otherwise.
- A bill that does not affect the cost price, such as a sale: the average stays as it was.
- A bill that affects the cost price, such as a purchase, when the balance before it is zero: the average = the value of the line / the balance after the line.
- When the balance before it is positive: the average = (the balance before x its average + the value of the line) / the balance after the line. The value of the line is negative in output lines that affect the cost.
- When the balance before it is negative: the average = the value of the line / the quantity of the line.
- If the average comes out negative, the value of the line is used.
The value of the line here is the price of the line after the effect of discounts, additions and letter of credit expenses, multiplied by the bill quantity. The gifts quantity is not in it. So gifts lower the average: they raise the balance without raising the value. Cost bills take part in this calculation even though their lines do not show.
Unreconciled balances
The program compares the number of lines of the material that show in the report with its total number of lines in the file. If the two numbers differ, the running balance is not the real stock balance. The words "Not reconciled" show after the material name and after the balance values in its lines, and the program adds the message "Some of shown balances are incorrect according to actual balance" to the notification bar of the viewer. The numbers differ when the period is narrow, or when bills are left out by the category, the user, the notes, the customer conditions, the report sources or the posting state.
- The total lines are the lines of the material in the posted bills of the file, in the chosen warehouse and cost center (all lines if you choose the unposted bills alone). If you turned on Cumulative, they are the lines of the period only.
- To get a reconciled balance, widen the period to start at the beginning of the financial period, or turn on Previous Balance and Cumulative.
Worked example
A rice material with one unit, the bag. Before 01-01-2026 its balance is 100 bags at an average cost of 5.00. We turned on Previous Balance, Cumulative and Value, and the period is 01-01-2026 to 31-01-2026. The bills of the period:
- 05-01-2026 purchase of
50bags at6.00. - 12-01-2026 sale of
30bags at9.00. - 20-01-2026 purchase of
20bags at7.00.
| Bill | In | Out | Balance | Average | Balance value |
|---|---|---|---|---|---|
| Material line (previous balance) | 100 | 5.00 | |||
| Purchase 05-01-2026 | 50 | 150 | 5.33 | 800.00 | |
| Sale 12-01-2026 | 30 | 120 | 5.33 | 640.00 | |
| Purchase 20-01-2026 | 20 | 140 | 5.57 | 780.00 |
- The average after the first purchase = (100 x 5 + 50 x 6) / 150 = 800 / 150 =
5.3333. - The sale does not affect the cost, so the average stays
5.3333and the value = 5.3333 x 120 =640. - The average after the second purchase = (120 x 5.3333 + 20 x 7) / 140 = 780 / 140 =
5.5714.
On the material line: Minimum Purchase Price 6.00 and Maximum Purchase Price 7.00. Average Purchase Price = (300 + 140) / (50 + 20) = 6.29, and Sales Average Price = 270 / 30 = 9.00. The balance is reconciled because the three lines are all the lines of the material in the period.
Right-click menu
Right-click a line. First come the display commands the program adds for the line, by what it holds, then the command of the report, then the sort and group commands of the grid. A command does not appear if the line has no key for it, or if you lack its permission.
| Command | When it appears | What it does |
|---|---|---|
| Display Material Movement... | A material line, and you have the Material Movement permission. | Opens the conditions window of this report with the material of the line. |
| Display Daily Movement... | A material line, and you have the Daily Movement permission. | Opens the conditions window of the daily movement of the material. |
| Display Material Card... | A material line. | Opens the material card. |
| Display Bill... | A bill line. | Opens the bill. |
| Display Cost Center Card... | The line has a cost center. | Opens the cost center card. |
| View Manufacturing... | The bill comes from a manufacturing process. | Opens the manufacturing process that produced it. |
In the materials table the first three commands appear. In the bills table Display Bill... appears, then the first three commands for the actual material of the line, then Display Cost Center Card..., then View Manufacturing.... Double-clicking a line runs the last command you used from this menu, or else the first one.
Messages
| Message or state | Why it appears | What to do |
|---|---|---|
| Please select at least one report source. | You clicked Preview without selecting any source. | Select at least one source. |
| Some of shown balances are incorrect according to actual balance | "Not reconciled" shows on a material. It appears in the notification bar. | Widen the period, or turn on Previous Balance and Cumulative. |
| Not reconciled | Beside the material name and the balance values. | As above. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.