Unreimbursed partnership expense

Can you claim as an unreimbursed partnership expense an item that might have otherwise had to be depreciated if the partnership had paid for it?  An example would be a used piece of machinery or lumber for a new fence. So if you spent four thousand dollars on tools or equipment can you claim as a UPE the entire four thousand dollars? If not, how does it work exactly?