Answer:
The journal entry to record the direct material used in production is given below:
Dr Work-In Process Inventory $40000
Cr Raw Materials Inventory $40000
Explanation:
The work in process inventory is debited since it is the receiving account ,while raw material inventory is credited as it is the giving account.
The work in process depicts raw materials currently being worked upon at the production, from which completed goods are then transferred to finished goods inventory.
The raw materials inventory account is the account where raw materials received from vendors are first of all recorded before the need to issue to production process.
When such materials are received in the warehouse , the raw materials inventory account is debited while the supplier account is appropriately credited to show the amount of indebtedness.