GTRR - from the record of the current table
I'm trying to make a script to get a new window that would show the selected record from layout "List of trades", based on table Trades at a different layout.
The script is simple:
Go to related Record [Show only related records; From table "Trades"; Using layout: "Trades Lookup" (Trades);New window]
The result I get at Trades Lookup layout is always the first record from table Trades, not the selected one. I've tried to use self-related (by ID_Trade field) table Trades 2 instead of table Trades for Trades Lookup, no help.
What am I doing wrong?