Create CardPart Page to Display Customer Data in FactBox
A FactBox displays additional information to the user in a pane located on the right of the main page display area.
There are three types of FactBoxes:
For example, on the customer list page you can see four FactBoxes: Customer Sales History - Sell-to Customer, Customer Statistics - Bill-to Customer, Links, and Notes. The first two are page parts based on existing pages. Links and Notes are system parts that are predefined. Other available system parts are Outlook, MyNotes, and Record Links.
FactBoxes can be used with the following page types:
If users do not want to see information displayed in a FactBox, they can collapse the control or hide it. FactBoxes can be hidden or customized to show more or fewer fields, using the customize dialogs.
A FactBox is also a page, so you must first create it in Page Designer, allocate it a source table, and then link it to a page where you want it to appear.
A business user, such as the order processor, can benefit from having additional FactBoxes on a page. For example, when the order processor uses page 22, the Customer list page, it would be useful to see information such as Outstanding Orders when different customers are selected in the list. You can do this by creating a Customer Orders FactBox that only displays specific fields from the Customer table related to outstanding customer orders.
Creating a FactBox to Display Outstanding Customer Orders
To create a FactBox to display outstanding customer orders
In the development environment, on the Tools menu, choose Object Designer.
In Object Designer, choose Page, and then choose the New button. The New Page dialog box appears.
Choose Create page using wizard, and then choose CardPart from the list.
To associate the page with the Customer table, in the Table text box, choose the AssistButton, select table 18, and then choose the OK button.
Choose the OK button to continue the wizard.
On the Card Part Page Wizard dialog box, use the arrow keys to move the following fields from Available Fields list to the Field Order list:
Outstanding Orders (LCY)
Shipped Not Invoiced (LCY)
Choose the Finish button.
The new page appears in Page Designer.
Save the page. On the File menu, choose Save As. The Save As dialog box appears.
Under ID, enter the page ID.
Under Name, enter Customer Orders Fact Box.
Choose the OK button. Your page is saved.
To run your page, in Object Designer, select the page, and then choose the Run button. The Microsoft Dynamics NAV Windows client opens and displays your new FactBox page.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.