setReturnValue

define return value for windows opened as modal form

 

window.setReturnValue(String Property,Any Value);

 

Support str_parm - value

window.setReturnValue("s_parm1","test"); // set str_parm.s_parm1 property from return Value 

window.setReturnValue("myValue",23); // set Property "myValue" with 23

 

Property

Description

returnText

return a text defined with returnText

returnValue

return a text defined with returnValue

returnOk

return boolean "true", if closed by ok

if window closed with cancel or X, it return false

str_parm.s_parm1 - s_parm5

return string value

str_parm.c_parm1 - 5

return decimal value

str_parm.b_parm1-2

return boolean value

str_parm.dt_parm1 -2

return date value

str_parm.belnr_id, belpos_id, pos_id, docentry, linenum

return document informations