Allowance for Doubtful Accounts (Detail) - Allowance for doubtful accounts $ in Millions |
9 Months Ended |
|---|---|
|
Mar. 31, 2018
USD ($)
| |
| Valuation and Qualifying Accounts Disclosure [Line Items] | |
| Balance, beginning of period | $ 361 |
| Charged to costs and other | 41 |
| Write-offs | (74) |
| Balance, end of period | 328 |
| Accounts receivable, net of allowance for doubtful accounts | |
| Valuation and Qualifying Accounts Disclosure [Line Items] | |
| Balance, end of period | 311 |
| Other Long-term Assets | |
| Valuation and Qualifying Accounts Disclosure [Line Items] | |
| Balance, end of period | $ 17 |