Executes BeasScript that is saved on another place
Function
|
Description
|
batch=file=<folder><filename.src>
|
Example: declare all additional global functions
In this way you can use the global function of different windows
in Project folder myfunctions.src
global function myfunction1
endglobal
global function myfunction2
endglobal
in the customization script of the window
global function form_preload
batch=<system.projectfolder>myfunctions.src
endglobal
Now all additional global definitions are available.
|
|
batch=filename:function()
|
Example
in workordermanagement.src file, placed in project folder
function myfunction
//...
end function
Execute this:
batch=workordermanagement:myfunction()
The file must be in project folder and postfix must be "src"
The function must be defined as "function" and not as "global function".
Beas does not declare this function as an instance function. It's not visible after executing.
|
|
batch=convert=<script>
|
Example:
Define a script in a variable
#define myscript
messagebox=hello world
#end
Now you can execute this
batch=convert=myscript
Imporant: Define only the variable and not placeholder of this variable, otherwise there can be negative effects.
|
|
batch=column=<dw_1-columnname>
|
Example:
in column dw_1.item.myscript.value a script is saved
for executing this
batch=column=myscript
Limitation:
keyword dw_x.item or value not supported
only field from dw_1 - current row
|
|
batch=column=textfield
|
Executes a script, which is saved in a text field object from PSR file
|