Skip to main content

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:

  1. From the ribbon: Invoices > Tools > Invoices Tools > Merge Bills by Customer.
  2. Set the conditions and click Ok.
  3. 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:

ItemMeaning
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 listEmpty. 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.

ColumnMeaningHow it is calculated
CustomerThe customer of the original bill.The customer name, or the Latin name when the interface is not Arabic.
BillThe 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 BillThe 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 a row. The report has no automatic display commands. Its commands:

CommandWhen it showsWhat it does
View Bill...Always.Opens the new bill that the bill of the row went into.
Origin BillIf 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:

CustomerBillCopied Bill
AhmedBill Delivery:5Bill Sale:41
AhmedBill Delivery:6Bill Sale:41
AhmedBill Delivery:9Bill 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.

This page applies to alameen ERP 10, version 10.1.79.764.