Factbox with parametric page
Belias
Member Posts: 2,998
Hi everyone, i want to ask you if you already implemented something like this:
Example:
i have a sales document line and an action related to it (it's an action of the subform, like item tracking lines, for example)
This action is doing something like
My question is simple: how can i have the same behavior of the page, but having it shown in a factbox?Or better, how can i call all the functions before the run of the page? (i know ProviderID, my question is about the running of those preprocessing functions)
Obviously, the factbox updates every time i change the focus on the sales line.
Thanks in advance
Example:
i have a sales document line and an action related to it (it's an action of the subform, like item tracking lines, for example)
This action is doing something like
MyPage.SETTABLEVIEW(mytable); ... MyPage.Getparameter(1,2,3,4,5); MyPage.Seteditable(true) ... MyPage.RUN(/RUNMODAL);This is a common way to pass parameters/special filters to a form.
My question is simple: how can i have the same behavior of the page, but having it shown in a factbox?Or better, how can i call all the functions before the run of the page? (i know ProviderID, my question is about the running of those preprocessing functions)
Obviously, the factbox updates every time i change the focus on the sales line.
Thanks in advance
0
Comments
-
no-one?then, i guess it's not possible...too bad

it would be perfect to declare the sourcetable of the factbox, but :whistle: there's no such property...thanks anyway to the readers of this topic0 -
Ciao Belias,
I'm not sure I understood exacly what you are trying to do, but anyway you can call Factbox page function from the main page in this way:
CurrPage.FactboxPartName.FORM.Factboxpagefunction(parameter1, parameter2...);
<Control1900000002> <Control1900000002> Container ContentArea
<Control1000000002> <Control1000000002> Group Group
Field1 Field Field1Name
........
........
<Control1000000032> <Control1000000032> Container FactBoxArea
FactboxPartName <FactboxPartName> Part0 -
I'm trying to do a similar thing. I have added a factbox on teh sales order and purchase order pages. The factbox is based on a temporary table that can be fed from either the sales line our purchase line tables.
I understand that you can call the factbox function from the main page, however my factbox needs to get re-calculated each time a new document line is selected. Where would the call to the factbox function go on the main page? Is the main page aware somehow of when the selected document line changes?0 -
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 322 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
