Orders Messages
An orders message tells the customer, the users you choose, or both, that something happened to an order, or that a payment of the order is about to fall due. You choose which order forms it covers and which events send it. This page describes the dialog Orders Messages and the dialogs opened from it. It also explains how these messages differ from the notes of the Orders Notes desktop tile. 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 Orders. It lists the order 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 Orders is in the list only if your user has the Review permission for Orders 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.
New shows the message "Orders forms not found" when the file has no sales or purchase order form.
The Orders Messages dialog
The dialog says which orders 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 order message. |
| Customers Group | The customers whose orders are covered. | Yes | A customer group. See Customer Group Card. An order with no customer is never covered. |
| Header Cost Center | Covers only orders whose header cost center is this one or one of its sub centers. | No | Empty: every cost center, and orders with none. |
| Header Warehouse | Covers only orders whose header warehouse is this one or one of its sub warehouses. | No | Empty: every warehouse. |
| Branch | Covers only orders of this branch and its sub branches. | No | Used only when branches are enabled in the file. Otherwise the program ignores it. |
| Orders Forms | The order forms the message covers. | Yes | A check list: the sales order forms, a separator, then the purchase order forms. On a new message all are ticked. |
| Message Sending Events | The list of events that send the message. | Yes | Columns: Events and Condition. The message needs at least one row. |
| Button | What it does |
|---|---|
| Add | Opens a menu to choose the kind of event. See The Add menu. |
| Modify | Opens the selected row in the dialog of its kind. |
| 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.
The program checks in this order and stops at the first problem: Name, Customers Group, Orders Forms, the events list, and a duplicate Name. The messages are in Messages.
The Add menu
| Item | Opens |
|---|---|
| Order Events | Orders' Events: events caused by actions on the order. |
| Reminder before Maturity Date | Maturity Date: a reminder days before a payment of the order is due. It needs the daily schedule. |
The second item, and Modify on a maturity row, show "Please check schedule settings from " Messages Settings "" when the daily job was not created in Messages Settings. The job is set in Messages Settings. See the schedule.
When the program sends the message
For each event, the program tests that the order fits the conditions of the dialog above: its form is ticked, its customer is in the group, and its header cost center, header warehouse and branch are inside what you chose. Then it sends every message of the row to its recipients. The recipients, the channels and the sending are described in Understanding automatic messages.
Orders' Events
The dialog defines one row: the events that send the messages of the row. It has no condition.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Events | Check list of the events that send the messages of the row. | Yes | None is ticked on a new row. See The events. |
| 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 of the messages. |
| 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 event is ticked, 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 Orders Messages.
The events
| Event | When the program sends it |
|---|---|
| Add | After a new order is saved in the order window. Also for an order made by preparing orders or by dividing an order. |
| Modify | After an order is modified in the order window. |
| Cancel Order | After the cancel command of the order window is used. |
| End Order | When the order becomes finished: with the end command, by dividing the order, or by posting all its quantity. |
Posting an order to bills sends an event for the status of the order. It is not in this list, so no row can use it.
The Add menu of the messages
The menu of Add is the same in this dialog and in Maturity Date.
| Item | Opens |
|---|---|
| Send E-mail. It is the same dialog as for invoices, with the order fields. It needs a working e-mail account. | |
| Text Message | The text message dialog. See Send Message Manually. It needs a working SMS provider. |
| The WhatsApp dialog of the same page. |
In Send E-mail the box Send archived invoice as attachment keeps its invoice caption for an order message, and it attaches the archived copy of the order. The box is not ticked when you reopen a saved message, so tick it again if you need it. In the WhatsApp dialog the caption is Send the archived order as an attached document.
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.
Maturity Date
The dialog Maturity Date sends a reminder a number of days before a payment of the order falls due. It is the same window as for invoices and commercial papers.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Remind me of maturity date before … Day | The number of days before the due date of a payment. | Yes | A whole number. A 0 becomes 1 when you leave the box. |
| Messages | The messages of the row. | Yes | The same list and buttons as in Orders' Events. |
The list of the order dialog shows the row as Reminder of Maturity Date with the condition Before … Day.
The due dates are the dates of the payments of the order. See Record order payments. The program runs the check once a day, at the time set in Messages Settings. It sends the messages for orders that have a payment with a due date exactly the chosen number of days after that day and a remaining amount that is not zero.
In this dialog the tree Insertion Fields has one more group, Maturity Data. See The fields.
The fields you can insert
In a message of an order the tree Insertion Fields has these fields. The program replaces each one with the value for the order that caused the message.
Client Info
| Field | What the message contains |
|---|---|
| Customer Name | The customer name. |
| Suffix | The suffix of the customer. |
| Prefix | The prefix of the customer. |
| Current balance in client account currency | The balance of the customer account from posted entries, for all cost centers and branches, with the currency code. It has no sign. |
| Current balance in client account currency and order branch | The same for the branch of the order. |
| Current balance in client account currency and order’s cost center | The same for the header cost center of the order. |
| Current balance in client account currency and order’s cost center and branch | The same for the cost center and the branch of the order. |
| Remaining amount to reach the maximum balance | The difference between the maximum balance of the account card and the balance. See Invoices Messages. |
| Balance Type | The word debit or credit for the balance. Empty when it is zero. |
Order Info
| Field | What the message contains |
|---|---|
| Order No. | The order number between brackets. |
| Order Date | The date of the order. |
| Order Form | The name of the order form. |
| Branch Name | The branch of the order. |
| Cost center | The header cost center. |
| Order Value | The total less the discount plus the additions plus the tax, in the order currency, with its code. |
Other Info
These fields come from the information page of the order. A date the order does not have is empty.
| Field | What the message contains |
|---|---|
| Agreed Arrival Date | The agreed arrival date. |
| Agreed Delivery Date | The agreed delivery date. |
| Agreed Shipping Date | The agreed shipping date. |
| Suggested Shipping Date | The suggested shipping date. |
| Suggested Arrival Date | The suggested arrival date. |
| Suggested Delivery Date | The suggested delivery date. |
| Expected Delivery Date | The expected delivery date. |
| Letter of Credit Date | The date of the letter of credit. |
| Account No | The account number. |
| Letter of Credit Number | The number of the letter of credit. |
| Accredited Bank | The accredited bank. |
| Arrival Point | The arrival point. |
| Delivery Terms | The delivery terms. |
| Shipping Company | The shipping company. |
| Shipping Type | The shipping type. |
| Shipping Terms | The shipping terms. |
Maturity Data
This group is only in the dialog Maturity Date.
| Field | What the message contains |
|---|---|
| Due Payment No. | The number of the payment that falls due. |
| Due Payment Value | The remaining amount of that payment. |
| Due Payment Date | The due date of that payment. |
Orders Notes and these messages
The notes of the desktop tile Orders Notes do not come from this dialog. They are internal notes for the users ticked in the page Send notification of the order form. See Purchase Orders Forms. They are recorded when the messages system is in the licence, for every event of an order: add, modify, cancel, end, and the status events. A message defined here sends e-mail, text or WhatsApp messages. Defining it does not give anyone a note, and a note does not need a message here. See Orders desktop tiles.
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. |
| Please enter one form at least | No order 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 order message has the same name. | Type a different name. |
| Orders forms not found | You clicked New in a file with no order form. | Define an order form first. |
| Are you sure you want to DELETE ? | You clicked Delete on a row or on a message. | Click Yes to delete. |
| Please check schedule settings from " Messages Settings " | You added or opened a maturity row while the daily job was not created in Messages Settings. | Create the job in Messages Settings. |
| At least there must be one event | Ok in Orders' Events with no event ticked. | Tick an event. |
| At least there must be one message | Ok in a row dialog 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.