Final Payment
The Final Payment report compares what the representative recorded in Fast Payment with what his bills and entries say for the payment day, and shows the difference. It compares the values (sales, gifts, discounts, debts and the payment amount) or the quantities of each material. When the differences are gone you close the payment with the Close Payment button.
Opening the report
From the main ribbon: Distribution > Manual Visits > the Manual Visits button > Final Payment.
Your licence must include the Distribution feature, and you need the Final Payment permission in the Reports list of Users Management. Closing a payment and cancelling its closing have two more permissions on the Operations page, Close Payment and Cancel Payment Closure, and the system administrator always has them.
The report works on an existing payment record. The Net Load Statement or Fast Payment creates the record.
The conditions window appears first. Set the conditions, then click Preview, Print or Export. The page Report parameter forms explains these buttons.
Parameters
| Parameter | Description and effect | Default and rules |
|---|---|---|
| Payment number | The payment you compare. The report takes the unit, the date and the representative from it. | Required. A whole number of 1 or more, with no spin buttons. If you leave it empty the message "Select payment No. before preview command" appears. |
| Payment Options | A group where you choose one of two options: Values and Quantities. | Values. Values compares amounts and Quantities compares the quantity of each material. |
The window has no box for the branch. If the file uses branches the preview shows all branches, and the buttons to close and to cancel the closing ask for a branch. See Messages.
When you set the window layout to tabs, both conditions are on the General tab.
The close and cancel buttons
The report adds two buttons to the conditions window. They also appear on the Operations tab of the viewer.
| Button | What it does |
|---|---|
| Close Payment | Checks that both the Values differences and the Quantities differences are gone, whichever option you chose. If they are, it closes the payment. See Closing the payment. |
| Cancel Payment Closing | Opens a closed payment again. See Closing the payment. |
The buttons do not check the other conditions. They need the Payment number (and a branch if the file uses branches).
Option List
The option list in the viewer is empty for this report and shows the sentence "No options.". See Option List.
The report header
If the payment exists, the report shows five lines in the header:
| Line | Value |
|---|---|
| Payment number | The payment number. |
| Distributor | The name of the main representative of the payment's unit. |
| Representative Warehouse | The warehouse name recorded in the payment. |
| Distribution Unit | The name of the payment's unit. |
| Date | The payment date. |
Columns
When you choose Values
A grid with four columns. The first is for the item and its title is a dash. Diff = Fast − Invoices in every line.
| Column | Meaning |
|---|---|
| (item) | The name of the line. |
| Fast | The value recorded in Fast Payment. |
| Invoices | The value that the representative's bills and entries give for the payment day. |
| Diff | Fast − Invoices. |
The lines are in this order. The invoices side works on the bills of the normal bill forms on the cost center of the unit's main representative on the payment date. Only posted bills are taken, except the gifts, which come from the bills of that cost center on that date, posted or not.
| Line | In the Fast column | In the Invoices column |
|---|---|---|
| Sales Value | The Net load value saved in the payment. | The total of the sales bills minus the total of the sales return bills, plus the value of the gifts. |
| Gifts | The gifts recorded in the payment. | Gift quantity × price in the bill lines of that cost center on that date. |
| Discounts | The discounts recorded in the payment. | The sum of the bill discounts. |
| Granted Debts | The granted debts recorded. | In credit bills: (total + extras − discount) − first payment. It is subtracted for returns. |
| Collected Debts | The collected debts recorded. | The sum of (credit − debit) in the entries of the day on that cost center whose contra account is the representative's account, except bill entries. |
| Payment Value | The amount of the receipt voucher that the Cash Payment button of Fast Payment made. Zero if none was made. | Sales Value − Gifts − Discounts − Granted Debts + Collected Debts. |
If you turn on Discounts and Gifts Total Value Comparison in the payment options, Gifts and Discounts become one line named Discounts and Gifts, and there are five lines.
When you choose Quantities
A tree grid: a row in a bold style for each group of materials, with its materials under it. The first column has no title.
| Column | Meaning | How it is calculated |
|---|---|---|
| (material) | The name of the material or the group. | |
| Net Load Statement | The net load quantity of the material. | The quantity that the Net Load Statement calculates for the representative on that day, in the first unit. |
| Invoices | The quantity in the bills. | The sum of the quantities of the lines of the posted bills of the normal forms on the representative's cost center on that date, plus the gift quantity. Sales are positive and returns negative. All kinds of bills count. |
| Diff | The difference between the two quantities. | Net Load Statement − Invoices. |
Totals
The grid has no totals.
Closing the payment
Closing is allowed when the differences in both the Values and the Quantities are gone. The program runs both checks when you click Close Payment, even if you show only one of them.
- With Discounts and Gifts Total Value Comparison on, the program truncates the sum of the column differences to the number of decimal places of prices, so a difference smaller than the last place does not stop the closing.
- Without this option any difference in any column stops the closing, however small.
When Close Payment succeeds, the program does this for the cost center of the representative on the payment date:
- It raises the security level to
3in the bills of that center on that day, and in the transfer bills tied to the representative's warehouse and their paired bills, and it writes the payment number in the first text field of these bills. - It raises the security level to
3in the entries of that center on that day, and in the payment and receipt vouchers tied to them. - It marks the payment record "closed" with security level
3. The Fast Payment window then refuses to edit it and shows "Cannot modify because the payment is locked".
Cancel Payment Closing does the opposite: it sets the security level back to 1 and opens the record.
Right-click menu
There are no automatic commands. The commands of the report depend on the option chosen. Double-click runs the last command you used from the menu, or else the first one.
When you choose Values
| Command | Shows on the line | What it does |
|---|---|---|
| Total Bills Movement | Sales Value, Gifts, Discounts and Granted Debts (or Discounts and Gifts), for users who have the Total Bills Movement permission. | Opens Total Bills Movement with the representative's warehouse selected. |
| Customer Receipts | Collected Debts, for users who have the Customer Receivable permission. | Opens the Customer Receivable window for the payment number and branch. |
| Fast Payment | Payment Value, for users who have the Fast Payment permission in the Cards list. | Opens the Fast Payment window for the payment number and branch. |
| View Voucher... | Payment Value, when the payment has a receipt voucher. | Opens the receipt voucher that Fast Payment made. |
When you choose Quantities
| Command | Shows on the line | What it does |
|---|---|---|
| View Group Card... | A group row. | Opens the group card. |
| View Material Card... | A material row. | Opens the material card. |
| View Material Movement... | A material row, for users who have the Material Movement permission. | Opens Material Movement for the material. |
| View Daily Movement... | A material row, for users who have the Daily Movement permission. | Opens Daily Movement for the material. |
The general commands are explained in The report viewer.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Select payment No. before preview command | You left Payment number empty with Preview, Print or Export. | Type the payment number. |
| No authority to execute the operation | You clicked Close Payment or Cancel Payment Closing without its permission. | Ask the administrator for the permission. |
| Please set payment number | You clicked one of the two buttons and Payment number is zero or empty. | Type the payment number. |
| Please select branch | The file uses branches, you clicked one of the two buttons and the branch is not set. | The window has no branch box. See Parameters. |
| Payment not closed, please verify payment difference settlement | Close Payment found differences in values or quantities. | Review the differences, correct them and try again. |
| Payment Closed Successfully | The closing succeeded. | None. |
| Payment already closed | You clicked Close Payment on a closed payment. | None. |
| Payment closure is cancelled successfully | The cancellation succeeded. | None. |
| Payment is not Closed | You clicked Cancel Payment Closing on a payment that is not closed. | None. |
| Payment number is unavailable | There is no payment record with this number (and this branch). | Check the number. |
Example
Payment number 15 dated 7-12-2026, with Values chosen.
Fast Payment recorded: Net Load Value 1000, Gifts 50, Discount 30, Granted Debts 200 and Collected Debts 90 (the representative made a mistake). It made a receipt voucher of 810.
The bills and entries say: sales of 950 and gifts worth 50, so the sales value is 1000. Discounts of 30. A credit bill of 300 with a discount of 30 and a first payment of 70, so the granted debts are (300 − 30) − 70 = 200. Receipts of 100 from the representative.
| Line | Fast | Invoices | Diff |
|---|---|---|---|
| Sales Value | 1000 | 1000 | 0 |
| Gifts | 50 | 50 | 0 |
| Discounts | 30 | 30 | 0 |
| Granted Debts | 200 | 200 | 0 |
| Collected Debts | 90 | 100 | −10 |
| Payment Value | 810 | 820 | −10 |
- The payment value in the Invoices column: 1000 − 50 − 30 − 200 + 100 = 820.
- In the Fast column 810 is the voucher amount, that is 1000 − 50 − 30 − 200 + 90.
- The difference −10 in two lines stops the closing, and the message "Payment not closed, please verify payment difference settlement" appears.
- The representative corrects Collected Debts to 100 in the Fast Payment window and makes the voucher again for 820. The differences are gone, and Close Payment succeeds.
Related
This page applies to alameen ERP 10, version 10.1.79.764.