i am currently trying to make a integration test for my system.
For some reason i can open a second page with a handler if it a custom function.
This part of code works because i can call the custum function by name.
PlantTypePage.OPENEDIT;
PlantTypePage.GOTOKEY(CurrentPlantType);
PlantTypePage."Page Plant Number List".INVOKE;
[PageHandler] PlantNumberSeriesHandler(VAR PlantNumberList : TestPage "Plant Number List")
PlantNumberListOpen := PlantNumberList;
PlantNumberList.OK.INVOKE;
Now my qeustion is when you have a Listpage with a linked Cardpage how am i able to get to the cardpage.
Since i can't call the NEW function on the ribbon. My handler won't work and i can't preform a action in the card page to make a new record.
I did try to use OPENNEW but that just seems to reopen te current page. And also used the NEW function but that doesn't seem to trigger the handler either.
thanks for the person who helps me.
If more information is needed plz ask and i will deliver.
0