Supplier discount codes (AP204000)

You can use this window to add, edit, view, and delete supplier discount codes defined in your company.
This topic provides information about the elements in this window in Visma Net, such as fields, field values, buttons, and check boxes.

Introduction

You can use this window to add, edit, view, and delete supplier discount codes defined in your company. To complete the configuration of supplier discounts, specify discount series for each discount code in the Supplier discounts (AP205000) window.

This window is available only if the Customer and supplier discounts functionality is enabled in the Enable/disable functionalities (CS100000) window.

What to do from this window

The top part

In the top part, you can select a supplier whose discounts you want to configure.

ElementDescription
SupplierThe supplier associated with the discount codes displayed in the window.

The Discount codes tab

This table lists all the discount codes defined in the system for supplier discounts and you can use them to create new discount code series.

ColumnDescription
Discount codeThe unique code for the supplier discount. Max. 10 characters, both numbers and letters.
DescriptionA brief description of the supplier discount. Max. 50 characters, both numbers and letters.
Discount type

The type of the supplier discount, which can be one of the following options:

Line
The discount applies to a document line.
Group
The discount applies to multiple lines in the same document.
Document
The discount applies to the document amount.
Applicable to

The entity to which the discount may be applied. For a Line or Group discount, you can select one of the following options:

Item
The discount is applied if the document includes specific items.
Item price class
The discount is applied if the document includes items from a specific item price class.
Location
The discount is applied if the document is associated with specific supplier location.
Item and location
The discount is applied if the document includes specific items purchased from specific supplier location.
Unconditional
The discount is applied to all documents unconditionally.

For a document-level discount, only one option is available:

Unconditional
The discount is applied to all documents unconditionally.
ManualWhen this check box is selected, this supplier discount is excluded from automatic searches for the best available discount. You can, however, add manual discounts to a document line or to a document.
Exclude from discountable amountWhen this check box is selected, the line amount is excluded from the amount that is the base for any applicable Group or Document discount. This option is available for only line-level discounts.
Skip document discountsA check box that indicates (if selected) that after this supplier discount has been applied, no other applicable discounts should be applied. This option is available to only Group discounts.
Auto numberingWhen this check box is selected, automatic numbering is used for generating IDs for series based on this discount code. By default, the discount code will be used as a prefix for generating series IDs, but in the Last number column you can instead specify a string to be used as a template for automatic numbering.
Last number

The last series ID used for a series, if series IDs are auto-numbered.

If you enter a string here before any series is created, the string will be used as a template for automatic numbering. The string may contain up to 10 characters with numbers at the end. The last letter used divides the string into a prefix and the integer to be auto-incremented.

If no value is specified, the discount code will be used as a prefix.

The Calculation tab

This tab provides settings that are used for all discounts of this supplier.

ElementDescription
Apply line discount to

The way the line discount will be applied. Select one of the following options:

Extended cost
The discount will be applied to the line amount (that is, to the item’s extended cost).
Unit cost
The discount will be applied to the item’s unit cost.
Last modified February 19, 2026