This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
A developer creates a document report with a Customer parent data item and a Sales Header child data item. How should the developer return only sales documents for the current customer?
Add both tables as independent root data items and place matching fields next to each other in the layout.
Set DataItemLink on Sales Header to relate Sell-to Customer No. to the parent Customer No.
Calculate the relationship in an OnPostReport trigger after the dataset finishes processing.
An organization needs an interactive worksheet for analysis and a formatted customer letter from the same report dataset. Which layout strategy best meets the requirement?
Define only an RDL layout because a report object can contain only one layout type.
Add both layouts in a report extension and rely on deployment to select the extension layout automatically.
Define Excel and Word layouts in the rendering section and let an administrator select the appropriate layout.
A report option must reject a negative minimum balance before dataset processing, and users need to reuse their previous request settings. Which design meets both needs?
Validate the option in its OnValidate trigger and set SaveValues to true on the request page.
Validate the option in OnPostReport and store the setting in a global variable only.
Validate the option in OnAfterGetRecord and set ProcessingOnly to true on the report.
A developer must add a dataset column and a new layout to an extensible base report, but another requirement replaces a different report completely. Which approach is appropriate?
Use substitution for the additive change and overwrite NewReportId for every report invocation.
Use a report extension for the additive change and a guarded OnAfterSubstituteReport subscriber for the replacement.
Use a report extension for both changes and override OnInitReport to replace the second report.
You must answer all questions before checking your work.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?