Basic data
Customers
For a more detailed description, see the chapter Suppliers/Customers.
Articles
For a more detailed description, see the chapter Article.
Price lists
To use Price lists, it is necessary to run the Configure price lists function, which is available in the tree menu Sale/Sales order processing / Basic data / Price lists , and to have the Apply new price lists field checked.
At the same time, it is necessary to define the book settings in the Books of price lists function. The function can be run, among other places, from the tree menu Basic data/Books of price lists.
A prerequisite for working in the Price lists book is having the relevant rights set in the User roles book.
Configure price lists
The Configure price lists form is started from the tree menu Sale/Basic data/Price lists/Configure price lists.

Picture: Configure price lists code list

Picture: Configure price lists - Article category
In the field Prices according to date, we select the date according to which prices are filled in on sales documents. The field has the following options:
- Today - prices are filled in according to the current day.
- Issue date of sales order - prices are filled in according to the issue date of the sales order if it is a sales order or a subordinate document, or the issue date of a standalone document.
- Delivery date of sales order - prices are filled in according to the requested date on the sales order.
If the Prices by issue date flag is checked, prices are not taken for the current date; instead, the issue date of the sales order is used if it is a sales order or a subordinate document, or the issue date of a standalone document.
If the Prefer prices from other price list items flag is checked, then if an article is defined in the price list in the Other price list items table and at the same time one or more other definitions of this article exist in the price list, the price from the Other price list items section is filled into the sales case, even if a lower article price would be found in the other definitions.
If the Prices only from price lists matching the combination of customer and price group flag is checked, then for the price from that price list to be applied on a document, the condition must be met both for the customer and for the price group.
If the Use catalog price lists field is checked, then when determining the catalogue price (the Catalogue price on a sales document item, in offers, the price source "catalogue" in the price list definition and in the price recalculation for e-shops), a valid price list with the Catalogue flag is searched for the article. If none is found, the price is searched for according to the original logic.
If the Allow use of price lists across companies field is checked, it is possible to save a price list book without filling in the own company. This is used for price lists shared by all own companies. It is then up to the user to set the other price list conditions so that these price lists are activated only in the required cases (e.g. restriction to a specific currency, sales books, e-shops). At the same time, this option should not be active if articles are divided among own companies and some article cards are available only in some own companies.
Note: This field is intended only for price lists. If promotions or loyalty programmes are created in a book that does not have an own company saved, an error message is displayed when saving these promotions or loyalty programmes, and the promotion and loyalty programme records cannot be saved.
If the Do not recalculate invalidated article cards field is checked, then when price lists are recalculated, the Definition items section is not filled with articles that are set as invalidated, even if such articles are specified in the Definition section.
If the Apply discount from the customer card in sales field is checked, then if the Discount field is set on the customer card, the resulting price in sales and in the e-shop is further reduced by this value. However, if a discount is entered in Define price groups, this discount from Define price groups takes precedence over the discount on the customer card.
If the Suppress dialog when price list definition changes field is checked, then when the definition is changed in the price list, the message Do you want to recalculate the definition items? is not displayed and the definition items are subsequently not recalculated. This parameter is suitable for cases where recalculating definition items would take disproportionately long and it is ensured (for example by the task scheduler) that the definitions are recalculated afterwards.
Note: If this parameter were checked but the definitions were not recalculated, e.g. by a scheduled task, a state may occur where the definitions and the records in the definition items do not correspond to each other!
If the parameter Recalculate price when Cost centre and Contract code change is checked, then when the cost centre or contract code is changed on a sales item or in the document header, the price is recalculated according to the current pricing. However, this recalculation does not take place if the price was entered by the user (see the record User-entered price in the Price calculation flow button on the item) or if it is a sales order document created from an offer (and therefore the price comes from the offer, i.e. the record Price given by offer in the Price calculation flow button). If not checked, the price on the item is never recalculated after a change of the cost centre or contract code.
If the Recalculate price on automatic filling of external batch field is checked, then when the External batch field on a sales item is filled automatically, the selling price is recalculated at the same time.
If the Use catalogue price as of the current date when recalculating price list field is checked, then when recalculating price lists that have "catalogue price" specified as the price source, the current date is used and not the date from which the price list/definition is valid.
By checking the Apply field and entering an abbreviation and description on the Article category tab, these categories become available as a new field on the Article card on the Sale tab in the lower part of the table. In this field, it is possible to define individual records for the given category. At the same time, the category can be selected in the Price calculation definition (tab Definition, upper part) in the price list document.
Price lists can be defined for individual article cards, for individual product groups and for individual product keys; we can create a new price list from already existing price lists, and we can also define our own article categories for price lists. By pressing the
button on the bar of the Price lists tab, we can recalculate price lists only for the given article card.

