Account statement as per clients

Is there possibility to fill in the payments as per not only debit or credit lines - but to chain the payment to a client, so that I can see who owes me or whom still have undelivered product for their overpayment…etc.

Your question is too confusing. Can you describe specific transaction in detail you need to know how to record?