Purchase invoices Expense Head changed

Why do I always get this message when I create a purchase invoice?

Row 1: Expense Head changed to 1410 - stock, to merchandise (FIFO) - XK
because account 5111 - Cost of goods sold - XK
is not linked to warehouse main store - XK
or it is not the default inventory account

ERPNext: v14.0.2
Frappe Framework: v14.4.3

1 Like

Are there Perpetual Inventory is Enabled in Company List Doctype ? also have you set default account there?

thanks fot replay
these settings i have

What is the solution for this?

Your settings are correct. Is this a bug ?

i think its a bug

i have the same issue and settings are the same