Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
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 73,647 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,748 Super User 2024 Season 1 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans