STOCKHOLDERS' EQUITY (Tables)
6 Months Ended
Apr. 30, 2017
Statement of Comprehensive Income [Abstract]  
Schedule of Accumulated Other Comprehensive Income (Loss)
Changes in accumulated other comprehensive loss by component and related tax effects for the three and six months ended April 30, 2017 and 2016 were as follows:
 
 
Unrealized gain on equity securities
 
Foreign currency translation
 
Net defined benefit pension cost and post retirement plan costs
 
Unrealized gains (losses) on derivatives
 
Total
 
 
 
 
Actuarial losses
 
Prior service credits
 
 
 
 
(in millions)
As of January 31, 2017
 
$
14

 
$
(53
)
 
$
(618
)
 
$
46

 
$

 
$
(611
)
Other comprehensive income (loss) before reclassifications
 
(1
)
 
9

 

 

 
(1
)
 
7

Amounts reclassified out of accumulated other comprehensive loss
 

 

 
17

 
(6
)
 
1

 
12

Tax (expense) benefit
 
1

 

 
(5
)
 
2

 
(1
)
 
(3
)
Other comprehensive income (loss)
 

 
9

 
12

 
(4
)
 
(1
)
 
16

As of April 30, 2017
 
$
14

 
$
(44
)
 
$
(606
)
 
$
42

 
$
(1
)
 
$
(595
)
 
 
 
 
 
 
 
 
 
 
 
 
 
As of October 31, 2016
 
$
10

 
$
(29
)
 
$
(646
)
 
$
50

 
$
(3
)
 
$
(618
)
Other comprehensive income (loss) before reclassifications
 
4

 
(15
)
 
24

 

 
2

 
15

Amounts reclassified out of accumulated other comprehensive loss
 

 

 
34

 
(12
)
 
2

 
24

Tax (expense) benefit
 

 

 
(18
)
 
4

 
(2
)
 
(16
)
Other comprehensive income (loss)
 
4

 
(15
)
 
40

 
(8
)
 
2

 
23

As of April 30, 2017
 
$
14

 
$
(44
)
 
$
(606
)
 
$
42

 
$
(1
)
 
$
(595
)
 
 
 
 
 
 
 
 
 
 
 
 
 
As of January 31, 2016
 
$
15

 
$
(73
)
 
$
(499
)
 
$
62

 
$
(2
)
 
$
(497
)
Other comprehensive income (loss) before reclassifications
 
(1
)
 
56

 

 

 
(3
)
 
52

Amounts reclassified out of accumulated other comprehensive loss
 

 

 
14

 
(7
)
 
3

 
10

Tax (expense) benefit
 

 

 
(4
)
 
2

 

 
(2
)
Other comprehensive income (loss)
 
$
(1
)
 
$
56

 
$
10

 
$
(5
)
 
$

 
$
60

As of April 30, 2016
 
$
14

 
$
(17
)
 
$
(489
)
 
$
57

 
$
(2
)
 
$
(437
)
 
 
 
 
 
 
 
 
 
 
 
 
 
As of October 31, 2015
 
$
21

 
$
(48
)
 
$
(511
)
 
$
65

 
$
(6
)
 
$
(479
)
Other comprehensive income (loss) before reclassifications
 
(8
)
 
31

 
4

 

 
(1
)
 
26

Amounts reclassified out of accumulated other comprehensive loss
 

 

 
28

 
(13
)
 
7

 
22

Tax (expense) benefit
 
1

 

 
(10
)
 
5

 
(2
)
 
(6
)
Other comprehensive income (loss)
 
(7
)
 
31

 
22

 
(8
)
 
4

 
42

As of April 30, 2016
 
$
14

 
$
(17
)
 
$
(489
)
 
$
57

 
$
(2
)
 
$
(437
)
Reclassification out of Accumulated Other Comprehensive Income
Reclassifications out of accumulated other comprehensive loss for the three months ended April 30, 2017 and 2016 were as follows:
Details about Accumulated Other Comprehensive Loss Components
 
Amounts Reclassified from Accumulated Other Comprehensive Loss
 
Affected Line Item in Statement of Operations
 
 
Three Months Ended
 
Six Months Ended
 
 
 
 
April 30,
 
April 30,
 
 
 
 
2017
 
2016
 
2017
 
2016
 
 
 
 
(in millions)
 
 
Unrealized gain (loss) on derivatives
 
$
(1
)
 
$
(3
)
 
$
(2
)
 
$
(7
)
 
Cost of sales
 
 
1

 
1

 
1

 
2

 
Provision for income taxes
 
 

 
(2
)
 
(1
)
 
(5
)
 
Net of income tax
 
 
 
 
 
 
 
 
 
 
 
Net defined benefit pension cost and post retirement plan costs:
 
 
 
 
 
 
 
 
 
 
  Actuarial net loss
 
(17
)
 
(14
)
 
(34
)
 
(28
)
 
 
  Prior service credits
 
6

 
7

 
12

 
13

 
 
 
 
(11
)
 
(7
)
 
(22
)
 
(15
)
 
Total before income tax
 
 
3

 
2

 
6

 
5

 
Provision for income taxes
 
 
(8
)
 
(5
)
 
(16
)
 
(10
)
 
Net of income tax
 
 
 
 
 
 
 
 
 
 
 
Total reclassifications for the period
 
$
(8
)
 
$
(7
)
 
$
(17
)
 
$
(15
)