OnLookupOnPrintReport_OnAddStepsForReport
Use this event to
Add steps to a new or existing request page handler
See also:
OnLookupOnPrintReport_OnAfterAddStepForReport
Description
This event is executed once per mobile report.
You may use this event to add steps shown to the user on the mobile device.
The mobile report will not be shown to the user unless steps has been added.
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB Report Print Lookup", 'OnLookupOnPrintReport_OnAddStepsForReport', '', true, true)]
local procedure MyOnLookupOnPrintReport_OnAddStepsForReport(_MobReport: Record "MOB Report"; var _RequestValues: Record "MOB NS Request Element"; _SourceRecRef: RecordRef; var _Steps: Record "MOB Steps Element"; var _IsHandled: Boolean)
begin
end;
Example: How-to Create your own RequestPage Handler (Report Print)
More examples
-
How-to Create your own RequestPage Handler (Report Print) — Create a custom RequestPage Handler for a Report object for use with Report Print.
A RequestPage Handler is required to print a standard or custom Report Object from the mobile device.
The purpose of the handler is two things:
- Determine if the report should be available in the given context and which steps should be provided to the user
- Extract the values of the steps and copy them to the request page of the report
-
How-to Customize Item Label (Report Print) — Modify an existing Report Print standard report, to include more information in the layout and barcode.
Version History
Version | Changes |
---|---|
MOB5.46 | Introduced |