Picture: Configure price lists - Define price groups
If the Use extended product groups flag is checked, the Define price groups function becomes available in the ribbon of the customer card.
By checking the Search the tree in both directions field, we make it possible to browse the tree structure of the defined fields (see the key fields of the article)
Books of price lists
Price lists can be created in individual books. Books can be set up in the Administration of books function, or you can run the Books of price lists function from the tree menu Basic data/Books of price lists or Sale/Sales order processing / Basic data / Price lists. Price list books are switched with the Alt+F10 key.

Picture: Administration of books Price lists
When a new book is created (with the Ins key), a mandatory abbreviation must be entered.

Picture: Books of price lists
Description of fields:
Abbreviation |
Used to identify the given book. |
Company |
The company of the client. |
Description |
Description of the price list book. |
Language description |
Optional language description of the price list book. Language descriptions can be defined with the Descr. translations button. |
Record access group |
Individual price list books can be accessible only to users who have a specific group right defined. The group right can be assigned with the Group rights button. |
Changed on |
The date and time of the last change are filled in automatically. |
Changed by |
The user is filled in automatically. |
The Descr. translations button can be used to define a language translation of the book description. It is displayed in the Language description field.
The Group rights button can be used to set a group right for the given book. The information is displayed in the Group for right field.

Picture: Books of price lists - Default setting
Description of fields:
Price list priority |
The higher the number, the higher the priority of the price list. If two price lists are found from which a price can be applied, the price list with the lower price is selected by default. However, if a situation should arise where, for example, the price list with the higher price is to apply for some customers, this can be set using the priority. Such a price list is given a higher priority. When a price list is created, the priority field is filled in on the price list document. |
Price list currency |
When a price list is created, the Currency field is filled in with this value. |
If the Set price list as active on confirmation, option is checked, the Active option on the price list document is set upon confirmation.
If the Set price list as inactive on undoing confirmation option is checked, the Active option on the price list document is deactivated when the confirmation is undone.
The period and document numbering are set on the Settings for business years tab.
Price lists
The Price lists module is used to record individual price lists. We switch between books with the Alt+F10 keys. Marked price lists can be recalculated using Bulk actions - Recalculation.
A condition for using a price list document in sales is that the Active field on the Basic data tab must be checked. The field can be checked with the F7 key on the current record.

Picture: Price lists - book (List tab)
Other details are optional and serve for a more detailed specification of the price list. We can set the validity interval of the price list, select specific suppliers or an address key (a defined group of customers) to which the price list should apply, or define price groups.
If the Prices only from price lists with matching combination of customer and price group field is not checked in the price list settings, it is enough for applying the price list that at least one of the conditions for Valid for customers is met. That is, the document contains the customer defined here, or any customer (even other than the one defined here) has the price group selected here. If the Prices only from price lists with matching combination of customer and price group field is checked, the price list is applied only if the document contains the customer defined here and at the same time that customer has the price group selected here defined.
The given price list can be set only for a certain sales book (or books), or only specific cost centres can be selected. Note: The condition for books does not apply to price lists intended for e-shops.
By checking the Direct price entry field, we can set whether entering the price directly from the article card is allowed. A prerequisite for active use of the price list on sales documents (apart from confirming the price list) is checking the Active field (manually or with the F7 key in the case of an already confirmed document).
If the Use catalog price lists field is checked in the price list settings, the Katalogue field can be checked. If it is checked, then when determining the catalogue price, the system first tries to find a valid price list with the catalogue flag for the article on the sales document item. If none is found, the price is searched for according to the original logic.
If the Do not apply additional discounts field is checked, this field will be checked automatically for each additional definition inserted in the definition items. If a definition already exists, a query is displayed asking whether the option should also be transferred to the already existing definitions.
We can add comments for the given price list, or use the header text and footer text tabs.
If several suitable price lists are found when entering an article on a sales document item, the price list with the lower price takes precedence. This can be changed by setting the priority. If a price list is given a higher priority, the price from this price list is applied even if the price in this price list is higher. The priority field is located in the Preview, where, however, it cannot be changed. To change it, the field must be added to the columns. If it is added to the columns and manual editing is checked, the value can be changed manually. By default, it has the value according to the setting of the price list book.

Picture: Price lists - Basic data tab

