Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

Item Category on Item page

Posted on by 190

Dear Experts

 On Item, we have an option for selecting the item category code. if select on one category code we can't able to see in item page that selected category comes under which parent category.

how can we bring that parent category on item page and item list page

Here in eg: we selected HID SPARES (but it comes under the CIHHIDS) how can we bring this parent CIHHID On list page and item card page of all items

item-cat-cod.jpg

  • LearnBC Profile Picture
    LearnBC 190 on at
    RE: Item Category on Item page

    THankyou Zhu and Fransico...

  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 69,760 Super User 2024 Season 2 on at
    RE: Item Category on Item page

    Hi, This requires customization.

    This requires customization. There is a Parent Category field in this table, so you can display it through FlowField, or other variables.

    pastedimage1666570268959v1.png

    For example,

    pastedimage1666570621195v3.png

    pastedimage1666570615008v2.png

    tableextension 50111 MyExtension extends Item
    {
        fields
        {
            field(50100; "Parent Category"; Code[20])
            {
                Caption = 'Parent Category';
                FieldClass = FlowField;
                CalcFormula = lookup("Item Category"."Parent Category" where(Code = field("Item Category Code")));
            }
        }
    }
    pageextension 50111 MyExtension extends "Item Card"
    {
        layout
        {
            addafter("Item Category Code")
            {
                field("Parent Category"; Rec."Parent Category")
                {
                    ApplicationArea = All;
                }
            }
        }
    }

    Hope this helps.

    Thanks.

    ZHU

  • Francisco Bedolla Profile Picture
    Francisco Bedolla 1,115 on at
    RE: Item Category on Item page

    I forget this image

    pastedimage1666482875421v2.png

  • Verified answer
    Francisco Bedolla Profile Picture
    Francisco Bedolla 1,115 on at
    RE: Item Category on Item page

    pastedimage1666482495772v1.png

    you just need to create a new page type cardpart copying the existing page 5730 into the new one and make some adjustments

    pastedimage1666482655687v2.png

    then you need to extend the item card

    pastedimage1666482701026v3.png

  • Guy McKenzie Profile Picture
    Guy McKenzie 1,330 on at
    RE: Item Category on Item page

    The closest feature you have with standard functionality is item attributes.

    Where you have a hierarchical category structure, create an attribute with the same name for each level of the category hierarchy and assign each attribute to the category.

    When you assign a category that is for example the 3rd level of the hierarchy, the item will pick up the attribute of each level of the category structure. You now have all three levels assigned to the item.

    In the items list, you can now filter items by attribute and filter by any level of the category hierarchy as the item has attributes for every level.

    You can see attributes in the fact box but not directly on the list view without customisation.

    This works seamlessly. The only limitations are if for example you want to use MRP and filter planning by attributes as you can’t do that. But if you just want to manage list views, it solves your problem.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    RE: Item Category on Item page

    For that you will need a customization and i think a good option would be to put information like that in a fact box connected to the item card.

    There is no standard feature that will let you see the whole item category hierarchy on the item card.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,537 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,520 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans