Changes in the new Customize version
Remco Tersteeg
Hello,After we have upgraded to a new version of customize the opening of a Coresuite designer layout does not work anymore from a function button.
does anyone know what i need to change to get this working again.
the code that i am using looks like this
LayoutHelper.LayoutOpener.ExecutePrintDef("U0000037",LayoutHelper.LayoutOpener.OpenLayoutModes.Preview,"ItemCode","[%G;5]");
Kind Regards
Remco Tersteeg
Michael Egloff
Hello Remco,for a better help please post the whole rule (attach the *.cocu file).
You're trying to open a layout with code, but the statement to read the parameter is for SQL and SHELL commands ([%G;5]).
So if you need the value from the field with UID 5 you have to replace it like that:
[%G;5]
TextEdit.GetFromUID(pVal.Form, "5").Value
0
Please sign in to leave a comment.
Comments
0 comments