XML 75 R57.htm IDEA: XBRL DOCUMENT v3.5.0.2
Valuation and Qualifying Accounts Schedule II (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2016
Jul. 31, 2015
Jul. 31, 2014
Allowance for doubtful accounts      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Valuation allowances and reserves, beginning balance $ 45 $ 40 $ 38
Valuation allowances and reserves, additions charged to expense/revenue 49 57 50
Valuation allowances and reserves, deductions (43) (52) (48)
Valuation allowances and reserves, ending balance 51 45 40
Reserve for product returns      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Valuation allowances and reserves, beginning balance 12 15 14
Valuation allowances and reserves, additions charged to expense/revenue 70 79 87
Valuation allowances and reserves, deductions (75) (82) (86)
Valuation allowances and reserves, ending balance 7 12 15
Reserve for rebates      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Valuation allowances and reserves, beginning balance 12 21 14
Valuation allowances and reserves, additions charged to expense/revenue 103 97 103
Valuation allowances and reserves, deductions (101) (106) (96)
Valuation allowances and reserves, ending balance $ 14 $ 12 $ 21