Field help (GENFRMTYP) 

For payment transaction associated with checks (i.e. those for which the Process zone of the printing code is CHR or CHE), the discount type is forced into Cash receipt (first choice of the local menu).
For payment transactions defined with the entry of Discount type (Cash receipt, discount and so on), the receipt notes are constituted via the grouping of payments that have the same discount type.
In the other cases, indicate the discount type to be assigned to the receipt notes generated.