XML 109 R94.htm IDEA: XBRL DOCUMENT
v3.6.0.2

STOCKHOLDERS' EQUITY Stock Repurchases (Details) - USD ($) shares in Millions, $ in Millions | 3 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Jan. 31, 2017 | Oct. 31, 2016 | Oct. 31, 2015 | Oct. 31, 2014 | May 28, 2015
Share Repurchase Program [Line Items] |  |  |  |  |
Cost to repurchase shares of common stock under share repurchase program |  | $ 434 | $ 267 | $ 200 |
2014 Share Repurchase Program [Member] |  |  |  |  |
Share Repurchase Program [Line Items] |  |  |  |  |
Weighted average count of diluted shares |  | 335.0 |  |  |
Number of treasury shares acquired |  | 2.4 | 6.0 | 4.0 |
Cost to repurchase shares of common stock under share repurchase program |  | $ 98 | $ 267 | $ 200 |
2015 Repurchase Program [Member] |  |  |  |  |
Share Repurchase Program [Line Items] |  |  |  |  |
Stock Repurchase Program, Authorized Amount |  |  |  |  | $ 1,140
Number of treasury shares acquired |  | 8.3 |  |  |
Cost to repurchase shares of common stock under share repurchase program |  | $ 336 |  |  |
Remaining authorized repurchase amount |  | $ 804 |  |  |
Subsequent Event [Member] |  |  |  |  |
Share Repurchase Program [Line Items] |  |  |  |  |
Number of treasury shares retired | 292.5 |  |  |  |
Aggregate cost of treasury shares retired. | $ 10,600 |  |  |  |
Subsequent Event [Member] | 2015 Repurchase Program [Member] |  |  |  |  |
Share Repurchase Program [Line Items] |  |  |  |  |
Number of treasury shares acquired | 2.5 |  |  |  |
Cost to repurchase shares of common stock under share repurchase program | $ 111 |  |  |  |
Retained Earnings | Subsequent Event [Member] |  |  |  |  |
Share Repurchase Program [Line Items] |  |  |  |  |
Aggregate cost of treasury shares retired. | 6,700 |  |  |  |
Additional Paid-in Capital | Subsequent Event [Member] |  |  |  |  |
Share Repurchase Program [Line Items] |  |  |  |  |
Aggregate cost of treasury shares retired. | $ 3,900 |  |  |  |

X
- Definition Share Repurchase Program [Line Items] + References No definition available. + Details
Name: | a_ShareRepurchaseProgramLineItems
Namespace Prefix: | a_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The approximate number of weighted average diluted shares the new repurchase program announced on November 22, 2013, is designed to maintain. + References No definition available. + Details
Name: | a_Weightedaveragecountofdilutedshares
Namespace Prefix: | a_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash outflow to reacquire common stock during the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=66902209&loc=d3e3291-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 + Details
Name: | us-gaap_PaymentsForRepurchaseOfCommonStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount remaining of a stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of decrease of par value, additional paid in capital (APIC) and retained earnings of common and preferred stock retired from treasury when treasury stock is accounted for under the cost method. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 + Details
Name: | us-gaap_TreasuryStockRetiredCostMethodAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of shares that have been repurchased during the period and are being held in treasury. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644 + Details
Name: | us-gaap_TreasuryStockSharesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares of common and preferred stock retired from treasury during the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644 + Details
Name: | us-gaap_TreasuryStockSharesRetired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=a_A2014ShareRepurchaseProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=a_A2015RepurchaseProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_RetainedEarningsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AdditionalPaidInCapitalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |