Accounting Dimension - Does not display correct name

Folks,

In Accounting Dimension, some selected filters do not show the correct name for the options, this is for new and existing ones. Here’s an example of Purchase Invoice Item, where you can’t identify which item that code is part of.

Could you help?

Could you attach the screenshot of the customisations done while creating the Accounting dimension Purchase Invoice Item , also is it a custom doctype?

For a custom doctype, you can create auto name as following for proper labelling of the Purchase invoice item: