Properties
Property | Value |
Object Type | Codeunit |
Object Subtype | Normal |
Object ID | 23044916 |
Accessibility Level | Public |
Events
OnBeforeGetApplicationsForCache()
Use this event to subscribe to when the applications are fetched from the server for caching on the device.
Syntax
OnBeforeGetApplicationsForCache(var pdtLastFetchedOn: DateTime, var pcodLastApplication: Code[20], var piFetchSize: Integer, var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText, pbHandled: Boolean)
Parameters
Parameter | Type | Description |
pdtLastFetchedOn | DateTime | The datetime (UTC) that the device last requested a fetch for. While the system is fetching additional records, this will remain static. |
pcodLastApplication | Code[20] | The last application that was fetched. This will be blank if the last request resulted in less than that “fetch_size” being returned. |
piFetchSize | Integer | The number of records to return in this call. |
ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
pbsOutput | BigText | The XML output. Must match expected format of device. |
pbHandled | Boolean | Set to True to prevent the base code from executing. Set to False if the base code should continue. |
OnBeforeCreateOverride()
Called before creating the application override, XML, and events.
Syntax
OnBeforeCreateOverride(var precApplication: Record "WHI Application", var pbShowPage: Boolean, var lbHandled: Boolean)
Parameters
Parameter | Type | Description |
precApplication | Record “WHI Application” | The application being overridden. |
pbShowPage | Boolean | True if the application override event page must be shown when completed. |
pbHandled | Boolean | Set to True to prevent the base code from executing. Set to False if the base code should continue. |
OnAfterCreateOverride()
Called after creating the application override, XML, and events.
Syntax
OnAfterCreateOverride(var precApplication: Record "WHI Application", var precApplicationOverride: Record "WHI Application", var precOverride: Record "WHI Application Override")
Parameters
Parameter | Type | Description |
precApplication | Record “WHI Application” | The application being overridden. |
precApplicationOverride | Record “WHI Application” |
The application to use for designing the customizations. |
precOverride | Record “WHI Application Override” |
The application override event handlers. |
OnBeforeCreateOverrideApplication()
Called before creating the application override XML.
Syntax
OnBeforeCreateOverrideApplication(var precApplication: Record "WHI Application", var precOverrideApplicationOut: Record "WHI Application", var pbHandled: Boolean)
Parameters
Parameter | Type | Description |
precApplication | Record “WHI Application” | The application being overridden. |
precOverrideApplicationOut | Record “WHI Application” |
The application to use for designing the customizations. |
pbHandled | Boolean |
Set to True to prevent the base code from executing. Set to False if the base code should continue. |
OnAfterCreateOverrideApplication()
Called after creating the application override XML.
Syntax
OnAfterCreateOverrideApplication(var precApplication: Record "WHI Application", var precOverrideApplicationOut: Record "WHI Application")
Parameters
Parameter | Type | Description |
precApplication | Record “WHI Application” | The application being overridden. |
precOverrideApplicationOut | Record “WHI Application” | The application to use for designing the customizations. |
OnBeforeCreateOverrideDefinition()
Called before creating the application override event handlers.
Syntax
OnBeforeCreateOverrideDefinition(var precOverrideApplication: Record "WHI Application", var precOverrideHeaderOut: Record "WHI Application Override", var pbHandled: Boolean)
Parameters
Parameter | Type | Description |
precOverrideApplication | Record “WHI Application” | The application to use for designing the customizations. |
precOverrideHeaderOut | Record “WHI Application Override” |
The override event handlers. |
pbHandled | Boolean |
Set to True to prevent the base code from executing. Set to False if the base code should continue. |
OnAfterCreateOverrideDefinition()
Called after creating the application override event handlers.
Syntax
OnAfterCreateOverrideDefinition(var precOverrideApplication: Record "WHI Application", var precOverrideHeaderOut: Record "WHI Application Override")
Parameters
Parameter | Type | Description |
precOverrideApplication | Record “WHI Application” | The application to use for designing the customizations. |
precOverrideHeaderOut | Record “WHI Application Override” |
The override event handlers. |
pbHandled | Boolean |
Set to True to prevent the base code from executing. Set to False if the base code should continue. |