Run function on a factbox linked to a subform

CalicoCalico Posts: 31Member
On a NAV 2016 sales order page I have a factbox which is linked to the SalesLines subform by a ProviderID but I want to run a function on the factbox from the Sales Header OnAfterGetCurrRecord but when I try to compile the line CurrPage.MyFactbox.PAGE.MyFunction(parameter); MyFactbox is not recognised presumably because it has a ProviderID. How can I run MyFunction?
Sign In or Register to comment.