A
|
acpan 7/18/2021 |
You can try this:
$data = $pageObject->getMasterRecord(); More info on getMasterRecord(): https://xlinesoft.com/phprunner/docs/getmasterrecord.htm
if dates condition matched => That's should work, If you need more advanced settings, check Security API and setAllowedPages, getTablePermission. Hope it helps. |
J
|
JoeB7774 author 7/19/2021 |
Thanks for the info. WOrks great. One other question ... I have two levels of child records (Parent - Child 1 - Child 2). How would a person reference the start/end dates on the Parent record from the Child 2 record. Same method? |
A
|
acpan 7/19/2021 |
I think child 2 cannot see the parent because its parent is child 1. In that case, store the parent values as session variables at child 1, and access the session values from child 2 instead. |
J
|
JoeB7774 author 7/19/2021 |
That worked great. Thanks. |