Dynamics 365 Business Central: How to add Filter by item attributes to the Item Ledger Entries page

Dynamics 365 Business Central

Hi, Readers.
Today I would like to talk about how to add Filter by item attributes to the Item Ledger Entries page.

Let’s take a look at item attributes feature briefly. When customers inquire about an item, either in correspondence or in an integrated web shop, they may ask or search according to characteristics, such as height and model year. To provide this customer service, you can assign item attribute values of different types to your items, which can then be used when searching for items.
For example, with Item Attributes, you can create item attributes on Item Attributes page.

And create values for item attributes of type Option

Then you can assign item attributes to items.

Finally, you can find Item Attributes in the Factbox of the Item Card and Item List.

You can also filter by item attributes on Item List page.

Test video: Filter by item attributes on the Item List page

Business Central short video: Filter by item attributes on the Item List page

Yesterday, we discussed how to add the Item Attributes FactBox (9110, ListPart) to the Item Ledger Entries page.

Can we also add the “Filter by item attributes” feature to other pages like Item Ledger Entries?

Let’s look at the standard logic: page 31, “Item List” -> action(FilterByAttributes)
There is a standard process here that returns a Filter Text containing the range of all applicable Item Nos., and then performs the filtering.

This can be confirmed in the Item List. For example,

So we need to port the entire logic over to the Item Ledger Entries page. Let’s check out my test results.

Filter By Attributes:

Clear Attributes:

Other procedures:

On the Item Ledger Entries page:

Test:

Done.

Test video:

Great. Give it a try!!!😁

Source code: Github (Please note that the source code is for reference only, you can improve it according to your own needs)

PS:
1. Dynamics 365 Business Central: Show Item Attributes on the page (For Example: On Item List page)

2. Dynamics 365 Business Central: Can we add Item Attributes Factbox (9110, ListPart) to Sales Order (42, Document) page??? Yes, But……
3. Dynamics 365 Business Central: Bulk add/update Item Attributes (Edit the attributes of multiple items at the same time) – Customization

END

Hope this will help.

Thanks for reading.

ZHU

コメント

Copied title and URL