Most likely because you have not transferred the payment to a general journal from a bank file or a payment file.
When payments are posted and settled directly in a general journal, Uniconta cannot assume that the cash discount was actually taken.
In this case the user needs to enter the 'Cash discount used' into the general journal themselves.
Read more here.