rightclick

with follow variables, defined in open event from the document,

you can disable some functions

 

beasscript-logo-small

Example Manipulate right mouse click

function rightclick
setvar=ib_confignew=false  // new confuguration
setvar=ib_configfromnew=false   // new from configuration
setvar=ib_configedit=false
setvar=is_treetype_list=S,T,A   // treetypes vorbidden for configuration
// ---
setvar=ib_calcnew=false
setvar=ib_calccopy=false
setvar=ib_calcedit=false
setvar=ib_calcprice=false // calculate only price
setvar=il_calcprice=0 // define the price field. 0=normal, 1=gross profit base
// ---
setvar=ib_deliver=false
setvar=ib_reservation=false
setvar=ib_project=false
 
// you can check the different forms with command 
// <sys_formtypeex>example: only in order and quotation
 
if <sysformtypeex> in {139,149} then
  setvar=ib_confignew=false
end if
 
end