Thank you, KC. jmdavis mentioned "corporation" as it differs from partnership handling of property distributions. I was typing all of this immediately after KC answered and then I had a lengthy interruption:
To answer Lion, partnership taxation is one of the most complex of entities, so I'll answer only in a general sense as it relates to property distributed in non-liquidation as opposed to retirement, death of a partner, etc. If property (other than money) is distributed to a partner from the partnership not in complete liquidation, then the partner's basis is the adjusted basis of the property in the partnership immediately prior to the distribution, but that adjusted basis can NOT exceed the partner's basis.
From the discussion so far you probably have a good idea of areas you'd like to brush up on, so in that regard if you'd like to start a separate topic on partnership taxation or sources of good research materials or CPE on the subject, perhaps you should start a separate topic.
I'd like to get this thread back to the OP's subject and try to keep it on point. Thanks.