Apply Credit Card Charges to Project

We purchase some materials and services used on Capital Projects via credit card (NOT PAID VIA AP). I can make a journal entry to the Project Segment but the spending does not get added to the actual material. How can I do this? Thanks!