Picture: List tab - Priority column
Price list items are set on the Definition card. Not only the article card can serve as the source of price list items; product groups, product keys, user-defined categories or an already existing price list can also be used as the source of the price list. The list of articles from this source is displayed for the given source in the second part of the Definition card. User-defined categories appear in the list if these categories have the Apply flag checked in Configure price lists.
If an article is contained repeatedly in different sources, the lowest price is applied to the sales document for the given quantity and unit. If the lowest price should not be applied, a value can be set for such a definition in the Priority field (Note: this field is not on the form by default). By default, the value in the field is 0. The greater the number, the higher the priority.
For each price list source mentioned above, it is possible to set the source of the original price, the validity from-to and, depending on the price source, other additional data (rounding, quantity, unit). As for the validity from-to setting, it must be within the validity interval of the price lists, i.e. within the period set in the price list header.
The second part, Definition items, contains a list of all article cards that belong to the product key, product group, category or price list selected above. If we browse through the items in the Price lists - definition of price calculation part, the list in this part is updated.
Note: If the Definition part contains an article that has been invalidated (either directly as an article card or, for example, via a product key) and the Do not recalculate invalidated article cards field is checked in Configure price lists, this article item will not get into the Definition items part after the price list is recalculated.
The Other price list items part is used for the direct definition of article cards for the given price list whose price should not be derived, for example, from a margin. It is therefore used to enter fixed prices and quantities. If the price list has the Direct price entry flag checked, the price for a price list marked in this way can be entered directly from the Article card. A price entered in this way is displayed in this table.
For bulk editing or changes in price list definitions, the Bulk change in price list script (PriceListBulkChange.PAS) is available, which is described below.

Picture: Definition card
After pressing the Ins key, the Price lists - definition of price calculation form is displayed.

Picture: Price lists - definition form
In the Item source part, the source type can be selected:
- Other price list - After selecting this option, the Price list field is displayed and an already existing price list document can be selected. If the source price list does not contain the article card, the item is not created in this price list; if the price list contains several records with different validity dates and the validity date in the definition is not filled in, all records with their validity dates are transferred. If the validity date in the definition is filled in, the price as at the Valid From date is taken over from the source price list and only one item is created, with the dates set in the definition.
- If the Take over all quantity prices flag is set in the definition, we do not enter the unit or quantity in the definition (after the flag is checked, the fields become inaccessible and cannot be edited); all prices for the different quantities and units are then taken over from the price source. If it is not set, it is necessary to choose in the definition which unit and quantity we want to create. If the price source contains a price for the entered unit, this price enters the calculation. If the price source contains a price for the basic unit of the article card, this price enters the calculation, multiplied by the basic/entered unit ratio.

Picture: Form with the Other price list option
- Article card - After selecting this option, the Article field is displayed and an article card can be selected.

Picture: Form with the Article card option
- Product group - After selecting this option, the Product group field is displayed and a product group can be selected.

Picture: Form with the Product group option
- Product key - After selecting this option, the Product key field is displayed and a product key can be selected.

Picture: Form with the Product key option
If a category is defined in Configure price lists and has the Use flag checked, these categories are also displayed as additional options for selection.
In the Original price source part, the following options can be selected:
- Supplier price - After selecting this option, the supplier price defined in the supplier prices (the Purchase tab on the article card) is taken as the initial price. The supplier prices must contain a record with the supplier that is set in the Optimal supplier field. Records of other suppliers are not taken into account. If no record is found in the supplier prices for the optimal supplier, the price 0 is filled in the price list with this setting.

