web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Adding Item Attribute FactBox part page to Purchase Order Line page

(0) ShareShare
ReportReport
Posted on by 3,297

Hi All

I have added factbox parts to card pages like items. However, when I  try to add  "Item Attributes Factbox" part page to Purchase Order Line subfrom it gives the error:

A Part type page cannot contain other parts
Does this mean we cannot add the standard fact boxes like item attributes to document lines?
For this example I've tried to copy the item list page logic to show attributes, where a part is added as below:
            part(ItemAttributesFactBox; "Item Attributes Factbox")
            {
                ApplicationArea = Basic, Suite;
            }
I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    dynamicsuser.net/.../developers

    I will open this up to the community in case they have something to add.

    Thanks.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,165 Moderator on at

    You have to add the fact box to the Purchase order page and not to the sub page showing the line.

    And to let the fact box know where it should get it's data from you need to add:

        Provider = PurchaseLines;   (Or the correct naming of  your line variable).

    That connects the factbox in the head to the records on your sub page.

    This is how it is done in the standard Page 50 for Purchase orders:

    part(Control3; "Purchase Line FactBox")

               {

                   ApplicationArea = Suite;

                   Provider = PurchLines;

                   SubPageLink = "Document Type" = FIELD("Document Type"),

                                 "Document No." = FIELD("Document No."),

                                 "Line No." = FIELD("Line No.");

               }

  • Verified answer
    YUN ZHU Profile Picture
    99,090 Super User 2026 Season 1 on at

    Hi, Hope this information can give you some inspiration.

    In ms docs: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-designing-parts

    pastedimage1643949909062v1.png

    Thanks.

    ZHU

  • Samantha73 Profile Picture
    3,297 on at

    Thanks Guys

    Attributes are not the easiest but using Igne's suggestion added a factbox and with a bit of trial and error nearly there:

    so-line-attributes.jpg

  • M Saravanan Profile Picture
    254 on at

    Hi,

    Can you please elobrate on the process through which you added the attribute in the Sales order Page..? Please provide me an appropriate solution.

    Thanks and Regards,

    Saravanan

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,993 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,116 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans