Discount Templates
Discount Templates are reusable templates that define default values for line discounts and invoice discounts in the Yaveon 365 Trade App. They allow you to standardize and pre-populate discount settings, ensuring consistency across discount records.
A Discount Template is referenced via the Template Code field on Line Discounts and Invoice Discounts. When a template code is assigned to a discount line, the system pre-fills the following values from the template:
- Sequence No. / Discount Level
- Calculation Basis (only in Separate Lines per Level mode)
- Discount % or Discount Amount per Unit
Important
Only one discount entry per template code is transferred into the discount details of a sales document. An empty Template Code is treated the same as any named template — meaning at most one of all applicable lines without a template code will be inserted into the discount details, determined by the normal hierarchy search.
Fields
Code
Specifies a unique code for the discount template.
Description
Specifies a description of the discount template.
Sequence No. / Discount Level
Determines the order in which discounts assigned to this template are transferred into the sales document.
In Separate Lines per Level mode, this field controls the order of application. This has an effect on discounts with the Calculation Basis = Discounted Value, where the result of a previous discount level becomes the basis for the next.
In Combine Lines in Levels mode, this field defines the discount level. All discount lines sharing the same level are combined, and their combined result is then used as the basis for the next level.
For more information on the two modes, see Trade Setup and Line Discounts.
Calculation Basis
Specifies whether the discount is calculated based on the original line amount or the value already discounted by previous discounts.
Note
This field is only visible when the Discounts - Level Calculation Type in the Trade Setup is set to Separate Lines per Level. In Combine Lines in Levels mode, the calculation basis is fixed and cannot be selected.
| Option | Description |
|---|---|
| Original Value | The discount is calculated based on the original (undiscounted) line amount. |
| Discounted Value | The discount is calculated based on the amount remaining after previous discounts have been applied. |
Discount %
Specifies the discount percentage to be applied. Cannot be set at the same time as Discount Amount per Unit.
Discount Amount per Unit
Specifies a fixed discount amount per unit of measure. Cannot be set at the same time as Discount %.
Discount Qualifier
A code used to identify and categorize this discount in external systems or document output (e.g., document print layouts). If left blank, the system defaults to DI when passing discount data to external integrations.
Actions
Translations
Opens the translations page for the selected discount template. Here, descriptions for different language codes can be maintained. This is useful in multilingual environments where document output must reflect the customer's language.