Picture: Supplier price of the optimal supplier
- Other price list - After selecting this option, the Price list field is displayed and an already existing price list document can be selected. At the same time, the Price rounding part becomes accessible, where you can define how the amounts are rounded. The Take over all quantity prices field also becomes accessible. If it is checked and different prices for different quantities are defined for the same article in the original price list, all records according to the original price list are taken over in the new price list and at the same time the Quantity and Unit fields in the Quantity dependency part become inaccessible. If it is not checked, only one record with the lowest price is created in the definition items of the new price list. When we define a price list in a foreign currency, the exchange rate value according to which the prices are calculated can be defined in the Exch. rate field. This exchange rate is not an exchange rate from the exchange rate list and has no link to the exchange rate list. The field is accessible if the currency of the price list differs from the currency of the source price list. If the value remains zero, the prices are recalculated according to the current exchange rate.
- Catalogue price - After selecting this option, the catalogue (basic, selling) price is taken as the initial price. This field (Selling price) is available in the new user interface in the Article book on the Sale card.
- Margin - After selecting this option, the Margin field is displayed and the margin from which the prices in the price list will be derived can be selected. At the same time, the Price rounding part becomes accessible.
- Not entered - The price will be derived from the values entered in the Quantity dependency and Price parts.
In the Dependency on quantity part, you can define for which quantity and for which unit of measure the defined price should apply. If the Apply price list item only when selling in the entered unit flag is checked, the price is applied only if the unit of measure from the Unit field is selected on the document. If the Only for a multiple of the quantity field is checked, the price list is applied only if the document item has the quantity (or a multiple of the quantity) specified in the Quantity field.
Example: The Quantity field contains 15. If the Only for a multiple of the quantity field is checked, the price is applied to the document if the quantity on the item is 15, 30 or another multiple of 15. For other values (e.g. 1 to 14, 16 to 29, 31....) this price list is not applied.
Tip: This can be intended for cases where we allow a customer a lower price if they buy a quantity of articles that does not need to be unpacked in any way.
In the Price calculation part, we can set a discount or a surcharge. By checking the Discount field, we define a discount. If we check the Surcharge field, we define a surcharge. By checking the Assigned in % field, we define whether the discount/surcharge is a percentage or an absolute amount. If the Surcharge field is checked, the Cost-based calculation (from costs) and Margin-based calculation (from price) fields also become accessible; they determine from what the surcharge percentage is calculated.

Picture: Entering a surcharge
In the Price rounding part, we set the method of rounding the amount.
A validity from-to can be defined for each definition item. This interval cannot extend beyond the interval entered in the price list header.
If the Do not apply additional discounts field is checked, the discount fields will not be accessible on a sales item from this price list, and the discount from the customer will not be applied either (if it were set).
Displays a list of definition items from the Price lists - definition of price calculation part. If you browse through the items in the Price lists - definition of price calculation part, the items of this definition are displayed in the Definition items part.

Picture: Definition item
To enter fixed prices and quantities of article cards, the last part, Other definition items, can be used. With the Ins key, we open the Price list item form. We select an article card and, if necessary, enter the quantity, unit, and net and gross prices. The validity fields of the price list can be filled in for the items. If we want to apply the price only to a specific unit of measure, we check the Apply price list item only when selling in the entered unit flag; in that case the discount is applied only if the unit of measure selected here is on the sales document.
If the price should apply only to a specific external batch, the External batch field can be filled in. If this external batch is entered on the sales item, exactly this price is applied (provided the other conditions of the price list are met).
The Other price list items part is used for the direct definition of article cards for the given price list whose price should not be derived, for example, from a margin. It is therefore used to enter fixed prices and quantities.

Picture: Price list item
The Summary card displays a list of articles from the price list in its upper part. If one article card is in the price list several times, the record with the lowest price is displayed in the summary.
The lower part then displays a list of all customers to which the given price list applies. If no conditions for customers or price groups are defined on the Basic data card (the price list applies to everyone), the list of all customers is not displayed on the Summary card.

Picture: Summary card
The card displays an overview of sales items to which the price from the given price list has been applied.

Picture: Sale Items card
Card where documents and attachments can be linked
As already shown in the previous chapters on the definition of prices in price lists, the margin can be one of the data items that can serve as a source for calculating selling prices.
The selling price can be determined as the sum of the acquisition costs and a surcharge. The surcharge can be entered either as an absolute amount or as a percentage of the acquisition costs. In addition to the term surcharge, the margin is defined, which is given as the difference between the selling price and the acquisition costs, or as the ratio between the selling price and the acquisition costs of the article.
Note: IS K2 does not work with the term surcharge; instead, a cost-based or margin-based calculation of the margin is used. Therefore, we will also use the term margin in the following explanation.
The margin can be entered either as an absolute amount or as a percentage. A new margin is entered into the code list as standard with the Ins or F6 key.

Picture: Margin code list
On the Basic data tab, we define the Abbreviation, Description, the amount of the margin, whether the margin is a percentage or an absolute amount, and also from which price the margin is to be derived.

Picture: Margin code list - Basic data
The Initial price is the basic price from which the calculation of the selling price is derived. The menu offers the acquisition price, net purchase price, supplier price (from the optimal supplier), moving average price, last price, selling price, stock price or actual price.
In the Suppl./Cust. database, customers are divided into different price levels according to so-called price groups. This makes it possible to assign different discounts or surcharges to members of different price groups.
A new price group is inserted as standard with the Ins or F6 key.

Picture: Price groups code list

