Distribution Discounts
Distribution discounts are the discounts that the representative gives to his customers on the device. You define a discount in a card, set its calculation method, its conditions and the units that apply it, and then add it to a customer type so that customers of that type get it. This page explains the list and the card. For the practical steps see Set up the Distribution options.
Opening the window
- Open Distribution options and click Discount. The list opens.
- In the list, click New or Modify to open the card.
- The list also opens from the discount search window: its add command shows the list.
The Distribution page appears under the conditions listed in Distribution options.
The list
The window title is "Distribution Discounts" and the title of the list is "Discount". The list shows the discount names in the order of their numbers.
| Button | What it does |
|---|---|
| Ok | Closes the window. |
| New | Opens the card for a new discount. When you click Ok in it, the discount is saved and added to the list. |
| Modify | Opens the card with the selected discount. When you click Ok, the change is saved. Disabled when no row is selected. |
| Delete | Asks "Are you sure you want to DELETE", then checks and deletes the selected discount. Disabled when no row is selected. |
| Cancel | Closes the window. |
Insert, F2 and Delete work like the New, Modify and Delete buttons when the button is enabled.
After the confirmation question the program checks in this order:
- If the file takes part in the distribution data publication and this file has no right to edit the discount, the message "Cannot perform an operation that has a source code not belong to the current database." appears and the discount is not deleted.
- If the discount is in the discounts table of a customer type, the message "Deleting Discount is disabled, Discount is used in Customer Types Card" appears and the discount is not deleted.
- Otherwise the discount is deleted, together with the distribution unit values saved for it.
The card
The title of the card is "Discount". The fields that are enabled depend on the Discount Calc. Method, so choose the method first. Each time you click or move into Discount Calc. Method, even without choosing another method, the program clears Discount Material and Discount Group and unticks Ability to change Discount Value, Discount for Once and Distribute Discount on Materials. When you modify a discount, set the method first and then these fields.
Main fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Code | The code of the discount. | Yes | A short code, for example D10. |
| Name | The name of the discount. | Yes | For example Bill discount 10%. |
| Latin Name | The name in English. | No | For example Bill discount 10%. |
| Maturity Type | Whether the discount is due at once or deferred. | No | The options Instant and Suspended. With every calculation method in the list, Instant is ticked and Suspended is disabled. |
| From and To (dates) | The period during which the discount is valid. | No | Two dates, for example 1-1-2026 and 31-12-2026. |
| Discount Account | The account that the discount is posted to. | Yes | Type the account code or name and press Enter to open the search window. |
| Discount Calc. Method | The way the discount is calculated. | Yes | A list of four methods: Tied by Bill Value, Reduction of Material Price, Round Up Bill and Tied by bill value (grants materials). A method is always chosen; a new card opens with Reduction of Material Price. See the methods. |
| Security Level | The security level of the discount. | No | Sets the security level of the discount. Default 1. |
At the top of the card a small coloured box shows the source code of the discount. Its tooltip shows the source code, name and database name, and its colour differs according to whether the source is this file or another file. You cannot edit this box.
Method fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Rounding Type | Sets the effect of the rounding on the bill. | No | The values: Discount and Addition, Discount and Addition. Default: Discount and Addition. Only Round Up Bill enables it. |
| Precision | The rounding step. | No | The values: 0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2.5, 5, 10, 50, 100, 25, 250, 500 and 1000. The initial value is 5. Round Up Bill enables it; the other methods do not use it. |
| Ability to change Discount Value | Lets the device user change the discount value. | No | Not ticked by default. |
| Discount for Once | Gives the discount once. | No | All four methods in the list disable it. |
| Distribute Discount on Materials | Spreads the discount value over the bill's materials. | No | Only Reduction of Material Price enables it. |
| Discount Material | The material the discount applies to. | No | Type the material code or name. With Tied by bill value (grants materials) its title becomes Grant Material. |
| Discount Group | The group of materials the discount applies to. | No | With Tied by bill value (grants materials) its title becomes Grant Group. |
| Unit | The material unit used to calculate the discount. | No | The values: First Unit, Second Unit, Third Unit and Default Unit. Default: First Unit. Only Reduction of Material Price enables it. |
| Price | The price that is reduced. | No | The values: Wholesale, Semi wholesale, Export, Distributor, Retail, Consumer and Bill. The list shows the ones you have the permission to see. Only Reduction of Material Price enables it. |
Discount value and condition value
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Percent (in Discount Value) | The percentage of the discount. | No | A number, for example 10. Round Up Bill disables it. |
| Value (in Discount Value) | The fixed value of the discount. | No | A number, for example 25. Round Up Bill disables it. |
| From (in Condition Value) | The lower limit of the condition value. | No | A number. Round Up Bill disables it. |
| To (in Condition Value) | The upper limit of the condition value. | No | A number. If it is greater than zero, it must not be less than From. Round Up Bill disables it. |
Methods
Each method enables some fields and disables others:
| Method | Enabled fields |
|---|---|
| Tied by Bill Value | Ability to change Discount Value, Percent, Value, From and To of the condition value, Materials Terms. |
| Reduction of Material Price | Ability to change Discount Value, Distribute Discount on Materials, Discount Material, Discount Group, Materials Terms, Percent, Value, From and To, Unit, Price. Choosing a material disables Discount Group and Materials Terms, choosing a group disables Discount Material and Materials Terms, and choosing a materials terms condition disables the material and the group. |
| Round Up Bill | Rounding Type and Precision only. |
| Tied by bill value (grants materials) | Ability to change Discount Value, Percent, Value, From and To, Grant Material, Grant Group, Materials Terms. |
Customers and materials terms
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Materials Terms | A ready-made condition on materials that limits the discount. | No | Choose a condition from the list. The list shows the conditions defined in the program. |
| Customers Terms | A ready-made condition on customers that limits the discount. | No | Choose a condition from the list. The grid under it shows an explanation of the condition. |
Distribution groups and units
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Distribution Groups | A list of the distribution groups that hold units. | No | Ticking or unticking a group does the same to all its units in Distribution Units. When the card opens, a group is ticked if one of its units applies the discount. |
| Distribution Units | The units that apply the discount. | No | A list of all distribution units, separated by group. Tick the units that give the discount. Units that are not ticked do not apply it. In a new card all are unticked. |
| Button | What it does |
|---|---|
| Ok | Checks the fields and saves the ticked distribution units, then closes the card; the list saves the other data of the discount right after it closes. |
| Branches... | Shows the branches of the discount so that you choose the branches in which it applies. The button appears only if branches are on in the licence and in the file options, and the file has at least two branches. |
| Cancel | Closes the card without saving. |
When you click Ok the program checks in this order and stops at the first problem:
- The right to modify the discount, in a file that takes part in the distribution publication.
- Code and Name.
- Discount Account.
- From and To of the condition value.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Cannot perform an operation that has a source code not belong to the current database. | The file takes part in the distribution publication, and the discount is not one that this file may edit. | Edit or delete the discount in the file that created it. |
| Name and Code are empty | You left Code or Name empty. | Fill both fields. |
| Discount Account should be entered before saving | You left Discount Account empty. | Choose an account. |
| Maximum condition value must be greater then minimum condition vale | To is greater than zero and less than From. | Correct the two values. A warning appears and the discount is not saved. |
| Deleting Discount is disabled, Discount is used in Customer Types Card | The discount is in the discounts table of a customer type. | Remove the discount from the type's table and try again. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.