Property Value
Object Type Codeunit
Object Subtype Normal
Object ID 23044901
Accessibility Level Public

Events

OnBeforeGetTodaysDate event executes inside GetTodaysDate procedure of Warehouse Insight’s Common Functionals Codeunit before the procedure creates a new current date by default. Developers can customize the process on how to get the current date value by subscribing to this event.

Syntax
OnBeforeGetTodaysDate(var ptrecEventParams: Record "IWX Event Param" temporary, var pdtDateOut: Date, var pbHandled: Boolean)
Parameters
Parameter Type Description
ptrecEventParams Record “IWX Event Param” The event context with all variables from scanner.
pdtDateOut Date Date variable of the current date as the event output.
pbHandled Boolean Boolean variable to check if current date is handled. Set the value to true to skip the default date assignment process.

OnBeforeGetTodaysTime()

OnBeforeGetTodaysDate event executes inside GetTodaysTime procedure of Warehouse Insight’s Common Functionals Codeunit before the procedure creates a new current time by default. Developers can customize the process on how to get the current time value by subscribing to this event.

Syntax
OnBeforeGetTodaysTime(var ptrecEventParams: Record "IWX Event Param" temporary, var ptTimeOut: Time, var pbHandled: Boolean)
Parameters
Parameter Type Description
ptrecEventParams Record “IWX Event Param” The event context with all variables from scanner.
ptTimeOut Time Time variable of the current time as the event output.
pbHandled Boolean Boolean variable to check if current time is handled. Set the value to true to skip the default time assignment process.