You lent to a customer
Settling creates a normal credit invoice to that customer, priced as you agreed. It appears in their balance, receipts and reports like any sale, and the screen shows the invoice total, including any tax on the products, before you confirm.
You lent to a supplier
The supplier kept goods that were yours, so the amount is taken off what you owe them. It is recorded in their supplier account with the loan number, so their statement shows why the balance changed.
You borrowed and kept the goods
Keeping a supplier's goods works like a purchase: the amount is added to what you owe that supplier. If the trader is one of your customers, the amount goes to their advance balance, ready for their next purchase from you.