XML 289 R163.htm IDEA: XBRL DOCUMENT v3.19.3
Share-based Payments - Summary of Stock Option Activity and Related Information (Parenthetical) (Detail) - CAD ($)
12 Months Ended
Oct. 31, 2019
Oct. 31, 2018
Oct. 31, 2017
Employee stock options [member]      
Disclosure of terms and conditions of share-based payment arrangement [line items]      
Weighted-average share price at the date of exercise $ 106.94 $ 120.55 $ 110.44