Skip to main content

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​

  1. Click Systems > Messages > Messages Management. Open the page Entries. It lists the entry messages you have defined, by name.
  2. 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.

FieldDescriptionRequiredValues and rules
NameThe name of the message in the list.YesMust be different from every other entry message.
Customers GroupThe customers whose payments are covered.YesA customer group. See Customer Group Card.
Cash AccountThe account on the other side of the customer line.YesAn account. A main account is allowed: its sub accounts are covered too.
Cost CenterCovers only lines of this cost center and its sub centers.NoEmpty: every cost center, and lines with none.
BranchCovers only entries of this branch and its sub branches.NoUsed only when branches are enabled in the file. Otherwise the program ignores it.
Entries Vouchers FormsThe entry forms the message covers.YesA check list. It shows Journal Entry and the payment forms that you may review. On a new message all are ticked.
Message Sending EventsThe list of events that send the message.YesOne column. It shows the kind of payment of each event. The message needs at least one row.
ButtonWhat it does
AddOpens the dialog Entry Vouchers' Events for a new row.
ModifyOpens the selected row.
DeleteAsks "Are you sure you want to DELETE ?" and deletes the row. With one row left it shows "Please add one event at least".
OkChecks the fields and saves the message and its rows.
CancelCloses 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:

  1. The entry form of the line is ticked in the list.
  2. The account of the line is the account of a customer of the group.
  3. The opposite account of the line is the Cash Account or one of its sub accounts.
  4. The cost center of the line is Cost Center or one of its sub centers, if you set one.
  5. The branch of the entry is inside Branch, if branches are enabled and you set one.
  6. 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.

FieldDescriptionRequiredValues and rules
Read unposted entriesCounts unposted entries. It is in the group Event Conditions.NoUnticked by default. See Read unposted entries.
Send Message whenThe group of the kind of payment.YesFour options, one at a time. None is chosen on a new row. See the kinds of payment.
MessagesThe messages of the row.YesColumns: Sending Method, Customer and Users. At least one message.
ButtonWhat it does
AddOpens a menu with E-mail, Text Message and WhatsApp. See The Add menu.
ModifyOpens the selected message in the dialog of its channel.
DeleteAsks "Are you sure you want to DELETE ?" and deletes the message. With one message left it shows "At least there must be one message".
OkChecks the row and keeps it in the message.
CloseCloses 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.

OptionThe line is covered when
Receive Payment from CustomerThe customer line is a credit.
Pay to supplierThe customer line is a debit.
Settle the Account by Receiving PaymentThe customer line is a credit and the balance of that customer account is zero.
Settle the account by Paying to SupplierThe 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​

ItemOpens
E-mailThe e-mail dialog. It needs a working e-mail account.
Text MessageThe text message dialog. It needs a working SMS provider.
WhatsAppThe 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​

FieldWhat the message contains
Client NameThe customer name.
PrefixThe prefix of the customer.
SuffixThe suffix of the customer.
Latin NameThe Latin name of the customer.
Current balance in client account currencyThe 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 branchThe same for the branch of the entry.
Current balance in client account currency and entry’s cost centerThe same for the cost center of the line.
Current balance in client account currency and entry’s cost center and branchThe same for the cost center of the line and the branch of the entry.
Remaining amount to reach the maximum balanceThe difference between the maximum balance of the account card and the balance. It follows Read unposted entries. See Invoices Messages.
Balance TypeThe word debit or credit for the balance. Empty when it is zero.

Entry Info​

FieldWhat the message contains
Entry NoThe number of the voucher. For an entry that has no voucher, the number of the entry.
Entry DateThe date of the entry.
Payment Value in Item CurrencyThe amount of the line without its sign, in the currency of the line, with the currency code.
Cost center name of payment itemThe cost center of the line.
Branch NameThe branch of the entry.
Form NameThe name of the entry form. Empty for a journal entry.
Entry DescriptionThe notes of the entry.
User NameThe user who last modified the entry, or the user who created it if it was never modified.

Messages​

MessageWhy it appearsWhat to do
Empty Field: Please enter the nameName is empty.Type a name.
Empty Field: Please specify customers groupCustomers Group is empty.Choose a group.
Empty Field: Please select cash accountCash Account is empty.Choose an account.
Please enter one form at leastNo entry form is ticked.Tick at least one form.
Please add one event at leastThe list of events is empty, or you tried to delete its only row.Add an event.
Invalid value: Name exists! Please enter different nameAnother 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 eventOk in Entry Vouchers' Events with no option chosen.Choose a kind of payment.
At least there must be one messageOk 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.

This page applies to alameen ERP 10, version 10.1.79.764.