Introduction
In the so-called multi-level sales channel, one or more sales intermediaries, e.g. wholesalers or agencies, are involved between the supplier and the recipient of the quote. You can also map these dependencies, which also affect quotation costing, in appero quote.
Settings
To make multi-level sales available in the quote, you must first enable it in the Admin Settings > Accounts via the additionalaccounts parameter.
![](https://factory42.atlassian.net/wiki/download/attachments/3340146051/Screenshot%20(550).png?version=1&modificationDate=1641547281831&cacheVersion=1&api=v2)
The labels for the designation of Accounts 2 to 4 are defined by the parameters account2, account3 and account4.
Use in appero quote Lightning Editor
As a user in Lightning Editor, you can manage the additional accounts and contacts in the Base Data section:
![](https://factory42.atlassian.net/wiki/download/attachments/3340146051/Screenshot%20(551).png?version=1&modificationDate=1641547417278&cacheVersion=1&api=v2)
The input mask is located in the section "Additional accounts". If you have not already done so in the Opportunity, you can select and enter the additional accounts for the quote at this point.
![](https://factory42.atlassian.net/wiki/download/attachments/3340146051/Screenshot%20(552).png?version=1&modificationDate=1641547614085&cacheVersion=1&api=v2)
However, the default values from the Opportunity - Opportunity Account and Contact - are only displayed in the lower part of the modal and are not editable at this point.
Using the radio button above the account selection, you can define the primary account of the quote.
![](https://factory42.atlassian.net/wiki/download/thumbnails/3340146051/Screenshot%20(553).png?version=1&modificationDate=1641547682996&cacheVersion=1&api=v2&width=566&height=63)
The primary account can be different from the Opportunity Account, on the quote record it will be shown in the (primary) "Account "SF42_PrimaryAccount__c" field. In addition, the value 1 to 4 - representing Opportunity Account, account2, account3 or account4 - is written in the field "Active Account" SF42_QuoActiveAccount__c:
![](https://factory42.atlassian.net/wiki/download/attachments/3340146051/Screenshot%20(554).png?version=1&modificationDate=1641548099039&cacheVersion=1&api=v2)
Multi-level Sales and Discount Matrix
Multi-level sales naturally also allows you to perform complex discount calculations, for example, by mapping reseller discounts or agency commissions. This is done in appero quote via different discount types and the so-called discount matrix.
![](https://factory42.atlassian.net/wiki/download/thumbnails/3340146051/Screenshot%20(555).png?version=1&modificationDate=1641548626104&cacheVersion=1&api=v2&width=680&height=347)
For more details, see the section Discount Rules - Discount Matrix.
You can also assign item-level discounts for the additional accounts:
![](https://factory42.atlassian.net/wiki/download/attachments/3340146051/Screenshot%20(556).png?version=1&modificationDate=1641548936694&cacheVersion=1&api=v2)
For more details, see the section Discounts at Item Level.
Admin Settings - Accounts
Mergefields
Discount Rules - Discount Matrix
Discounts at Item Level