User events

User events  are special events in Beas, like material booking, production control. This events not window based and complete in background.

In this event you can change or can add additional functionality from standard solution, example work order creation, receipt and many more.

 

Called by

- different windows

- Integration hub

- beas service layer

 

 

Here you've the possibility to change the logic or add additional functionality

 

 

Create userevent

1. Open Beas AddOn

2. Open first line

3. Choose Userevent

4. choose the event on right side

5. Insert your script

6. Save (update). The change is active. You don't need a restart. Note: Other machines must be restarted.

 

The system will insert follow function

 
beasscript-logo-small

function CreateWorkOrder
// Script
end function

 

 

Properties

On right side of the editor you can see all properties, which you can read or write

 

General Note:

 

If you declare any object, you must destroy it

 

if you want to read window based informations, you must check, if the function is running inside this user function.

The user event is running in  a Sandbox. Only changeable variables are visible outside this user event.

This reduce bad mirror effects.

 

Every definition and declared properties outside the function will be ignored.
If you need additional function, you must declare this INSIDE this function. See compatibility

 

hmtoggle_plus1Debug
hmtoggle_plus1Compatibility

 

addon

   install

   start

beasmenu

   start

   poststart

   initmenu

   stopbeasgui

   menu[id]

aps

   StartCalculation

   StartWorkorderPosition

   StartWorkorderPositionStep

   (<<) StartCalcRoutingPositionBackward

   (<<) MiddleCalcRoutingPositionBackward

   (<<) EndCalcRoutingPositionBackward

   (>>) StartCalcRoutingPositionForward

   (>>) MiddleCalcRoutingPositionForward

   (>>) EndCalcRoutingPositionForward

   CalcRoutingOverlapping

   EndWorkorderPositionStep

   EndWorkorderPosition

   EndCalculation

Configurator

   CheckConfigBeforeNewLoad

fdc

   additionalholdiay

mrp

   Start

   End

sales

   rightclick

stockmanagement

   GoodsReceiptPo

   Allocation

   Transfer

   Issue

   Receipt

workordermanagement

   Calc.

   creation

   manage

   Preassign

   issue process

   receipt process

   time recording

   wip - Work in Process

qcmanagement

   QCPlanDetermination

   QCorderCreate

   QCorderCreateEnd

   Print