XML 17 R6.htm IDEA: XBRL DOCUMENT v3.7.0.1
Consolidated Statement of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Feb. 28, 2017
Feb. 29, 2016
Cash flows from operating activities:    
Net income (loss) $ 223,915 $ 235,992
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 241,730 207,302
Amortization of deferred major repair costs 36,431 36,302
Equity (income) loss from investments (76,128) (59,366)
Provision for doubtful accounts 97,113 7,060
Distributions from equity investments 86,096 54,682
Unrealized (gain) loss on crack spread contingent liability (12,879) (51,827)
Long-lived asset impairment 623 8,893
Deferred taxes 22,366 (32,979)
Other, net 24,300 9,234
Changes in operating assets and liabilities, net of acquisitions:    
Receivables 152,926 351,629
Inventories (1,389,281) (338,016)
Derivative assets 120,346 93,329
Margin deposits 19,985 76,397
Supplier advance payments (354,105) (457,432)
Other current assets and other assets (3,401) 68,811
Customer margin deposits and credit balances (59,284) (42,809)
Customer advance payments 457,095 368,834
Accounts payable and accrued expenses 58,427 24,729
Derivative liabilities (239,894) (193,545)
Other liabilities (49,555) (48,137)
Net cash provided by (used in) operating activities (643,174) 319,083
Cash flows from investing activities:    
Acquisition of property, plant and equipment (207,877) (428,290)
Proceeds from disposition of property, plant and equipment 6,794 5,107
Expenditures for major repairs (687) (19,090)
Investments in joint ventures and other (5,628) (2,814,031)
Proceeds from sale of investments 6,041 21,016
Changes in notes receivable, net (88,629) 4,428
Business acquisitions, net of cash acquired 1,279 (10,154)
Other investing activities, net 3,563 (4,068)
Net cash provided by (used in) investing activities (285,144) (3,245,082)
Cash flows from financing activities:    
Proceeds from lines of credit and long-term borrowings 21,159,218 11,138,485
Payments on lines of credit, long term-debt and capital lease obligations (20,062,366) (8,339,531)
Mandatorily redeemable noncontrolling interest payments 0 (153,022)
Payments on crack spread contingent liability 0 (2,625)
Changes in checks and drafts outstanding 1,388 6,802
Preferred stock dividends paid (83,650) (80,999)
Retirements of equities (13,670) (10,443)
Cash patronage dividends paid (103,879) (251,535)
Other financing activities, net 2,551 3,148
Net cash provided by (used in) financing activities 899,592 2,310,280
Effect of exchange rate changes on cash and cash equivalents (786) 1,443
Net increase (decrease) in cash and cash equivalents (29,512) (614,276)
Cash and cash equivalents at beginning of period 279,313 953,813
Cash and cash equivalents at end of period $ 249,801 $ 339,537