I need to add some factboxes to list page with propoerty:
SourceTableTemporary = Yes
I follow this post:
viewtopic.php?f=5&t=20084&hilit=singleinstance&start=15
The problem is there is no possibility to run any factbox function page from list page code.
Form C/AL symbol menu i can`t see any fyunctions from factbox page.
I`ve tried to use SourceTableTemporary on factbox page but with no success.
Is there any other opition to control data on factbox?
Answers
Do you have the primary key of that table in you temporary table, can you then use that table for the factbox ?
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com
This sales lines came from my query and sum quantity values from original sales line (stored in DB) to one temp sales line per Item No. and Sell to Customer No.
That why i create another key for my temp lines (one temp line = many records in DB).
My factbox is based on temporary table also. But when i check how it works in debugger all values form record is empty.
SubPageLink: Document Type=FIELD(Document Type),Document No.=FIELD(Document No.),Line No.=FIELD(Line No.)
In tem sales line rec:
Document Type is always = Quote (default Value)
Document No = (empty value)
Line No = Different for each record, dynamic assined to each temp record.
Form temp sales line i need to transfer Item No. to factbox to see item on hands and some other values.
So there is no relation from my temp sales line to original sales line.
My problem was propably linking FactBox to Record that does not exist i DB.
It works as a charm.
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com