Picture: Price groups - Basic data
To enter the optimal number of a price group, we must consider whether these groups are sorted and we work with their gradation, or whether we create them randomly. This affects the use of the client parameter Unsorted price groups. This parameter affects the procedure for filling in the selling price in cases where no price is defined directly for the selected price group.
Example: We have the article Phone, and a price is defined for it only for the groups M1 and M2 (see the picture above: Price groups code list). We want to sell the Phone to a customer who, however, has the group C1. If we switch on the client parameter Unsorted price groups, then if no price is found for C1, the basic price - i.e. the catalogue price - is filled in automatically. If we switch this parameter off, the price with the nearest lower number is filled in, i.e. the price of group M1.
Product groups divide the Article database into groups that we treat identically in terms of pricing. Product groups can be one of the types for price list items.

Picture: Selection table of Product groups
A product group is inserted into the selection table with the Ins or F6 key. A product group cannot be deleted from the selection table.

Picture: Product groups - Basic data
With the product group items, which we enter on the Basic data tab with the Ins key, we determine discounts for price groups or specific customers.

Picture: Product group item form
Descriptions of the individual fields of the Product group item form are given in the IS K2 Basic Manual.
To delete an item from a product group, we use the Del key in Change mode.
The recalculation can be run over one price list (the Recalculation button in the user menu) or for several marked price lists. Several price lists are recalculated at once using the Recalculation bulk action.
After start, a window with two options is displayed:
Recalculate all subordinate price lists and Recalculate all superior price lists. If checked, the price lists are automatically found and correctly sorted, and all subordinate/superior price lists are subsequently recalculated.

Picture: Dialog for recalculating price lists
If the user selects the Recalculate according to article container option (the Menu/Recalculate according to article container option), prices are recalculated only for articles that are in the container in the Article module.
The function can be run with the F7 key on the current record. The function checks/unchecks the Active field on the Basic data tab. A prerequisite is having the Price lists confirmation user right (for setting) and the Undo the confirmation of price lists user right (for removing the flag)..
A function that serves to simplify the creation of new price lists when repricing.
For the marked price list record, it creates a copy of the current price list and all subordinate price lists derived from it, with the options to end the validity of the existing price lists and to set the validity of the new ones from a specified date. In the form displayed when the function is run, you can set that only active price lists are to be copied, or that the price lists are to be copied to another price list book; the lower part shows the tree of subordinate price lists.

Picture: Price lists copy form
Price lists can also be recalculated by means of the Task scheduler. In the Batch items part of the scheduled tasks, after pressing the Ins key, the Price list recalculation option is available in the Other/Recalculation folder.

Picture: Inserting Price list recalculation into the scheduler

Picture: Task scheduler - Price list recalculation
Price list recalculation can be set in three ways:
- Recalculate all price lists - If checked, all price lists are recalculated
- Recalculate specific price list - with this option, after selecting a specific price list, you can further specify whether superior or subordinate price lists should also be recalculated. Other price lists are not affected by the recalculation.
- Recalculate specific articles - Articles are selected from the book. The given articles are then recalculated in the price lists in which they are contained. Note: The date and time of the recalculation are not reflected in the Recalculated by field in the Preview of the price list document.
In the Own company field, we can define the own company for which the recalculation is to be run. If the field is empty, the recalculation is run for all own companies to which the user running the recalculation via the task scheduler has rights.
Process number: CIS008a |
Script ID number: FZAK047 |
File: PriceListExport.pas |
Script description: The script exports price list items (the Definition items part). The user selects the file type and enters a name. Information about the number, article abbreviation, unit of measure, quantity and prices is exported. Optionally, fields for the article description, its EAN, selling price, abbreviation 2 or its language name can also be checked. |
||
Address in the tree: |
||
Script parameters:
No parameters. |
Process number: CIS008a |
Script ID number: FZAK046 |
File: PriceListImport.pas |
Script description: The script imports price list items in xls or xml format. The records from the file are imported as items into the Other price list items part (the Price lists module). When importing from Excel, the user maps the columns in the form displayed after the function is run. The user chooses whether to import by article number, abbreviation 1, abbreviation 2 or EAN, and whether to import the net price or the gross price. The flags Apply price list item only when selling in the entered unit, Only for a multiple of the quantity and Do not apply additional discounts can be set, and Valid from-to can also be set.
The mapped fields can be saved using the Save settings button.
When importing from an xml file, the information is not mapped.
If the Price list confirmation after import field is checked, the price list is confirmed automatically.
If the imported Excel file does not have column names in the first row, but the first row already contains imported data, the First row does not contain column names field must be checked.
If an already existing combination of article, quantity and unit of measure is found in the price list items, checking the Overwrite price for combination of article, quantity, unit field overwrites the original values.
When a master card is imported into a price list and the Import all master card variants field is checked, all its variants are imported at the same time.
During mapping, it is necessary to check whether any column is incorrectly set for multiple data items. In such a case, the import does not take place. |
||
Address in the tree: |
||
Script parameters:
RewriteItems - No Yes - allows items to be overwritten if the combination of article, unit of measure and quantity is already found in the price list. No - imports only items that do not yet exist in the price list for the given article, unit of measure and quantity. |
ConfirmPriceList - No Yes - confirms the price list after the import. |
ImportMasterCardVariants - No Yes - If the article is of the master card type, all variants are imported. |
FirstRowIsData - No Yes - The imported Excel file does not contain column names. |

