Wrong Journal Entry in Subcontracting

Dear Experts,

I hope you’re doing well. I’m encountering an issue while executing the subcontracting scenario in ERPNext. When I supply raw materials to the subcontractor, the system posts a journal entry with the raw material (RM) credit and work-in-progress (WIP) debit. However, when I receive the subcontracted goods, the system posts entries to both the debit and credit sides of the expense account, regardless of which expense account I select on the subcontracting receipt.

I’ve reviewed the account mapping, manufacturing settings, BOMs, item master, and warehouse configuration multiple times, but the system keeps posting the same entry.

In my scenario:

  • RM cost = 4 Rs
  • Subcontracting service charges = 5000 Rs

I’ve attached a screenshot for reference. I would be very grateful if you could assist me with this issue.

Looking forward to your kind response.

Best regards,
Ikrama Haryani