Asset creation where there is a discount cause a balance on Capital Work In Progress

Hi All,

I have a customer who is using ERPNEXT v14.22.2 with multi currency setup.

When entering a Purchase-Invoice for several asset items where each line item has a cost specific to each item they had to enter a “discount” amount on the entire invoice to match some government paperwork.
This caused the “Capital Work In Progress” account on GL to have a balance same as the discount.
In other words Assets are valued at a rate more than what was paid for them.
Customer tried to fix this by making a journal entry against the “Capital Work In Progress” account BUT ERPNEXT gave a message that “Capital Work In Progress account cannot be updated by Journal Entry”

I am at the limits of my knowledge on this so do any of you have any idea how to fix this?

Thanks in advance