Picture: Form after running the Price list import script with mapped columns (see the Excel picture below)

Picture: Sample Excel file (without column names)

Picture: Sample Excel file with column names
Process number: CIS008a |
Script ID number: FZAK052 |
File: DeactivationOfPriceLists.pas |
Script description: The script can only be run over the Price lists book. The script goes through the price lists and, if it finds a price list whose validity has ended, it unchecks the Active and Direct price entry fields. |
||
Address in the tree: |
||
Script parameters:
no parameters |
Process number: CIS008a |
Script ID number: FZAK052 |
File: PriceListBulkChange.PAS |
Script description: The script can only be run over the Price lists book. For the marked price list documents, or those in the container or in the filter, a form is opened with a list of available actions in the ribbon.
Pressing the functions in the ribbon displays the corresponding form for each action, and after entering the conditions and values, a record is created in the Action table. The Action table can contain several records with combinations of different or identical actions. For the Change discount and Definition deletion actions, it is possible to load the current definition from the price list. If the cursor is on a price list record in the Definition part, this record is preset for the subsequent Change discount or Definition deletion action after pressing the Load current definition button. The Definition deletion action has two buttons: one for loading the Item source, the other for loading the Price source.
If it is an action in which conditions are entered (e.g. Change discount, Definition deletion) and this condition is found in the changed price lists, then after pressing the Change price lists button, the price lists are changed according to the required values. The script gradually processes all rows. The list of changed, added or deleted records is displayed in the form log named List of changes made. If a condition is entered that is not found in the changed price lists, the corresponding information is displayed in the List of changes made form. |
||
Address in the tree: |
||
Script parameters:
no parameters |
After the script is run, an empty form is displayed with a menu of the actions offered by the script (top bar/ribbon).

Picture: Form after running the script
The following actions are available in the menu:
Change discount
After pressing the Change discount function, the Change of discount in definition. form is displayed. In the form, the user sets a condition; when it is met/found in the price lists marked for the bulk change, the new discount set in the New value part is applied.
The Load current definition button is used to quickly fill in the form according to the selected definition. The button is active only if the script is run over one of the changed price lists on the Definition tab. After pressing the button, the form values are filled in according to the definition on which the cursor is positioned.
Example: There are several price lists with the product key Chocolates with a 12% discount.

Picture: Price list with the product key Chocolates with a 12% discount.
For these price lists, we need to change this discount to 10% in bulk. We mark the relevant price lists and run the script. After pressing the Change discount action, we set the conditions Product key and 12% and the new discount of 10%, or we press the Load current definition button.

Picture: Definition of conditions and the new discount
After pressing the OK button, a new record is inserted in the Action part. After pressing the Change price lists button, the discount for the product key Chocolates is changed to the required value of 10% in the changed price lists, and a log is displayed in the List of changes made form with a recapitulation of the changes made.

Picture: List of changes made form

Picture: Price list with the changed discount
Adding definition
After pressing the Adding definition action, the same form is displayed as when pressing the Ins key in a price list record in the Price lists module in the upper table on the Definition tab. By setting the values in this form and then running the script with the Change price lists button, the definition is added to all price lists over which the action is performed.

Picture: Adding definition
Definition deletion
After pressing the Definition deletion action, a form is displayed with a selection of conditions for deleting the definition. The form is divided into the Item source and Price source conditions. If both conditions are checked and entered, the definition that meets both conditions is deleted. It is also possible to set only one condition, i.e. either only the condition for Item source or only for Price source.
The Load current definition button for both conditions is used to quickly fill in the form according to the selected definition. The button is active only if the script is run over one of the changed price lists on the Definition tab. After pressing the button, the form values are filled in according to the selected definition on which the cursor is positioned.

