OnCreateReportParameters
Use this event to
Transfer step values to the request page of the report.
See also:
Standard Label Template Designs and OnLookupOnPrintLabel_OnAfterAddStepForTemplate
Description
This event is executed when the user has completed the steps and starts the actual print.
The event needs to copy the step values to the request page variables and/or data items to get the report to use the specified values.
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB ReportParameters Mgt.", 'OnCreateReportParameters', '', true, true)]
local procedure MyOnCreateReportParameters(_MobReport: Record "Mob Report"; _SourceRecRef: RecordRef; var _RequestValues: Record "MOB NS Request Element" temporary; var _OptionsFieldValues: Record "MOB ReportParameters Element"; var _DataItemViews: Record "MOB ReportParameters 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.
-
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 |