Skip to main content

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​

  1. Click Systems > Messages > Messages Management. Open the page Orders. It lists the order 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 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.

FieldDescriptionRequiredValues and rules
NameThe name of the message in the list.YesMust be different from every other order message.
Customers GroupThe customers whose orders are covered.YesA customer group. See Customer Group Card. An order with no customer is never covered.
Header Cost CenterCovers only orders whose header cost center is this one or one of its sub centers.NoEmpty: every cost center, and orders with none.
Header WarehouseCovers only orders whose header warehouse is this one or one of its sub warehouses.NoEmpty: every warehouse.
BranchCovers only orders of this branch and its sub branches.NoUsed only when branches are enabled in the file. Otherwise the program ignores it.
Orders FormsThe order forms the message covers.YesA check list: the sales order forms, a separator, then the purchase order forms. On a new message all are ticked.
Message Sending EventsThe list of events that send the message.YesColumns: Events and Condition. The message needs at least one row.
ButtonWhat it does
AddOpens a menu to choose the kind of event. See The Add menu.
ModifyOpens the selected row in the dialog of its kind.
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.

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​

ItemOpens
Order EventsOrders' Events: events caused by actions on the order.
Reminder before Maturity DateMaturity 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.

FieldDescriptionRequiredValues and rules
EventsCheck list of the events that send the messages of the row.YesNone is ticked on a new row. See The events.
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 of the messages.
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 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​

EventWhen the program sends it
AddAfter a new order is saved in the order window. Also for an order made by preparing orders or by dividing an order.
ModifyAfter an order is modified in the order window.
Cancel OrderAfter the cancel command of the order window is used.
End OrderWhen 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.

ItemOpens
E-mailSend E-mail. It is the same dialog as for invoices, with the order fields. It needs a working e-mail account.
Text MessageThe text message dialog. See Send Message Manually. It needs a working SMS provider.
WhatsAppThe 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.

FieldDescriptionRequiredValues and rules
Remind me of maturity date before … DayThe number of days before the due date of a payment.YesA whole number. A 0 becomes 1 when you leave the box.
MessagesThe messages of the row.YesThe 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​

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

Order Info​

FieldWhat the message contains
Order No.The order number between brackets.
Order DateThe date of the order.
Order FormThe name of the order form.
Branch NameThe branch of the order.
Cost centerThe header cost center.
Order ValueThe 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.

FieldWhat the message contains
Agreed Arrival DateThe agreed arrival date.
Agreed Delivery DateThe agreed delivery date.
Agreed Shipping DateThe agreed shipping date.
Suggested Shipping DateThe suggested shipping date.
Suggested Arrival DateThe suggested arrival date.
Suggested Delivery DateThe suggested delivery date.
Expected Delivery DateThe expected delivery date.
Letter of Credit DateThe date of the letter of credit.
Account NoThe account number.
Letter of Credit NumberThe number of the letter of credit.
Accredited BankThe accredited bank.
Arrival PointThe arrival point.
Delivery TermsThe delivery terms.
Shipping CompanyThe shipping company.
Shipping TypeThe shipping type.
Shipping TermsThe shipping terms.

Maturity Data​

This group is only in the dialog Maturity Date.

FieldWhat the message contains
Due Payment No.The number of the payment that falls due.
Due Payment ValueThe remaining amount of that payment.
Due Payment DateThe 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​

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.
Please enter one form at leastNo order 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 order message has the same name.Type a different name.
Orders forms not foundYou 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 eventOk in Orders' Events with no event ticked.Tick an event.
At least there must be one messageOk 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.

This page applies to alameen ERP 10, version 10.1.79.764.