I have a factbox that is based on a temporary table. In Classic this form can be launched from either a sales or a purchase doucment. The temporary table is based on either the sales or purchase lines on the document.
There is a 'setsource' function in the factbox that accepts a recordref and then calculates and populates the temporary table based on that recordref. I don't know how to utilize that function in the RTC environment. I cannot add the factbox to the sales/purchase subforms but how do I add it to the sales/purchase header pages and get the factbox to update when the user selects different lines on the document. ](*,)
Any help is appreciated.
0
Comments
You add the factbox to the main page, and in the properties you set correct SubFormLink (obviously) and set ProviderID = ID for the subpage area.
Thanks! I get that part fine, but how do I have the 'SetSource' function in teh factbox page execute when the record changes on the subform?
The only way would be to call the function from the factbox's OnAfterGetRecord or OnAfterGetCurrRecord trigger.
I don't think there is anywhere else you can call the function from.
http://www.mibuso.com/forum/viewtopic.php?f=5&t=20084&hilit=singleinstance&start=15
second page
what didn't you get?did you try to copy and understand the sample objects i posted in that topic? i thought they were really simple :-k
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog