This value accessible by args().record() method, but in case of calling from different table fields extended by, it's a bit hard. You have to put case for every caller table or:
FormStringControl callerControl = SysTableLookup::getCallerStringControl(element.args());
;
info(callercontrol.text());
I found this code part from Yakup Kirisci's blog. It just already from standart forms, but I didn't know until see his blog. It worked good for me. Thanks to him...
Hiç yorum yok:
Yorum Gönder