Cash Flows for Purchase and Sales Orders
This report answers the question: which payments are still due on credit sales and purchase orders in this period? It lists one row for each remaining payment on its due date, with a table of totals for each currency under it. Payments of sales orders appear in Debit, and payments of purchase orders in Credit.
Opening the report
- From the ribbon: Orders > Reports > Analytical Reports > Cash Flows for Purchase and Sales Orders. Open the menu of the Analytical Reports button and click the command.
- The command appears when your licence includes orders and a file is open.
- The user needs the Cash Flows for Purchase and Sales Orders 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 totals of the currencies in cards. The page Report parameter forms explains the buttons of this window, and the page Report viewer explains what follows.
What goes into the report
- Orders: sales and purchase orders whose form is in Report Sources and that you may read, that have a customer and are not canceled. A finished order still appears if payments remain on it. How orders work explains finishing and canceling.
- Payments: the payments set on the payment terms page of the order. An order with no recorded payments does not appear. A cash order does not appear either.
- Remaining amount: the value of the payment minus what is linked to it from vouchers or payments. A row whose remaining amount is zero is left out, and all payments of an order are left out once the order is fully paid.
- Due date: the date that the payment terms of the order give. The period you choose is compared with it, not with the order date.
| Payment terms of the order | Due date |
|---|---|
| On | One of the eight dates of the order: suggested shipping, suggested arrival, suggested delivery, agreed shipping, agreed arrival, agreed delivery, letter of credit, or expected delivery. |
| After days | The date chosen from the eight, plus the number of days. |
| On specific date | The date you typed. |
| Multi payments | The date of each payment as recorded on the payments page, with one row for each payment. |
If the payment terms use Expected delivery date, the report takes the order's Agreed LC Date in its place, so the payment falls due on that date.
The row shows the remaining amount in the currency of the order: in Debit for a sales order, and in Credit for a purchase order.
Parameters
The conditions are arranged the same way in every window layout: Account, Customer, Cost Center and Date, then the Report Options group, then Report Sources. After the report is shown you can change conditions in the Option List panel of the viewer and click Apply. The panel is disabled while a workspace is in use, and after Refresh or Apply. Its groups are General (Account, Customer, Cost Center), Period (the date range with both fields), Advanced Options (all the report options) and Report Sources. See Option List.
Main conditions
| Condition | Meaning and effect | Default and rules |
|---|---|---|
| Account | Keeps the payments of orders of the customers of this account and its sub-accounts. | Empty, meaning all accounts. Choosing a customer fills it with the account of the customer. |
| Customer | Keeps the orders of this customer. | Empty, meaning all customers. |
| Cost Center | Keeps the orders whose cost center is this center or one of its sub-centers. It compares the cost center of the order, not of its lines. It appears only if your licence includes cost centers. | Empty, meaning all centers and orders without one. |
| Date | A list of ready periods and the From and To boxes. They are compared with the due date of the payment. | 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. |
Account and Customer are linked:
- Choosing an account limits the customer list to its customers. If it has only one customer, the program puts it in Customer.
- Clearing Account clears Customer.
- If the chosen account has no customers, Customer is disabled.
- Choosing a customer puts the account of the customer in Account, and clearing the customer clears the account.
Report options
| Option | Meaning and effect | Default and rules |
|---|---|---|
| Filter by currency | Keeps the orders whose currency is the one chosen under it. | On. Currency under it is enabled with the option. |
| Currency (under Filter by currency) | The currency of the orders you want. It appears only if your licence allows more than one currency. If it does not appear, the condition stays on the default currency. | The default currency in the program options. |
| Values in equivalent currency | Adds columns to every row and to the totals with the values converted to another currency. | Off. It cannot be on together with Filter by currency: turning one on turns the other off, and one of them is always on. When it is off, everything under it is disabled. |
| By Order's rate and rates list at order date (under Values in equivalent currency) | Conversion factor = the rate of the order currency divided by the rate of the equivalent currency, from the rates list on the date saved in the card of the order currency, not the order date. | On. It cannot be on together with By last rates list. |
| By last rates list (under Values in equivalent currency) | Conversion factor = the parity of the order divided by the last recorded rate of the equivalent currency in the rates list. | Off. |
| Currency (under Values in equivalent currency) | The equivalent currency. If it is the currency of the order, the conversion factor is 1. It appears only if your licence allows more than one currency. | The default currency in the program options. |
One of Filter by currency and Values in equivalent currency is always on; you cannot clear both. To include orders in all currencies, turn on Values in equivalent currency. One of the two conversion options is also always on.
Report sources
The Report Sources list sets the forms of sales and purchase orders that are counted. See Report parameter forms. The program shows only the forms you may read.
Report header
The header shows the date range, then Account, Customer and Cost Center if chosen, then Branches if branches are enabled in the file.
Columns
Payments
One row for each remaining payment, sorted by date, then order number, then form name. The report defines no totals for the columns of this table. Its totals are in the table below.
| Column | Meaning | When shown | How it is calculated |
|---|---|---|---|
| Date | The due date of the payment. | Always. | See What goes into the report. |
| Order Type | The form name of the order, then its number, such as Sales Order - 11. | Always. | |
| Customer | The customer. | Always. | |
| Currency | The code of the order currency. | Always. | |
| Parity | The rate of the currency of the order. | Always. | From the order. |
| Debit and Credit (under Value) | The remaining amount of the payment: Debit for a sales order, Credit for a purchase order. | Always. | Remaining amount divided by the parity. |
| Debit and Credit (under Value in equivalent currency) | The remaining amount in the equivalent currency. | With Values in equivalent currency. | Debit and Credit multiplied by the conversion factor. |
Totals
The table below is one row for each currency. The program shows the columns Currency, Debit, Credit and Balance, and with Values in equivalent currency also Debit ( equivalent ), Credit ( equivalent ) and Balance ( equivalent ).
| Column | How it is calculated |
|---|---|
| Currency | The name of the currency of the orders. |
| Debit | The sum of Debit of the rows. |
| Credit | The sum of Credit of the rows. |
| Balance | Debit minus Credit. Positive when what you expect to collect is more than what you expect to pay. |
With Values in equivalent currency the table has two rows for each currency. The currency name starts with Value in the first and with Equivalent value in the second, and the second holds the equivalent amounts in the columns Debit, Credit and Balance. The currency name in both rows is the currency of the order, not the equivalent currency. In the second row the program multiplies the Debit of the rows by the conversion factor, and the Credit of the rows by the Parity of each order. So compare the equivalent credit in the table with the sum of the rows if the parity of the orders differs from the conversion factor.
Worked example
The orders are credit orders in the base currency (parity 1), the period is 01-02-2026 to 28-02-2026, and there are no other conditions.
| Order | Payment | Due | Payment value | Linked to it |
|---|---|---|---|---|
Sales Order - 11 of Alnakheel Est. | First | 10-02-2026 | 600.00 | nothing |
Sales Order - 11 of Alnakheel Est. | Second | 20-03-2026 | 400.00 | 150.00 |
Purchase Order - 7 of Almadar Co. | Only | 15-02-2026 | 300.00 | nothing |
Both orders are recorded with payments and are not fully paid, so both are counted. The second payment falls due in March, outside the period. The report shows:
| Date | Order Type | Customer | Debit | Credit |
|---|---|---|---|---|
10-02-2026 | Sales Order - 11 | Alnakheel Est. | 600.00 | 0.00 |
15-02-2026 | Purchase Order - 7 | Almadar Co. | 0.00 | 300.00 |
The table below: Debit 600.00, Credit 300.00, Balance 600.00 − 300.00 = 300.00. If you change the period to March, one row appears dated 20-03-2026 with Debit 400.00 − 150.00 = 250.00.
If the order currency is not the base currency and its parity is 2, a payment of 500.00 in the order currency shows in Debit as 500.00, in the order currency, not as its base value 1,000.00.
Summaries
The Summaries button of the conditions window shows only the totals of the currencies: a card for each currency with Debit, Credit and Balance. See Report summary.
Desktop tile
The report has a tile you can add to the desktop, see Add a tile to the desktop. Its conditions are Current Period (year to date by default), Previous Period (last month by default) with Compare With Previous Period, Account, Cost Center, Currency and Report Sources. It shows Debit, Credit and Difference. The tile counts payments by the order date, not by the due date of the payment. It always limits the orders to the chosen currency, and has no customer condition. When Account is empty, the tile also counts orders that have no customer.
Right-click menu
Right-click a row. The program adds display commands automatically for what the row refers to, and the report has no commands of its own. Double-clicking a row runs the last command you used from the menu, or the first one.
| Command | When it appears | What it does |
|---|---|---|
| Display Order... | On payment rows. It does not appear in the totals table. | Opens the order. See Sales Order. |
Messages
The report has no messages of its own. The message "Please select at least one report source." and the other messages of the conditions window are in Report parameter forms.
Related
This page applies to alameen ERP 10, version 10.1.79.764.