Group Materials By Customer
This report answers the question: which new bill did each bill I just merged go into? It shows one row for each original bill that was merged, with its customer and the resulting bill. Its name in the ribbon and in the viewer title is "Group Materials By Customer", and it lists bills, not materials.
Opening the report
It has no command of its own in the ribbon. The report appears in the viewer right after you run Merge Bills by Customer:
- From the ribbon: Invoices > Tools > Invoices Tools > Merge Bills by Customer.
- Set the conditions and click Ok.
- Choose the bills in the Bills to be Merged window and click Ok.
The merge is done before the report appears. The report is the result of an operation that has finished, not a preview before it. The user needs the permission of the merge command itself. The viewer is explained in The viewer.
Parameters
The report has no conditions window. Its values come from the merge window:
| Item | Meaning |
|---|---|
| From and To (in the report header) | The range you chose in the merge window: two dates if you chose Date from - to, or two numbers if you chose Bill Number from - to. |
| Option list | Empty. To change the conditions go back to the merge window. |
Columns
One row for each original bill that the tool merged, ordered by customer name, then by the date of the new bill.
| Column | Meaning | How it is calculated |
|---|---|---|
| Customer | The customer of the original bill. | The customer name, or the Latin name when the interface is not Arabic. |
| Bill | The original bill. | The word "Bill", the name of the form in Bills to be Merged, a colon and the bill number, like Bill Delivery:5. |
| Copied Bill | The new bill that it went into. | The word "Bill", the name of the form in Resulting Bills, a colon and the number of the new bill, like Bill Sale:41. The column is called "Copied Bill" although the operation is a merge. |
The report has no totals.
Right-click menu
Right-click a row. The report has no automatic display commands. Its commands:
| Command | When it shows | What it does |
|---|---|---|
| View Bill... | Always. | Opens the new bill that the bill of the row went into. |
| Origin Bill | If you did not tick Delete Merged Bills in the window. | Opens the original bill. |
Double-clicking a row runs the last command you used from the menu, or else View Bill.... The general grid tools are in Report grid tools.
Example
The result of the worked example in Merge Bills by Customer, with Total:
| Customer | Bill | Copied Bill |
|---|---|---|
| Ahmed | Bill Delivery:5 | Bill Sale:41 |
| Ahmed | Bill Delivery:6 | Bill Sale:41 |
| Ahmed | Bill Delivery:9 | Bill Sale:41 |
With Detailed, the same rows show Bill Sale:41, Bill Sale:42 and Bill Sale:43 in the last column, in that order.
Messages
The report shows no messages of its own. The merge messages are in Messages.
Related
This page applies to alameen ERP 10, version 10.1.79.764.