I have a script where I am trying to get the active portal row record (Plan Year) , so then I can navigate into a different layout's same record number (in the Contact page)
The database hierarchy is Contact -> Plan -> Plan Year -> Detailed Items
I have tried going to the related record using primary keys, however, my results show up with multiple found records because there are multiple plan years in each plan, and multiple plans for each contact. Each time I GTRR, it comes up with the right found set of records, but it will go to a related record that is not the plan year I want.
I have written a script to try and bypass this, by matching up the portal row location to the nth record. This is working most of the time, but every once in awhile the Get(ActivePortalRowNumber) -