SAP UI-API

Working with SAP Business One SDK - User Interface API

 

The SAP Business One UI API provides a programmatic interface to SAP Business One through a set of fully functional user interface

Over Beas Script  you've the possibility to use the UI-API

 

How to insert own functionality:

 

Open debug window (Level 1)

Open the SAP Form

sbo_ui_api_example1

 

in the debug window you can see all events triggered by SAP

NOTE: don't use windowevents. This only avaiable for compatibility. Please take global function

 

If you make a double click on the globalfunction, the system open a script window and here you can insert directly your code.

For add/change elements please use event form_clicked()

sap-ui-api_example2

 

BS Form

BS Item

BS Create objects

BS Right Click