Skip to main content

Messages of Materials Control

A materials control message warns the users you choose when the quantity of a material passes a limit, or when a batch of the material is about to expire. The messages go to users only, never to customers. This page describes the dialog Messages of Materials Control and the two dialogs opened from it: Materials Control for quantities and Expiry Date Control for expiry dates. 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 Materials Control. It lists the 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 Materials Control is in the list only if your user has the Review permission for Materials Control 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.

These messages are different from the warnings in the notifications panel of the program and from the tiles. For those see Follow expiry dates of materials and Reorder and Expiry Tiles. The period of the Expiration Warning window does not affect these messages.

The dialog Messages of Materials Control​

The dialog says which materials 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 materials control message.
MaterialOne material to follow.See the rule belowA material card.
GroupA group of materials to follow.See the rule belowA materials group.
Materials TermsA saved condition that selects materials.See the rule belowA list of the saved materials conditions.
Message Sending EventsThe list of events that send the message.YesOne column. It shows the condition of each event. The message needs at least one row.

At least one of Material, Group and Materials Terms is needed. When Material has a value, Group is disabled, and when Group has a value, Material is disabled. The program covers the materials that fit the group and the terms, and if you choose a material, only that material.

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. It is always enabled.
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, the material fields, the events list, and a duplicate Name. The messages are in Messages.

The Add menu​

ItemOpens
Materials ControlMaterials Control: a message when the quantity passes a limit.
Expiry Date ControlExpiry Date Control: a reminder before an expiry date. It needs the daily schedule.

The second item, and Modify on an expiry 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.

Materials Control​

The dialog defines one row: the quantity limits that send the messages of the row. The four options are in the group Send Message when material quantity become.

FieldDescriptionRequiredValues and rules
More than Max LimitSends when the quantity rises above the Maximum Limit of the material card.At least one optionUnticked by default.
Less than Min LimitSends when the quantity falls below the Minimum Limit of the material card.At least one optionUnticked by default.
Less than re-order pointSends when the quantity falls below the Re-Order Point of the material card.At least one optionUnticked by default.
Specific Qty of First UnitSends when the quantity of the first unit crosses a number you type.At least one optionEnables the two fields below. When unticked they are emptied.
The quantity boxThe number.If the option is tickedA number in quantity format.
The list beside itThe direction.If the option is tickedLess than (the default) or More than.
MessagesThe messages of the row.YesColumns: Sending Method 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.
CancelCloses without keeping the row.

On Ok the program shows "At least there must be one event" when no option 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 Messages of Materials Control.

The list of the first dialog shows the row as the chosen options joined with a dash: Exceed maximum limit, Less than minimum limit, Less than re-order point, and First Unit Quantity Less than or First Unit Quantity More than with the number.

When the program sends the message​

The program tests the row each time the quantity of a material changes through one of these actions:

  • An invoice that moves stock is added, modified or deleted. This applies when the invoice form posts automatically or the invoice is posted.
  • An invoice is posted with the post command of the invoice window.
  • A point of sale or restaurant order is paid or modified.
  • An opening inventory is added, modified or deleted.
  • A manufacturing operation is added, modified or deleted.

The material must also be one the message covers. The quantity is the total quantity of the material in the first unit, in all warehouses.

The message goes only when this change moves the quantity across the limit. The quantity before the change must not have been beyond the limit, and after it must be.

OptionSends when
More than Max LimitThe quantity is above the maximum limit and before it was at or below it.
Less than Min LimitThe quantity is below the minimum limit and before it was at or above it.
Less than re-order pointThe quantity is below the re-order point and before it was at or above it.
Specific Qty of First Unit with Less thanThe quantity is below the number and before it was at or above it.
Specific Qty of First Unit with More thanThe quantity is above the number and before it was at or below it.

If a limit in the material card is 0, its option never sends. The program tests the options in the order of the table above. An option whose limit is 0 stops the tests: the options after it are not tested for that change. See Material card for the limits. A material card used in a condition of these messages cannot be deleted until you delete the condition.

The Add menu of the messages​

The menu of Add is the same in this dialog and in Expiry Date Control.

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. They have no Customer recipient: the recipients are 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.

Expiry Date Control​

The dialog Expiry Date Control sends a reminder a number of days before the expiry date of a batch of a material.

FieldDescriptionRequiredValues and rules
Remind me of expiry date before … DayThe number of days before the expiry date.YesA whole number. A 0 becomes 1 when you leave the box.
MessagesThe messages of the row.YesColumns: Sending Method and Users. Buttons Add, Modify and Delete as in Materials Control.
ButtonWhat it does
OkChecks the row and keeps it in the message. It shows "At least there must be one message" when the list is empty.
CancelCloses without keeping the row.

The list of the first dialog shows the row as Reminder of Expiry Date with the condition Before … Day.

The program runs the check once a day, at the time set in Messages Settings. It sends a message for each material that has a batch with expiry date exactly the chosen number of days after that day. The batch must still have quantity left. Only materials with Expiry Date turned on in their card enter the check.

The fields you can insert​

In a message of materials control the tree Insertion Fields has these fields. The program replaces each one with the value of the material that caused the message.

FieldWhat the message containsIn
Material NameThe name of the material.Both
Material CodeThe code of the material.Both
Latin NameThe Latin name of the material.Both
Max limit in first unitThe maximum limit of the card.Both
Min limit in first unitThe minimum limit of the card.Both
Re-order point in first unitThe re-order point of the card.Both
Last Purchase Price in First UnitThe last purchase price of the first unit.Both
Material CurrencyThe name of the currency of the material.Both
First UnitThe name of the first unit.Both
Current Balance in First UnitThe total quantity of the material in all warehouses.Both
Second UnitThe name of the second unit.Both
Current Balance in Second UnitThe total quantity divided by the equivalent of the second unit.Both
Third UnitThe name of the third unit.Both
Current Balance in Third UnitThe total quantity divided by the equivalent of the third unit.Both
Default unitThe name of the default unit of the material.Both
Current Balance in Default UnitThe total quantity in the default unit.Both
Expiry DateThe expiry date of the batches that fall on the day of the reminder.Expiry Date Control
Expired Quantity in First UnitThe quantity left in those batches, in the first unit.Expiry Date Control

An equivalent of 0 in a unit is read as 1.

Messages​

MessageWhy it appearsWhat to do
Empty Field: Please enter the nameName is empty.Type a name.
Must add the material or the group or define the conditionMaterial, Group and Materials Terms are all empty.Choose a material, a group or a terms condition.
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 materials control 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.
Please check schedule settings from " Messages Settings "You added or opened an expiry 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 Materials Control with no option ticked.Tick an option.
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.