Picture: Form of the Definition deletion action
Example: If the conditions for deleting the definition are set as in the picture, all definitions with the product group Beverages that at the same time have the value Catalogue price set in the Price source field are deleted.
Changing the price list
After pressing the Changing the price list action, a form is displayed in which the original price list to be replaced by a new price list is defined.

Picture: Changing the price list form
New item
This action gradually adds article cards to the price list records, into the Other price list items part on the Definition tab. After pressing the action, a form is displayed for adding another price list item, with the option to select an article and to set other information such as the price, discount, quantity, validity from-to and more.

Picture: Form for inserting an item into the Other price list items part
Item deletion
After running the Item deletion action, a list of articles is displayed. If the user marks article cards with an asterisk, then after confirming the execution of the action, these article cards will be deleted from the price lists if they are found in the price lists in the Other price list items part on the Definition tab.

Picture: List of articles in the price list in the Other price list items part

Picture: Selection of articles for deletion (marked with an asterisk)

Picture: Marked article cards intended for deletion
Change VAT rate
The action is intended for cases where the VAT rate changes on article cards and at the same time the article cards are added to the price list in the Other price list items part, or Original price source = Not entered is entered in the price list definition. If an article is entered in the price list in this way, neither the VAT rate change nor the price list recalculation changes this rate automatically. The change must be made precisely with this action.
Note: For other ways of entering items into the price list, this action is not needed, and the subsequent price list recalculation ensures the currently valid VAT rate.
Example Article A has a rate of 15%. If the article is defined in the Definition and the Original price source is Not entered, and the valid rate at the time the price list is created is 15%, the net and gross prices are calculated according to this rate.

Picture: Definition of the article price via Original price source = Not entered
If the VAT rate changes on the Article A card, the price list recalculation in this case (i.e. Original price source = Not entered) does not recalculate the rate, and it is necessary to run the Change VAT rate action. After it is run over this price list, the article rate is recalculated.

Picture: Rate change after performing the Change VAT rate action
The procedure is similar if the article is inserted into the price list in the Other price list items part. In this case too, the Change VAT rate action must be run so that the VAT rate is updated according to the article card.

Picture: Definition of an article in the Other price list items part
Only after running the Change VAT rate action is the VAT rate recalculated.

Picture: Result after running the Change VAT rate action
Extended product groups
The function makes it possible to set a price group and a discount (or surcharge) for a customer according to a combination of up to two arbitrary article fields, not only according to one product group. The fields can be tree code lists, so it is enough to enter the definition at a higher level and the subordinate levels take it over.
The definition is entered in the tree directly from the supplier/customer card. For individual articles, a discount can additionally be created in the customer's price list. The result is applied when determining the price on sales items, in offers, in the e-shop and in the functions for determining the price of an article.
The function is switched on in the price list settings on the Define price groups tab.
A field linked to a code list is set as the key field. If the code list is a tree, the tree also displays its parent nodes and the definition is inherited from top to bottom.
Working with Define price groups requires the Define price groups user right and the right to Change supplier/customer.

Picture: Define price groups - settings
Description of form fields:
Use extended product groups - Switches on the function for extended product groups. The definition of price groups for the supplier/customer is then recorded according to the key fields instead of the product group.
Search the tree in both directions - Makes the reversed tree (first the 2nd field, below it the 1st field) and the Change of tree orientation action available.
Book of price lists of price groups - The book in which the price list of the selected price group is searched for as the price source for the article discount.
Book of price lists for specific article - The book in which the discount entered at the level of an individual article is saved. Without it, nothing can be changed on the article rows.
1st key field from article
Article module field - The article field according to which the first (parent) level of the tree is created. It takes precedence when searching for the price.
2nd key field from article
Article module field - An optional second field that forms the second level of the tree.
On the supplier/customer card (in Change mode), the Define price groups action can be run from the ribbon.

Picture: Extended definition of price groups
1. In the left part, select a tree node. The root is the customer abbreviation, below it are the values of the 1st key field, and below them the values of the 2nd field. The left part then contains the articles. The tree contains only combinations that actually occur for the articles.
2. To quickly find a node, type text into the Search... field below the tree.
3. The right part of the Prices of extended product groups table displays the subordinate items of the selected node. For each of them, you can enter (by manual editing) the Price group and Discount %, or Surcharge %.
? A value that you do not enter is taken over from the parent node.
? Bulk change can be used for several (marked) rows at once.

Picture: Bulk change
4. Save continuously with the Save button (the dialog remains open). Finish the work with the Save and close button.
Changes to the nodes are saved as records of the supplier/customer price group definition.

