Skip to main content

Linked Bills

This report answers the question: which bills are linked to a given bill? You choose a bill form. The report shows the bills of this form that have a link to other bills and, under each bill, the bills linked to it, such as the sale return linked to the sale bill that was returned. Use it to check that a bill has a return or a note before you edit or delete it.

Opening the report​

  • From the ribbon: Materials > Analytical Reports > Linked Bills.

The report needs the Linked Bills permission in Users Management, on the Reports page, and the materials and warehouses module in your licence.

The conditions window appears first. Set the conditions, then click Preview to show the report. The page Report parameter forms explains the buttons of this window. The page Report viewer explains what follows. This report has no Summaries button.

Parameters​

The window is one column of four boxes, and it is the same in every window layout. After the report is shown you can change the conditions in the Option List panel of the viewer and click Apply. The panel has one group General with the four boxes. The report has no period and no sources: it shows the linked bills of all dates.

ConditionMeaning and effectDefault and rules
Bill TypeA list of the bill forms you created in the file, sorted by the kind of the bill (purchase, then sale, then purchase return and so on). The report shows the bills of the chosen form.The first form in the list. You must choose a form; there is no "all forms" item. The Latin name of the form shows in the English interface, if there is one.
NumberThe number of one bill of the chosen form.0, meaning all the bills of the form.
Notes ContainKeeps the bills whose notes contain this text.Empty, meaning all the bills.
BranchKeeps the bills of this branch. It also keeps only the linked bills of this branch.Empty, meaning all branches.

The header shows Bill Type, then Number if you typed a number above zero, then Notes Contain and Branch.

Columns​

The report has two tables: the table of the main bills, and under each bill in it a table of the bills linked to it. The main table is fully expanded when the report opens, and the linked table has no column headers. The program sorts the main bills by their number. Add the columns that are hidden by default from the field list. See Report grid tools.

Both tables have the same columns:

ColumnMeaningHow it is calculated
BillThe form and number of the bill, such as Sale-7.The name of the form (the Latin name in the English interface, if there is one), a dash, then the number.
Bill DateThe date of the bill.From the bill.
CustomerThe customer of the bill.Empty if the bill has no customer.
SubtotalThe subtotal of the bill.The subtotal as saved in the bill. It shows zero for a bill whose security level is above your permission to read prices.
BranchThe branch of the bill.Empty if the bill has no branch.

The linked table has the linked bills whose form is not the chosen form. The link is read from both sides: under a sale bill you see its return bill, and under a return bill you see the original sale bill if you choose the return form. You see only the bills whose forms your permissions allow you to browse.

Example​

The form is Sale and the number is 0. The sale bill 7 is dated 30-11-2026, its customer is Alnakheel Est., and its subtotal is 250.00. It has a linked return: the bill 1 of the form Sale Return, dated 02-12-2026, with a subtotal of 50.00.

The main table:

BillBill DateCustomerSubtotal
Sale-730-11-2026Alnakheel Est.250.00

The linked table under it:

BillBill DateCustomerSubtotal
Sale Return-102-12-2026Alnakheel Est.50.00

Right-click a row in either table. The program adds the display command automatically. The report has no commands of its own. A double-click on a row opens the bill.

CommandWhen shownWhat it does
Display Bill...The row has a bill.Opens the bill the row belongs to.

Messages​

Message or stateWhy it appearsWhat to do
The report is emptyNo bill of the chosen form has a link to another bill with these conditions.Change the form, or empty Number, Notes Contain and Branch.

This page applies to alameen ERP 10, version 10.1.79.764.