E: Accessing item values

beasscript-logo-small  

In this example, a field of an operation is read and changed.

Note: This is not an update and the new value is not saved. To save this new value, an event that triggers and update of the window must be used.

 

1.Open the Operation Catalog from Administration>Setup>Production>Operation catalog.

2.Open an operation.

3.Open View>System Information Item tab.

4.Press CTRL and hover over the field to be changed.
The field name that needs to be accessed can be read from this screen. In this case it is the bez field in data window 1.

Checking the Field Name

Checking the Field Name

5.Open the beas script editor from Tools>Extension for Clients or use the CTRL+N+U shortcut.

6.Find the field in the right-side panel and double-click to include it in the editor.

7.Read the field value by executing the selected line.

Read Field Value

Read Field Value

8.Write the field value by executing the selected line.

Write Field Value

Write Field Value

Note: This is not an update and the new value is not saved. To save this new value, an event that triggers and update of the window must be used.

 

help-hinweis Example Notes