Entry vouchers' messages
An entry vouchers' message tells a customer, or users you choose, that a payment was received from them, paid to them, or that it settled their account. You choose the customers, the cash account, the voucher forms and the kind of payment. This page describes the dialog Entry vouchers' messages and the dialog Entry Vouchers' Events. The general ideas are in Understanding automatic messages. The message sheet that every type shares is in Messages Management.
Opening the window
- Click Systems > Messages > Messages Management. Open the page Entries. It lists the entry messages you have defined, by name.
- Click New to define a message, or select one and click Modify. Double-clicking a row also opens it.
The page Entries is in the list only if your user has the Review permission for Entries on the Messages tab of the user card. See the Messages tab. New, Modify and Delete need the Add, Modify and Delete permissions of the same row. Without Modify a double-click does nothing.
The messages system must be in your licence. Without it the program sends nothing.
The dialog Entry vouchers' messages
The dialog says which payments the message covers and lists the events that send it.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Name | The name of the message in the list. | Yes | Must be different from every other entry message. |
| Customers Group | The customers whose payments are covered. | Yes | A customer group. See Customer Group Card. |
| Cash Account | The account on the other side of the customer line. | Yes | An account. A main account is allowed: its sub accounts are covered too. |
| Cost Center | Covers only lines of this cost center and its sub centers. | No | Empty: every cost center, and lines with none. |
| Branch | Covers only entries of this branch and its sub branches. | No | Used only when branches are enabled in the file. Otherwise the program ignores it. |
| Entries Vouchers Forms | The entry forms the message covers. | Yes | A check list. It shows Journal Entry and the payment forms that you may review. On a new message all are ticked. |
| Message Sending Events | The list of events that send the message. | Yes | One column. It shows the kind of payment of each event. The message needs at least one row. |
| Button | What it does |
|---|---|
| Add | Opens the dialog Entry Vouchers' Events for a new row. |
| Modify | Opens the selected row. |
| Delete | Asks "Are you sure you want to DELETE ?" and deletes the row. With one row left it shows "Please add one event at least". |
| Ok | Checks the fields and saves the message and its rows. |
| Cancel | Closes the dialog. |
A row you delete from a message that was already saved is deleted from the file at once. Cancel does not bring it back. A row you add or change is kept only when you click Ok.
When the program sends the message
A message is sent for each line the program saves in an entry or voucher, and for the entries it makes for point of sale transfers. The line is covered when all of these are true:
- The entry form of the line is ticked in the list.
- The account of the line is the account of a customer of the group.
- The opposite account of the line is the Cash Account or one of its sub accounts.
- The cost center of the line is Cost Center or one of its sub centers, if you set one.
- The branch of the entry is inside Branch, if branches are enabled and you set one.
- The kind of payment in the row is true for the line. See the kinds of payment.
Then the program sends every message of the row. The recipients, the channels and the sending are described in Understanding automatic messages. The entry forms are described in Entry types and forms.
Checks on Ok
The program checks in this order and stops at the first problem: Name, Customers Group, Cash Account, Entries Vouchers Forms, the events list, and a duplicate Name. The messages are in Messages.
Entry Vouchers' Events
The dialog defines one row: the kind of payment that sends the messages of the row.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Read unposted entries | Counts unposted entries. It is in the group Event Conditions. | No | Unticked by default. See Read unposted entries. |
| Send Message when | The group of the kind of payment. | Yes | Four options, one at a time. None is chosen on a new row. See the kinds of payment. |
| Messages | The messages of the row. | Yes | Columns: Sending Method, Customer and Users. At least one message. |
| Button | What it does |
|---|---|
| Add | Opens a menu with E-mail, Text Message and WhatsApp. See The Add menu. |
| Modify | Opens the selected message in the dialog of its channel. |
| Delete | Asks "Are you sure you want to DELETE ?" and deletes the message. With one message left it shows "At least there must be one message". |
| Ok | Checks the row and keeps it in the message. |
| Close | Closes without keeping the row. |
On Ok the program shows "At least there must be one event" when no option is chosen, and "At least there must be one message" when the list is empty. The row is kept in the message only when you also click Ok in the dialog Entry vouchers' messages.
The kinds of payment
The amount of the customer line decides. A credit line is a payment received from the customer. A debit line is a payment made to the customer.
| Option | The line is covered when |
|---|---|
| Receive Payment from Customer | The customer line is a credit. |
| Pay to supplier | The customer line is a debit. |
| Settle the Account by Receiving Payment | The customer line is a credit and the balance of that customer account is zero. |
| Settle the account by Paying to Supplier | The customer line is a debit and the balance of that customer account is zero. |
For the two settle options the balance is the balance of the customer in that account, for the branch of the entry when branches are enabled. A balance that is not zero stops the message.
The list of the dialog Entry vouchers' messages shows these texts: Receive Payment from Customer, Pay to supplier, Settle the Account by Receiving Payment from client and Settle the account by Paying to Supplier.
Read unposted entries
When the box is unticked, an unposted entry sends no message, and the balances in the message are posted balances. When it is ticked, an unposted entry sends the message, and the balances include unposted entries.
The Add menu
| Item | Opens |
|---|---|
| The e-mail dialog. It needs a working e-mail account. | |
| Text Message | The text message dialog. It needs a working SMS provider. |
| The WhatsApp dialog. |
The dialogs are the ones described in Send Message Manually. The recipients are the Customer and the users you tick. If the account of the channel is not working, the program shows "Please check e-mail settings from "Message Settings"" or "Please check SMS settings from "Message Settings"". Set the accounts in Set up messaging accounts.
The list of messages shows a WhatsApp message with the text Text Message in the Sending Method column.
The fields you can insert
In a message of an entry voucher the tree Insertion Fields has these fields. The program replaces each one with the value for the line that caused the message.
Client Info
| Field | What the message contains |
|---|---|
| Client Name | The customer name. |
| Prefix | The prefix of the customer. |
| Suffix | The suffix of the customer. |
| Latin Name | The Latin name of the customer. |
| Current balance in client account currency | The balance of the customer account, for all cost centers and branches, with the currency code. It has no sign. It follows Read unposted entries. |
| Current balance in client account currency and entry branch | The same for the branch of the entry. |
| Current balance in client account currency and entry’s cost center | The same for the cost center of the line. |
| Current balance in client account currency and entry’s cost center and branch | The same for the cost center of the line and the branch of the entry. |
| Remaining amount to reach the maximum balance | The difference between the maximum balance of the account card and the balance. It follows Read unposted entries. See Invoices Messages. |
| Balance Type | The word debit or credit for the balance. Empty when it is zero. |
Entry Info
| Field | What the message contains |
|---|---|
| Entry No | The number of the voucher. For an entry that has no voucher, the number of the entry. |
| Entry Date | The date of the entry. |
| Payment Value in Item Currency | The amount of the line without its sign, in the currency of the line, with the currency code. |
| Cost center name of payment item | The cost center of the line. |
| Branch Name | The branch of the entry. |
| Form Name | The name of the entry form. Empty for a journal entry. |
| Entry Description | The notes of the entry. |
| User Name | The user who last modified the entry, or the user who created it if it was never modified. |
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Empty Field: Please enter the name | Name is empty. | Type a name. |
| Empty Field: Please specify customers group | Customers Group is empty. | Choose a group. |
| Empty Field: Please select cash account | Cash Account is empty. | Choose an account. |
| Please enter one form at least | No entry form is ticked. | Tick at least one form. |
| Please add one event at least | The list of events is empty, or you tried to delete its only row. | Add an event. |
| Invalid value: Name exists! Please enter different name | Another entry message has the same name. | Type a different name. |
| Are you sure you want to DELETE ? | You clicked Delete on a row or on a message. | Click Yes to delete. |
| At least there must be one event | Ok in Entry Vouchers' Events with no option chosen. | Choose a kind of payment. |
| At least there must be one message | Ok in Entry Vouchers' Events with no message. | Add a message. |
| Please check e-mail settings from "Message Settings" | You chose E-mail while no e-mail account works. | Set up the account. |
| Please check SMS settings from "Message Settings" | You chose Text Message while no SMS provider works. | Set up the provider. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.