Beas access parameters

Installation Instructions > Beas startup options > beas standalone options > beas Access parameters

Top  Previous  Next
Expand/Collapse Toggles

Beas can be directly integrated from SAP Business One via an Add-on or through "Accessing external programs".

Each Beas – function can be started using parameters. Separator for parameters is a blank character. If the parameter contains a space, please replace by AltGr-3 ( = ³ ).

Beas may only be started in home directory "%programfiles(x86)%\beas software\beas". Change directory before calling.

Beas can also be started via Windows-task planner. See tasks

 

See youtube Start Beas in different ways

Available parameters:

Parameter

Description

mrp=x

Calculates the MRP x
Example: Calculating the MRP2

beas.exe db=yyy server=zzz user=aaa pw=bbb mrp=2

The line can be entered as follows in the Beas –server:

tools=beasrun=mrp=2

batchcalc=x

Performs the corresponding batch calculation

beas.exe db=yyy server=zzz user=aaa pw=bbb batchcalc=2

The line can be entered as follows in the Beas –server:

tools=beasrun=batchcalc=2

Terminal

/shortdebug

/debug

Generate a debug file on assembly level. You can use this for deep analysis.

The debug file beas.dbg is located in the same folder as the program itself.

It only works if you start Beas with Admin Rights.

task=x

Executes a script which is stored in planned activities. Executed in server mode., Once finished, the Beas instance is closed.

Note: When planning a task to be executed, only types "Script" and "Import" are allowed. Other types are not supported.

see

Planned activities

Tasks

form=<formname.psr>

Opens a form (PSR File) directly. If started with SingleMode (/ms), the program will close when closing the form.

server=<servername>

Name of server. Replace spaces with letter "³"

If no servername is defined, Beas uses the last used server.

db=<database>

Database index (n-th entry in database list) or database description or client description. Replace space by _

user=<User-Id>

pw=<User-Pwd>

The associated user password

dw=<PSR-File>

Opens corresponding window at program start

befehl=<Command>

Submit command to a window. Several command parameters can be specified

/ms

The master window is not opened. Program works in "Single window mode"

/pn

No pop-up window at program start

/f

No footer window

/tb

Do not display toolbar

/ws

Do not load user window settings

/st

Do not load language table

/sw

Single window. If the window specified at start is closed, the whole application is closed.

/sm

"Small menu". Only the menu items "Edit", "Window" and "Help" are available

s_parm1=<value>

Set variable s_parm1 (…4)

c_parm1=<value>

Set variable c_parm1 (…4)

script=<file>

Executes the Beas script. If this contains <cr_lf> , it is executed as a batch routine. Blank spaces must be replaced with ³

 

Important:

If only one function (Object) is called, the program needs to be closed afterwards with "app=close"

 

 

/language=<language>

Defines the user language (only if the standard behavior has been disabled under Extra/Options/General)

servermodus

Beas starts as "server" Alternative to the server service in local mode

/inservermode

Beas starts in server mode. This means that all messages are blocked. Use this to execute scripts.

/debug2file

Activates the debug to file mode at Beas  Startup.

See topic System Information > Settings > "Debug to file".

Available from 2020.05.

 

Examples of Beas call up

 

Examples: Enter correct values for user, password and database.

 

Terminal on "Demo" database,

beas.exe db=demo terminal /pn

 

Report currently present

beas.exe user=manager pwd=manager db=mustermann dw=bde_anwesenheit_aktuell.psr /sw /pn /ms s_parm1=onlypresent

 

Report on client "Mustermann", prevent popup

beas.exe db=mustermann report projekt\mustermann\reports\meinReport.rpt /pn

 

Report item_description.rpt for item 100.344

beas.exe report artikel_edit_beschreibung /pn /dv=Artikelnummer:=100.344

 

Open item processing for 100.344 with User Manager, end program, when window is closed, use small menu and no popup

beas.exe db=mustermann dw=artikel_edit s_parm1=100.344 user=manager pw=manager /pn /sw /sm

 

Call only order time receipt, close the program immediately afterwards

beas.exe dw=fert_arbzeit_erfassen.psr user=manager pw=manager db=trainingdb /sw /ns /ms

 

Note: .rpt or .psr NO longer need to be specified.

 

Calling up several instances in parallel, (eg. multiple terminal users) the name of the currently logged on user can be displayed in program title.

Insert "app=title=beas: <currentuser>"

 

Concept: call up via windows task planner

See: tasks


Help URL: https://help.beascloud.com/beas202402/index.html?beas-aufrufparameter.htm