Discounts Types
A discount type sets the amount of discount a discount card gives its holder when buying from the POS. You define the types here, then link them to the discount card types from which you issue cards. For practical steps to create a type see Create a discount card type.
Open the window
You start from the Discount page, which has an Edit button, and from it you open the Discounts Types card.
- Open the system options window from POS settings, then choose the Discount page. The page appears if your licence includes points of sale or restaurants, and you have the Discount Type permission in Users Management.
- Click Edit. The program asks to open the file in exclusive mode before it shows the card. If it cannot, the message "The files are in exclusive mode, you can't log on to the files now." appears. The program returns the file to normal mode when you close the card.
The text on the page says: "Add special type of discounts or modify its properties". The page also has a hidden Sort... button that does not appear in the window.
The discount type card
Fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Navigation buttons | Move you between the saved types. | — | See the navigation bar. |
| Security Level | The security level of the type. | No | — |
| Abbreviation | The abbreviation of the type. | Yes | Not repeated. |
| Name | The name of the type. | Yes | Not repeated. |
| Latin Abbr | The abbreviation in Latin letters. | No | If you type it, it must not be repeated. |
| Latin name | The name in Latin letters. | No | If you type it, it must not be repeated. |
| Amount Start Value | The lowest order total at which the discount is given. | No | Default 0. If it is greater than both the sales total and the return total of the order, the discount card is not accepted and the message "Condition of Granting Discount is more than bill total" appears. For a Details type it is compared with the total of the items and groups listed in the grid only. |
| Discount account | The discount account. | No | A detail account. It is saved with the type. See Effect on entries. |
| Value / Percent | The amount of the general discount. | No | Default 0. If it is 0, the program adds no discount from this field. The program does not stop you typing a percentage above 100. |
| Discount Type | Whether the amount is a percentage or a value. | No | Percent or Value. If you leave it empty, the amount is treated as a percentage. |
| Details | Turns on the discount for chosen items and groups. | No | Not ticked in a new card. Ticking it shows the items grid below. |
| Discount By Purchases Value | A table of order value ranges. | No | The grid below. |
Discount by purchases value
A grid with four columns. On top of the general discount, the program adds the discount whose range contains the order total.
| Column | Description | Values and rules |
|---|---|---|
| From | Start of the range. | A number greater than zero. Typing it starts a new row. |
| To | End of the range. | Must be greater than From, otherwise it is not accepted. If you leave it empty, the range applies to no order. |
| Discount Type | Percent or value. | Percent by default. If you choose Percent and the value is above 100, the program sets it back to 100. |
| Discount Value | The discount amount. | Greater than zero. The program does not accept more than 100 if the type is Percent. |
Press Delete on the From cell to delete the row. If the grid has more than one row and the row is saved, the program deletes it from the database at once, before you save the card.
Items and groups (the detailed type)
The grid appears when you tick Details, and has four columns.
| Column | Description | Values and rules |
|---|---|---|
| Form | Whether the row is an item or a group. | Material or Group. Changing it empties the next column. |
| Material / Group | The item or the group. | The search opens a selection window that accepts several items or groups, which fill the following rows. |
| Discount Type | Percent or value. | Percent by default. |
| Value | The discount amount for this row. | A number. |
The grid has 1000 rows. Press Delete on the cell to clear it. See the grid menus to delete a row.
Buttons
| Button | What it does |
|---|---|
| Add | Saves the type as a new type. The program always asks "Are you sure you want to complete saving?". |
| New | Empties the fields and the two grids and clears Details. |
| Modify | Saves the changes of the displayed type. The program always asks "Are you sure you want to save changes ?". |
| Delete | Deletes the displayed type after confirmation. |
| Branches | Sets the branches the type appears in. See the branch selection window. |
| Close | Closes the card. If it has unsaved changes, the program asks whether to discard them. |
Save and delete rules
On Add and Modify the program checks:
- Abbreviation is filled.
- Name is filled.
- If Details is ticked, the grid must have at least one item or group.
- On Add only: no other type has the same Name or Abbreviation, or the same Latin name or Latin Abbr if you typed them.
The program saves the type and its grids in one transaction. If you cleared Details, the program deletes the rows of the items grid on saving. In Modify the program does not check the name and abbreviation for repetition.
The program places a new type at the end of the types order.
On Delete the program first asks: "Are you sure you want to delete?". Then it refuses the deletion if the type is used in a discount card type, and shows the message "Discount type is used in Discount Card. Cannot delete".
The program records Add, Modify and Delete in the operations log under Discount Type, and in Modify it records the discount value before and after the change if it changed.
How the program applies the discount
When a discount card is read in a POS order, the program adds the following discounts to the order, and they add up:
- The general discount: if Value / Percent is greater than zero. A percentage is calculated from the sales total and the return total separately, and a value is given on each of them if its total is not zero.
- The purchases range discount: the row whose range contains the order total, if there is one.
- The items and groups discount: if the type is Details, for each item in the order that is in the grid or belongs to a group in it, the discount set for it.
The program gives no discount if discount cards are not enabled in the POS settings, if the card is inactive or outside its validity period, or if the order already has a discount card. See Discount Card.
Effect on entries
The applied discounts appear as discount lines in the sales bill generated from the order. In the sales bill, the order-level discount is posted to the discount account you choose in the type; if you leave it empty, the program uses the default discount account of the bill type. The returned bill and merged bills always use the bill type's account. Example: a sales order of 1000 and a percentage type of 10: a discount line of 100 in the bill and a bill total of 900.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Empty Field | You left Abbreviation or Name empty. | Type the value. |
| (a message box with no text) | You ticked Details and the items grid has no item or group. | Add an item or group, or clear Details. |
| Entey value is repeated, enter new value | Another type has the same name or abbreviation, or the same Latin name or Latin abbreviation. | Change the repeated value. |
| Discount type is used in Discount Card. Cannot delete | The type is linked to a discount card type. | Change the type in the discount card type, or delete it, then delete the type. |
| The files are in exclusive mode, you can't log on to the files now. | The program could not open the file in exclusive mode when you clicked Edit. | Try again. |
| Are you sure you want to complete saving? | You pressed Add. | Confirm or go back. |
| Are you sure you want to save changes ? | You pressed Modify. | Confirm or go back. |
| Are you sure you want to delete? | You pressed Delete. | Confirm or go back. |
| Condition of Granting Discount is more than bill total | A discount card was read in an order whose total is less than Amount Start Value. | Increase the order or change the amount. |
Related topics
This page applies to alameen ERP 10, version 10.1.79.764.