What the function of Difference Account in Stock Entry List?

image
I searched old topic in this forum about difference account but cannot find any answer.
Anyone can enlighten me how the accounting concept of Difference Account?
Because it make my company profit even before make any transaction.

When I create Material Receipt type, let’s say IDR 4,000,000. Suddenly it is booked under my Difference Account “Stock Adjustment [Credit] → 4,000,000”. When i go to Profit and Loss Statement, suddenly my Total Expenses = -4,000,000 and current profit = IDR 4,000,000.

how it can be possible?