DRAG DROP A company is implementing Business Central. The company has the following requirements for a report: • The report must be loaded for users in a specific location only. • Data entered in the request page must be validated before any further processing. • A filter must be defined for users based on the Department field defined in user setup. You need to implement the given requirements. Which triggers should you use? To answer, move the appropriate triggers to the correct requirements. You may use each trigger once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.
Load the report for users in a specific location → OnInitReport, Validate data before processing → OnPreReport, Filter based on Department field → OnPreDataItem. Pretty standard as per exam reports-filters tied to data items always go OnPreDataItem. Disagree?
Load the report for users in a specific location: OnInitReport, Validate data before processing: OnPreReport, Department filter: OnPreDataItem
OnInitReport → Load the report for users in a specific location
OnPreReport → Validate data before processing
OnPreDataItem → Filter by Department
I’d map them this way since OnInitReport is your spot to check location or permissions before anything else, OnPreReport gives you a chance to validate what the user entered after the request page, and OnPreDataItem is standard for filtering each user based on something like Department. Pretty sure this is what MS expects-trap is mixing up PreReport and Init if you focus too much on when validations run. Disagree?
OnPreReport → Validate data before processing
OnPreDataItem → Filter by Department
Pretty standard mapping seen in most official guides and labs. OnInitReport is best for access checks before any UI, PreReport catches validation right after request page, and PreDataItem is classic for dynamic filtering. I think this matches what exam practice sets expect (feel free to argue if anyone saw different on the exam!).