Question 600
A posting reconciliation visits only the first matching invoice instead of iterating the full result set. A targeted trial still reproduces the original gap after the team attempted this change: Iterate matching AL records with FindSet and the appropriate Next pattern. Which repair directly addresses the remaining defect?
Explanation
Correct Answer
Replace the single-record call with the correct filtered set traversal and retest row counts. This directly addresses the remaining defect for the requirement—A posting reconciliation visits only the first matching invoice instead of iterating the full result set. It restores the mechanism described here: findset supports traversal of a filtered recordset, unlike a single-record retrieval used without iteration.
Incorrect Answers
This correction is for the separate condition: A document import needs to generate an export stream for a user to download from Business Central online. It would not directly restore the intended behavior in this situation: A posting reconciliation visits only the first matching invoice instead of iterating the full result set. Here, replace the single-record call with the correct filtered set traversal and retest row counts, because findset supports traversal of a filtered recordset, unlike a single-record retrieval used without iteration.
This correction is for the separate condition: A partner library accidentally exposes internal AL symbols to dependent apps after publishing. It would not directly restore the intended behavior in this situation: A posting reconciliation visits only the first matching invoice instead of iterating the full result set. Here, replace the single-record call with the correct filtered set traversal and retest row counts, because findset supports traversal of a filtered recordset, unlike a single-record retrieval used without iteration.
This correction is for the separate condition: A billing routine performs different validation for several status values but the else branch silently accepts invalid input. It would not directly restore the intended behavior in this situation: A posting reconciliation visits only the first matching invoice instead of iterating the full result set. Here, replace the single-record call with the correct filtered set traversal and retest row counts, because findset supports traversal of a filtered recordset, unlike a single-record retrieval used without iteration.





Microsoft Dynamics 365 Business Central Developer (MB-820) Practice Tests