str_parm

Present the str_parm structure variable

Beas Script is using this structure object in windows and some other places.

Name of Properties are fix defined. Other names not supported in BeasScript

 

Example:

let a=str_parm;
a.s_parm1="Hello";
a.s_parm2="World";
alert(a.s_parm1+" "+a.s_parm2);
return 1;

 

Every Beas Window will be opened with a str_parm argument.

you can read and write this with

window.str_parm.x

Example: In item master data in s_parm1 the item code is stored

alert(window.str_parm.s_parm1);

It's possible to store the str_parm in a variable

let a=window.str_parm;

alert(a.s_parm1);

 

 

Property

Description

s_parm1 ... s_parm5

Up to 5 String variables

c_parm1... c_parm8

Up to 5 Number variables

dt_parm1..dt_parm2

2 Date  object

b_parm1...b_parm4

2 Boolean variables

belnr_id, belpos_id,belpos2_id, pos_id

Variable for Work order

docentry, linenum

Variable for Document