v3.22.2.2
Related Party Transactions - Additional Information (Detail) - CAD ($)
12 Months Ended
Oct. 31, 2022
Oct. 31, 2021
Key management personnel and directors and their close family members [member]    
Disclosure of transactions between related parties [line items]    
Loans to related parties $ 14,000,000 $ 14,000,000
Provisions for doubtful debts related to outstanding balances of related party transaction 0 0
Guarantees or pledges given to related parties 0 0
Commitments given to related parties 0 0
Joint ventures and associates [member]    
Disclosure of transactions between related parties [line items]    
Loans to related parties 251,000,000 340,000,000
Provisions for doubtful debts related to outstanding balances of related party transaction 0 0
Guarantees or pledges given to related parties 1,000,000 1,000,000
Commitments given to related parties 829,000,000 1,017,000,000
Deposits from related parties $ 20,000,000 $ 13,000,000