Field help (SOHDEP) 

This information determines early discount or late charge rates depending on whether the payment is early or late with respect to the due date. For further information, see the documentation on Discounts.

The discount code is specified on the order. This code is initialized by the bill-to customer code of one of the following records, by order of priority:

Only a discount code consistent with the legislation and company group of the document site can be entered.

SEEREFERTTOThe general principles linked to the multi-legislation setup are detailed here.