Properties
| Property | Value |
|---|---|
| Object Type | Codeunit |
| Object Subtype | Normal |
| Object ID | 23044908 |
| Accessibility Level | Public |
Events
OnBeforeProcessEvent()
OnBeforeProcessEvent event is triggered inside the ProcessBeforeEvent procedure in Warehouse Insight’s Custom Fuctions Codeunit when there is no other codeunit extension to process based on Extensibility Codeunit field from Warehouse Insight’s Device Configuration. Subscribing to this event, the developer can manage and/or define all the customized events with event IDs.
Syntax
OnBeforeProcessEvent(piEventID: Integer, var precEventParams: Record "IWX Event Param", var pbtxtOutput: BigText, var pbOverrideWHI: Boolean)
Parameters
| Parameter | Type | Description |
| piEventID | Integer | Integer variable of Event ID to override a specific event. |
| precEventParams | Record “IWX Event Param” | The event context with all variables from the scanner. |
| pbtxtOutput | BigText | BigText variable to handle the output result from the overridden event. |
| pbOverrideWHI | Boolean | Boolean variable to determine whether Warehouse Insight continues to process the original event after the override. |
OnAfterProcessEvent()
OnAfterProcessEvent event is triggered inside the ProcessAfterEvent procedure in Warehouse Insight’s Custom Fuctions Codeunit when there is no other codeunit extension to process based on Extensibility Codeunit field from Warehouse Insight’s Device Configuration. Subscribing to this event allows the developer to manage and/or define all the customized events with event IDs.
Syntax
OnAfterProcessEvent(piEventID: Integer, var precEventParams: Record "IWX Event Param", var pbtxtOutput: BigText)
Parameters
| Parameter | Type | Description |
| piEventID | Integer | Integer variable of Event ID to override a specific event. |
| precEventParams | Record “IWX Event Param” | The event context with all variables from the scanner. |
| pbtxtOutput | BigText | BigText variable to handle the output result from the overridden event. |
Still need help?
Ask other Business Central users in the Insight Works community, or send the details to the support team. Include the steps you took and any error message you saw.