Loyalty Cards Options
This window sets the general rules of the loyalty card system in the current file of alameen ERP 10: whether the file is a centralized database or is linked to one, which account auto charge cards are paid from, when earned points are added to the balance, when they expire, and whether redeemed points are deducted from the points the same order earns. Types and tiers are defined in Loyalty Type Card and Loyalty Tier Card. For the steps, see Set up the loyalty program.
Open the window
From the ribbon: POS > Offers and Discounts > Loyalty Cards > Loyalty Cards Options. The command opens the Program Options window at the Loyalty Cards page. The page appears for users with the Loyalty Cards permission in Users Management > Operations > Options, and only users with Modify Options can save; otherwise Ok and Apply are hidden. The window needs the restaurants feature or the two POS features in the program licence.
The same page also appears in the program options window as Loyalty Cards. For that you need the same permissions described above, and a file must be open. See Program options overview. The scope of these options is the file: they are saved in the current file and apply to every computer and user that works on it.
Centralized database
A centralized database accumulates the points of one customer from several files (branches). It holds the tiers, the cards and the point movements. Each file defines its own loyalty types and links them to the tiers of the centralized database. The branch files connect to it.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| The file is a centralized database to accumulate points | Makes the current file a centralized database. | No | Off by default. When on, the Password button is enabled and the link option is disabled; when off, they return. The option is disabled if the file is linked to a centralized database. If you turn it on without a password, the program refuses to save. |
| Password | Opens the Main Password window to set the password of the centralized database. | Yes, when the option above is on | Disabled unless the option above is on. Branch files need this password when they link. |
| Link the file to a centralized database to accumulate points | Links the current file (a branch) to a centralized database. | No | Off by default. When on, the Link File button is enabled, the centralized database option is disabled, and the fields and the two redeem options in Days and redeem options are disabled. The option is disabled if the current file is a centralized database. |
| Link File | Opens the Centralized Database window to choose the centralized database. | Yes, when linking is on | Disabled unless linking is on. |
| Database and File Name under Centralized Database Information | Show the centralized database the current file is linked to. | — | Display only, filled when the file is linked. The file name appears in Arabic or Latin according to the program language. If the centralized database is not found, the text "(The file doesn't exist)" appears. |
Main Password window
Opened with the Password button. Its title is Main Password.
| Field or button | Description | Required | Values and rules |
|---|---|---|---|
| Password | The password of the centralized database. | Yes | The program hides the typed characters. Both fields show the current password, hidden. |
| Verify Password | Retype the password to confirm it. | Yes | Must match the previous field. |
| Ok | Checks both fields and accepts the password. | — | The password is not saved at this moment. It stays in the parent window until you click Ok or Apply in the options window, and then the program saves it encrypted. |
| Close | Closes the window. | — | If you typed something and then close, the program asks "Do you want to ignore the inputs and close the window?" when the On cancel warning is on. |
Centralized Database window
Opened with the Link File button. Its title is Centralized Database.
| Field or button | Description | Required | Values and rules |
|---|---|---|---|
| Database | The centralized database to link to. | Yes | The list shows the other files on the server that meet all of these: their version starts with 10, they have a file name, and the option The file is a centralized database to accumulate points is on in them. If the file you want is missing, check these conditions. |
| File name: | The name of the chosen centralized database. | — | Display only. It appears in Latin if the program language is not Arabic and the file has a Latin name; otherwise in Arabic. |
| Password | The password you set in the centralized database. | Yes | Must match the password of the centralized database. |
| Ok | Checks the choice and the password and accepts them. | — | The link is saved only when you click Ok or Apply in the options window. |
| Close | Closes the window without accepting. | — |
Auto charge account
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Auto Charge Cards Account | The account that is charged with what is paid by cards of tiers whose charge type is Auto. | Not at save; yes when those cards are used | Choose a final account. It is always saved, even if the file is linked to a centralized database. If it is empty when an Auto card is used, a message asks you to set it on this page. See Loyalty Tier Card. |
Days and redeem options
When the file is linked to a centralized database, these options are read from the centralized database. So the program disables them in a linked file and deletes their locally saved values on save.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Earned points validity | The number of days earned points stay valid for redeeming. | No | Whole number followed by "Day". 0 or empty means points never expire. The period is counted from the date the points were added to the balance, which is the order date plus Validity days to add order points to the balance. A negative value is rejected. |
| Validity days to add order points to the balance | The number of days after the order date before its points become available to redeem. | No | Whole number. 0 means the points are available from the order day. A negative value is rejected. |
| Validity days to calculate points on paid order | The period in which points can be calculated for an order that was already paid, from the finished orders list. | No | Whole number. 0 means no limit. After the period the program refuses the calculation. A negative value is rejected. |
| Exceed minimum points to redeem | Allows redeeming the whole balance without leaving the Minimum Limit to Redeem set in the type. | No | Off by default. When off, only the part of the balance above the minimum can be redeemed. |
| Deduct redeemed points from earned one in the order | Deducts the points an order was paid with from the points the same order earns. | No | Off by default. When on, earned points = earned − redeemed, and they are zero if the redeemed points exceed the earned ones. |
The difference between the last two options is shown with numbers in Loyalty Type Card.
What happens on save
The page is saved with the other pages of the options window in one transaction. If a page fails, nothing is saved and the program goes to the page that failed. The program checks in this order:
- If linking is on and you did not choose a centralized database, a message asks you to choose one.
- Otherwise, if the file is a centralized database and you did not enter a password, a message asks you to enter it.
- When you turn linking on in a file that is not linked: if the current file contains loyalty cards, a risk warning appears, and then another warning says the current cards will not be available after linking and that you will work only on the cards of the centralized database. Click Ok to continue or Cancel to go back.
- If the centralized database or the link state changed, the program registers this file as a points source in the new centralized database and removes its registration from the previous one. If registration fails when you link, for example because the centralized database is not online on the server, a save error appears and saving stops.
- If the file is not linked, the three day fields are checked in order: validity, added after, then paid order. A negative value shows a message with the field name, and the cursor goes to it.
After saving:
- The option The file is a centralized database to accumulate points and its password (encrypted) are saved if the file is a centralized database, and removed if it is not.
- If the file is linked, the name of the centralized database is saved and the local values of the days and the two options are deleted. If it is not linked, the days and the two options are saved, and an empty field is saved as
0. - If the link state changed, the program reloads the plugins. In a linked file the ribbon does not show Loyalty Tier Card and Loyalty Card, because tiers and cards are managed in the centralized database. The report Loyalty Cards Movement by Files appears only in the centralized database.
- The type card changes in a linked file: the Tier field becomes a list instead of a lookup.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| "Please select a centralized database" | Linking is on and no database is chosen, or you clicked Ok in the choose window without a choice. | Click Link File and choose the database. |
| "Please enter Centralized Database password" | The file is a centralized database to accumulate points is on and there is no password. | Click Password and enter it. |
| "Please enter the password" | Password is empty in the Main Password window or in the Centralized Database window. | Type the password. |
| "Enter password varification" | Verify Password is empty. | Retype the password. |
| "Passwords don't match" | The two fields differ in the Main Password window. | Retype them. |
| "Incorrect password" | The password does not match the password of the chosen centralized database. | Enter the right password, or change it in the centralized database. |
| "This operation is risky, the file contains Loyalty cards. Do you want to continue?" | You linked a file that has local loyalty cards. | Continue if you are sure; otherwise click Cancel. |
| "Please note that when connecting to centralized DB to acumulate points. you will not be allowed to work on current cards, only could deal with the cards defined in centralized DB. Do you want to continue?" | Turning linking on in a file that is not linked. | Continue or go back. |
| "An error occurred while attempting to save" | When linking, the file could not be registered in the centralized database, for example it is not online on the server. | Check that the centralized database is online, then save again. |
| "… can't be negative" | A negative value in one of the three day fields; the field name appears in place of the dots. | Enter 0 or a positive number. |
| "The centralized DB to collect points is not specified" | At the POS, the centralized database is not set. | Link the file from this page. |
| "The centralized DB to collect points is not found on server" | The centralized database is missing or not online. | Ask the system administrator to check. |
| "An error occurred while connecting to the centralized database to collect points, please contact the administrator" | The connection to the centralized database failed. | Contact the system administrator. |
| "Please select auto charge cards account from: Options - Loyalty Cards" | You paid with a card of an Auto-charge tier while Auto Charge Cards Account is empty. | Set the account on this page. |
| "The validity days to calculate points on paid order have been exceeded" | You calculated points of a paid order in Finished Orders after the Validity days to calculate points on paid order period. | Raise the days on this page, or in the centralized database if the file is linked. |
If you close the options window with Cancel while it has unsaved changes, the program asks "Do you want to ignore the inputs and close the window?" when the On cancel warning is on.
Related
This page applies to alameen ERP 10, version 10.1.79.764.