Command Opendocument on Grid Configurator not working
Hello Community,
I use the Grid Configurator to show on production orders a gridview as own tab.
On this Grid a column uses a command to open docs (stock transfer and stock request transfer). The Command is:
OpenDocument("$[$COR_G_902.ObjType.0]|$[$COR_G_902.DocEntry.Number]")
When I click now on the link, nothing happens. It shows neither an error nor opens the doc.
ObjType and DocEntry are correct and the document can be found by SQL query.
I use the command Opendocument also on a Grid Configurator as own menue. This command works as it should be when the gridview has its own form and is not within a tab.
OpenDocument("$[$GRID.objType.0]|$[$GRID.DocEntry.Number]")
What am I doing wrong?
Greetings Sebastian
-
Hallo Sebastian,
bist du dir sicher das die ItemID immer COR_G_902 ist? Das kann dynamisch sein wenn ihr nich andere Reiter habt und dann in welcher Reihenfolge diese geladen werden.
Außerdem kannst du mal das ausprobieren
OpenDocument("$[$COR_G_902.ObjType.0]|$[$COR_G_902.DocEntry.Number]")
Grüße Lothar
0 -
Hi Lothar,
Yes, I'm sure that the ItemID is correct. I have found out now whats causing the issue. If the column with the link is grouped, than the link is not working. If its ungrouped, the link is working.
Thanks for your advice!
Greetings Sebastian
0
Please sign in to leave a comment.
Comments
2 comments