Microsoft
MB7-702 · Question #89
You need to write code in a Report object that performs posting logic. In which trigger do you write the code so that it is performed just before the first record of the data item is read?
The correct answer is B. QnPreDatatern. How a Data Item is ProcessedBefore the first record is retrieved, the OnPreDataItem trigger is called, and after the last record has been processed, the OnPostDataItem trigger is called.
Set Up and Use the Talent Application
Question
You need to write code in a Report object that performs posting logic. In which trigger do you write the code so that it is performed just before the first record of the data item is read?
Options
- AOnPostDataltem
- BQnPreDatatern
- COnPreReport
- DOnInitReport
How the community answered
(14 responses)- A7% (1)
- B71% (10)
- C14% (2)
- D7% (1)
Explanation
How a Data Item is ProcessedBefore the first record is retrieved, the OnPreDataItem trigger is called, and after the last record has been processed, the OnPostDataItem trigger is called.
Topics
#Report object#OnPreDataItem trigger#C/AL triggers#report execution order
Community Discussion
No community discussion yet for this question.