RETIREMENT PLANS AND POST RETIREMENT PENSION PLANS Defined Contribution (Details) - USD ($) $ in Millions |
12 Months Ended |
Oct. 31, 2017 |
Oct. 31, 2016 |
Oct. 31, 2015 |
| Defined Contribution Plan Disclosure [Line Items] |
|
|
|
| Employer matching contribution in the 401(k) plan (in hundredths) |
6.00%
|
|
|
| Defined Contribution Plan, Maximum Annual Contributions Per Employee, Percent |
50.00%
|
|
|
| Defined Contribution Plan, Cost Recognized |
$ 33
|
$ 24
|
$ 14
|
| 401(k) additional company contribution |
|
|
|
| Defined Contribution Plan Disclosure [Line Items] |
|
|
|
| Employer matching contribution in the 401(k) plan (in hundredths) |
4.00%
|
|
|
| Minimum [Member] | 401(k) additional company contribution |
|
|
|
| Defined Contribution Plan Disclosure [Line Items] |
|
|
|
| Employer matching contribution in the 401(k) plan (in hundredths) |
3.00%
|
|
|
| Maximum [Member] | 401(k) additional company contribution |
|
|
|
| Defined Contribution Plan Disclosure [Line Items] |
|
|
|
| Employer matching contribution in the 401(k) plan (in hundredths) |
5.00%
|
|
|
| Deferred Profit Sharing [Member] |
|
|
|
| Defined Contribution Plan Disclosure [Line Items] |
|
|
|
| Fair Value of Plan Assets |
$ 156
|
$ 157
|
|