Demanded Materials by Customers
This report answers the question: what did each customer order of each material, and where have the quantities reached among the order phases? It shows one row per material in each order, and one column per phase with the quantity recorded in that phase. In purchase orders the "customer" is the supplier.
Opening the report
- From the ribbon: Orders > Reports > Demanded Materials by Customers. The command is a button of its own in the Reports group.
- The command appears when your licence includes orders and a file is open.
- The user needs the Demanded Materials by Customers permission on the Reports page of Users Management.
The conditions window appears first. Set the conditions, then click Preview to show the report, or Summaries to show the phase quantities in cards. The page Report parameter forms explains the buttons of this window, and the page Report viewer explains what follows.
How the report calculates
- Lines: the report reads the lines of the orders whose form is in Report Sources (sales or purchase orders) and that you may read, that meet the Order Conditions, whose material meets Material, Group and Materials Terms, and whose warehouse is Warehouse or one of its sub-warehouses.
- Order status: the options Finished Orders and Cancelled Orders control it:
| Finished Orders | Cancelled Orders | What is read |
|---|---|---|
| Off | Off | Orders that are not finished and not canceled. |
| On | Off | Finished orders that are not canceled are added. |
| Off | On | Canceled orders that are not finished are added. |
| On | On | All orders. |
- Phase quantity: each line has movement records, each a quantity with a date in a phase. When you save an order, the program records the whole quantity of each line in the first phase. When part of it is posted to a later phase, the program records a negative record in the phase it left and a positive record in the phase it entered. The report reads the records dated inside Date, in the phases you selected in the Order Phase list only.
- The cell: the quantity of a line in a phase column = the sum of its records that are read. If the period covers the whole life of the order, the cell is the quantity now in the phase. If the period starts after the date the order was entered, the first entry record is not counted, so a cell can be negative or empty.
- Columns: the title of each phase column is the phase name, a dash, then the name of the order form. If two phases of two forms have the same name, each gets its own column.
The records of one line are added up in one row. A line that has no record inside the period in the selected phases does not appear.
Parameters
The table follows the order of the window in the standard layout. There, the group of fields comes with the three conditions fields under the heading Conditions, then a group with the options and the Order Phase list, then Report Sources. With Tabs the pages are General (it holds the options), Sources, Order Phase and Conditions. With Extended Tabs they are General, Advanced Options, Sources, Order Phase, Materials Terms, Customers Terms and Order Conditions. You choose the layout in Report options.
The Option List panel of the viewer has no options, so you cannot change conditions from it, and the message "No options." appears. To change them, close the report and open it again.
Main conditions
| Condition | Meaning and effect | Default and rules |
|---|---|---|
| Customer | Keeps the orders of this customer, or of this supplier in purchase orders. | Empty, meaning all customers, and the orders that have no customer. |
| Material | Limits the report to this material. | Empty. It does not disable Group: if you choose both, the material appears if it is in the group. |
| Group | Keeps the materials of this group and its sub-groups. | Empty. |
| Warehouse | Keeps the lines whose warehouse is this warehouse or one of its sub-warehouses. | Empty, meaning all warehouses. |
| Cost Center | Keeps the lines whose cost center is this center itself, not its sub-centers. It also keeps only the customers whose card has this cost center, and with them the orders that have no customer. The field appears only if your licence includes cost centers. | Empty. |
| Date | A list of ready periods and the From and To boxes. They are compared with the date of the phase record, not with the date of the order (see How the report calculates). | From is the first day of the financial period, or the first day of the current month if you cleared the program option "Default start date is the opening date". To is today. See Date range field. |
| Use Unit | The unit of the quantities: First Unit, Second Unit, Third Unit or Default Unit. | Default Unit. |
| Materials Terms | Saved conditions on material cards. They appear if your licence includes material conditions in reports. | None. |
| Customers Terms | Saved conditions on customer cards. They appear if your licence includes customer conditions in reports. | None. If you choose them, orders with no customer do not appear. |
| Order Conditions | Saved conditions on order data. | None. |
The Saved conditions field explains the editor of saved conditions.
Report options
| Option | What it does | Default and rules |
|---|---|---|
| Finished Orders | Adds the finished orders. | Off. |
| Cancelled Orders | Adds the canceled orders. | Off. |
| Order Phase | The list of phases that become columns of the report, in two groups: Sales Orders and Purchase Orders. If you select no phase, the report shows nothing. |
Report sources
The Report Sources list sets the sales and purchase order forms that are read. See Report parameter forms. The program shows only the forms you may read.
Report header
The header shows Customer, Material, Group and Warehouse if you chose them, then the date range.
Columns
The table has one row per material in each order. Add hidden columns from the field list, see Report grid tools. The Analysis tab does not appear in the viewer, because the report already has a ready cross-tab. The cross-tab here is an ordinary table in which the phases turn into columns.
| Column | Meaning | When shown | How calculated |
|---|---|---|---|
| Order Name | The abbreviation of the order form, a dash, then the number, such as Sales Order - 31. | Always. | |
| Date | The date of the order. | Always. | |
| Customer | The customer of the order. | Always. | |
| Material Name | The name of the material. | Always. | |
| Unit | The chosen unit. | Always. | |
| Order Quantity | The quantity of the line in the order, without gifts. | Always. | The line quantity in the chosen unit. |
Phase columns, such as In preparation - Sales Order | The quantity in the phase. | Always, one column for each phase and form. | The cell = the sum of the records of the line in the phase inside the period. |
| Notes | The notes of the line. | Hidden. | |
| Category | The category of the line. | Hidden. | |
| Cost center | The cost center of the line. | Hidden. | |
| Order Phase | The status of the order: Completed if it is finished and not canceled, Canceled if it is canceled and not finished, and Active otherwise. | Hidden. |
The totals row at the bottom of the table adds up the Order Quantity column and the phase columns.
Worked example
The sales order form "Sales Order" has the phases "In preparation", then "Ready", then "Delivered". The order Sales Order - 31 is dated 05-03-2027 for Alnakheel Est. It has 1001 with quantity 50 and 1002 with quantity 20. The movement records are:
| Date | Material | Phase | Quantity |
|---|---|---|---|
05-03-2027 | 1001 | In preparation | +50 |
05-03-2027 | 1002 | In preparation | +20 |
10-03-2027 | 1001 | In preparation | −30 |
10-03-2027 | 1001 | Ready | +30 |
20-03-2027 | 1001 | Ready | −30 |
20-03-2027 | 1001 | Delivered | +30 |
With the date from 01-03-2027 to 31-03-2027:
| Material | Order Quantity | In preparation - Sales Order | Ready - Sales Order | Delivered - Sales Order |
|---|---|---|---|---|
1001 | 50 | 50 − 30 = 20 | 30 − 30 = 0 | 30 |
1002 | 20 | 20 | ||
| Total | 70 | 40 | 0 | 30 |
With the date from 15-03-2027 to 31-03-2027, only two records of 1001 are counted: −30 in "Ready" and +30 in "Delivered". The row of 1001 alone appears, its "In preparation" cell is empty and its "Ready" cell is −30. 1002 does not appear, because it has no record in the period.
Summaries
The Summaries button of the conditions window shows in cards the total of each phase, in order of phase number, and before them the card Order Quantity, the sum of the quantities read in all phases. In the example above: In preparation - Sales Order 40, Ready - Sales Order 0, Delivered - Sales Order 30 and Order Quantity 70. See Report summary.
Right-click menu
Right-click a row. The program adds the display commands automatically for what the row is linked to, in this order, and the report has no commands of its own. Double-click a row to run the last command you used from the menu, or the first command if you have used none.
| Command | Table | When shown | What it does |
|---|---|---|---|
| Display Material Movement... | Materials | You have the Material Movement permission. | Opens the conditions window of the material movement with the material of the row. |
| Display Daily Movement... | Materials | You have the Daily Movement permission. | Opens the conditions window of the daily movement for the material. |
| Display Material Card... | Materials | Always. | Opens the material card. |
| Display Account Statement... | Customers | The row has a customer, and you have the Customer Statement permission. | Opens the conditions window of the customer statement with the customer of the row. |
| Display Customer card... | Customers | The row has a customer. | Opens the customer card. |
| Display Order... | Orders | Always. | Opens the order. |
Messages
The message "Please select at least one report source." appears if you select no form in Report Sources. The other messages of the conditions window are in Report parameter forms. The message "No options." appears in the empty Option List panel.
Related
This page applies to alameen ERP 10, version 10.1.79.764.