Picture: Saved node record in the definition of price groups
Price search and limitations
When determining the price, K2 searches for the customer definition from the most specific combination to the more general one and uses the first one found. A discount entered for a specific article is applied by the customer's price list, i.e. by the standard determination of the price from price lists.
Price list data in the Customers book and sales documents
On the Customers card, there is a Define price groups button which, in the Change state, allows you to set for the selected product group a price group different from the one in the Price group field, thus ensuring that for articles from the product group, the price is obtained according to the price group defined here, which takes precedence over the price group defined in the Price group field. After pressing the button, the Price groups for customer form is displayed. Pressing the Ins key displays a list of product groups. We confirm the selection with the Enter key and a list of price groups is displayed. Again, we confirm the selection of the price group with the Enter key. A record with the product and price group is added to the definition of price groups. With row editing, we can also set a discount for this combination. The discount is reflected as a new record in the Price calculation progress on the sales item at entry of the sales business case.

Picture: Define price groups form

Picture: Discount entered in the definition of price groups
In the Customers code list on the Sale card and in sales documents on the Items card, there are the Price list and Special Offer fields.
Price list - if the Price list field is entered in sales documents, the prices on sales documents will be taken primarily from this price list (regardless of the criteria); otherwise the selling price from the article is filled in (the Selling price field in the Article code list on the Sale card). If this field is entered in Customers, it is enough to have the sales document issued for the given customer, and the prices on the items will be filled in from the price list selected in the Price list field in Customers.
If catalogue price lists are switched on (see the Use catalog price lists field in Configure price lists) and a catalogue price list is selected in the Price list field in sales documents, then in the case of
Special Offer - If a special offer is entered, only price lists that have this offer assigned will be taken into account.

Picture: The Price list and Price offer fields on the Sale card in Customers

Picture: The Price list and Price offer fields on the Items card
Article - Price lists
The list of price lists in which the article card is included is available on the Sale tab and the Price lists sub-tab. By default, all price lists are displayed. If it is desirable to see only active price lists, this can be achieved by clicking the Show active price lists only icon. Price lists that do not have the Active, flag set are not displayed in that case.
If the article is on an already cancelled price list, these price lists do not appear in this list by default. If the Display inactive records user right is checked, these cancelled records are also displayed
If the price list has the Direct price entry flag checked, the price can be entered into the selected price list directly on the article card. On the Sale tab, in the lower table Price lists - direct entry, the price and quantity for the selected price list can be set by manual editing in the Net, Gross or Quantity columns. A record with the price and quantity is inserted into the Other price list items part of the selected price list. If the edited price list has subordinate price lists, a query is displayed asking whether the subordinate price lists should also be recalculated.

Picture: Article card - Price lists tab
Article - Parametric fields for selling prices
In the Article book, among other parametric fields, there are also parametric calculated fields that display prices from price lists. The principle of these fields is that after adding them to the columns, the selected price list is set as the parameter (see the Price list field). The field then returns the price of the article from the given price list. They are primarily used to compare prices in different price lists.

Picture: Setting the parameter in the parametric field SalePriceGrossPlPARAMCalc
In the next picture, two columns with the SalePriceGrossPlPARAMCalc field are added to the Article code list to compare prices from two price lists. The document number of the price list is part of the column name in the header.

Picture: Comparison of prices from two price lists using parametric fields
Description of selected parametric fields:
SalePriceGrossPlPARAMCalc, SalePriceNetPlPARAMCalc - The parameter of these fields is a price list document. The column with this field then displays the gross or net selling price according to the selected price list.
PriceGroupSalesPriceGrossPARAMCalc, PriceGroupSalesPriceNetPARAMCalc - The parameter of these fields is a price group. The column with this field then displays the gross or net selling price according to the selected price group.
Unit prices
In connection with the decree that lays down the list of types of packaged non-food products which are newly subject to the obligation to be labelled with a unit price when sold to consumers, IS K2 provides basic support for such price labelling.
On the article card, in the Stock units part, you can select from the existing units or define another stock unit that will serve to display unit prices. For such a stock unit, we check the For unit price field. Within the stock units of an article card, at most one such stock unit can be checked. If we do not want this stock unit, intended only for displaying unit prices, to be offered in purchase and sales documents and to pass through stock records, the Do not add on documents field can be checked.
This setting can then be taken into account in special reports for displaying, for example, price tags. As for standard reports, this setting is taken into account in the Pricelist_01.AM report.

Picture: Unit prices in the price list report