Question 500
A Business Central developer must validate a correction for this condition: A purchasing feature stores totals in every line even though totals can be derived from quantity and unit price. Which acceptance result best demonstrates that the issue was resolved?
Explanation
Correct Answer
The acceptance result follows from the chosen remedy. Define correct derived versus persisted fields and consistent calculation rules in the document model. is justified because redundant totals can drift if one input changes without recalculation. Therefore verify: Changing quantity produces correct totals across UI, APIs, and posting.
Incorrect Answers
The proposed evidence belongs to a financial report duplicates customer ledger balances because the developer joins documents and entries at the wrong grain. For the reported condition, the developer should first define correct derived versus persisted fields and consistent calculation rules in the document model.
This option serves the scenario “A team derives tax amounts from display-formatted strings rather than typed decimals and currency context”. This result checks the customer-visible or technical outcome, rather than just compilation: Different currencies and decimal separators yield correct posting amounts. The present scenario is distinguished by “Changing quantity produces correct totals across UI, APIs, and posting”.
This alternative addresses the separate case “A warehouse extension posts inventory movements directly from a loose text file without staging or validation”. Therefore verify: Invalid quantities are flagged and accepted movements reconcile with inventory records. The deciding requirement here is “Changing quantity produces correct totals across UI, APIs, and posting”.