Hello
Is there a way to get the "Parent Page" on which the fact box is displayed at the moment?
So for example the Sales Hist. Bill-to FactBox is implemented both on the customer card and on the customer list. How can I find out in the code of the fact box on which page it is displayed right now?
I need this for the following scenario:
I have added a new field on Page Sales Hist. Bill-to FactBox which I calculate in the OnAfterGetCurrRecord() trigger. Now I would like to only calculate this field on the customer page but not on the customer list. So how can I find out inside the fact box on which page it is displayed at the moment?
Thanks for any suggestions
*This post is locked for comments
Hi Manish, thanks for the answer, yeah I already checked the Part Page Property it is the same factbox for both the list and the card, that is why I need some code to only calculate when the source page is the card. If they were different pages I could just add the code only in the one of the card.
I don't think there is any method to identify via code.
Second ally you can look into the property of the PartPage with name that is assigned in factbox group to identify if both the pages are same as in list and the card page of customer.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156