Choice "D" is correct. When an analytical procedure is used as the principal substantive test of a significant financial statement assertion, the auditor is required to document both the auditor's expectation and the factors considered in developing that expectation.
Choice "c" is incorrect. There is no requirement that the auditor document the reasons analytical procedures were performed instead of tests of details.
Choice "b" is incorrect. There is no requirement that the auditor document management's concurrence with the expectation.
Choice "a" is incorrect. When an analytical procedure is performed during the overall review stage, there are no specific documentation requirements. The requirement that the auditor document the expectation and any additional procedures performed to investigate significant unexplained differences relates to analytical procedures performed as principal substantive tests.