| ItemEvent Event | |
| See Also Example |
- FormUID
- The unique ID of the form on which the event occurred
- pVal
- The object that holds the event information
- BubbleEvent
Indicates how the application handles the event. Relevant only when ItemEvent.BeforeAction is true.
- True: The application handles the event after the current event handler is finished (default).
- False: The application does not handle the event.
Occurs when a UI event (such as click or form load) takes place on a form in the SAP Business One application.
| Visual Basic |
|---|
Public Event ItemEvent( _
ByVal FormUID As String, _
ByVal pVal As ItemEvent, _
ByRef BubbleEvent As Boolean _
) |
- FormUID
- The unique ID of the form on which the event occurred
- pVal
- The object that holds the event information
- BubbleEvent
Indicates how the application handles the event. Relevant only when ItemEvent.BeforeAction is true.
- True: The application handles the event after the current event handler is finished (default).
- False: The application does not handle the event.
Managing events of user forms and items is essential because there is no business logic behind them. On SAP Business One forms and items, you can add your own process to the SAP Business One process on specific events and even replace the standard event handling with your own process (the BubbleEvent parameter should be set to false).
| Catching form data events (C#) | Copy Code | |
|---|---|---|
| ||