beas Access parameters - robinfeng/beashelp GitHub Wiki

访问参数



%PROGRAMNAME%> 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 ( = ³ ). Example: server=my server needs to be replaced by server=my³server beas may only be started in home directory "%programfiles(x86)%\beas software\beas". Change directory before calling.

beas an also be started via Windows-task planner. See tasks

The following parameters are available:

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 hmtoggle_plus1 beas is started in a FDC terminal mode terminalanw Attendance Login/Logoff terminal task=x Execute a script, which is stored in planned activities. Executed in server mode, after finish, the beas instance is closed. see planned activities Tasks report= Access Crystal Report (per quick-start mode) dv= Transferring a parameter and/or variable to the report db= Database index (n-th entry in database list) or database designation or client designation. Replace space by _ user= hmtoggle_plus1 Login using which beas-Usee pw= The associated user password dw= Open corresponding window at program start befehl= 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= Set variable s_parm1 (…4) c_parm1= Set variable c_parm1 (…4) script= 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) shall be called, the program needs to be closed afterward's with "app=close"

Examples: beas.exe db=yyy server=zzz user=aaa pw=bbb script=messagebox=hello³world

Alternatively, the beas script can be stored in a file beas.exe db=yyy server=zzz user=aaa pw=bbb script=$c:documents³and³settings\user\myscript.src<cr_lf>app=close

(Note: the character ³ is accessible via ALT+3)

To call an object directly, put in quotation marks, otherwise it would be incorrectly interpreted.

Example: Post-calculation beas.exe db=yyy server=zzz /inservermode script="<cr_lf>setstr=c_parm3=3<cr_lf>object=ue_fert_naka=batchnaka=3<cr_lf>app=close<cr_lf>"

Alternatively a task can be created and the stored script can be executed with "task=x" see Tasks /language= Which user language should be used (only if the standard behavior has been disabled under Extra/Options/General) servermodus beas starts as "server" Alternative ti the server service in local mode /inservermode beas starts in server mode that means all messages are blocked. Use this to execute scripts.

Examples of beas call up

Examples: for user, password and db please enter correct values.

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 has 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. AddOn Administration - Develoement - Program logic - AddOn - Program Start Insert "app=title=beas: "

Concept: call up via windows task planner See: tasks


返回 主页

⚠️ **GitHub.com Fallback** ⚠️