Assign money coming in to a transaction

Have a look at this thread where the idea has been discussed:

Not that there is a solution at the moment, but you are not alone! (Incidentally, I would also like this.) The whole spending/targets feature is being completely redesigned and rewritten, so hopefully this issue will be addressed in that.