Concept:An error that changes only one side of an account will make the trial balance totals disagree.
Solution:The trial balance agrees only when total debits equal total credits.
Undercasting means that one side of an account is totalled to a figure that is lower than its correct total.
So only the debit side or only the credit side is affected, causing the trial balance totals to differ.
Errors of commission and principle are recorded with equal debits and credits (only in the wrong account), and compensating errors cancel each other out, so none of these affects the agreement of the trial balance totals.
Therefore, undercasting is the error that affects the agreement of the trial balance.
Answer:Option B (undercasting)