benefit of $9.3 million related to the reserve of FreshRealm’s note receivable and impairment of investment. This decreased our effective tax rate to 23.1% and 24.7% for the three and nine months ended July 31, 2020. In addition, for the nine months ended July 31, 2020, we recorded a discrete income tax benefit of approximately $0.2 million, pursuant to ASU 2016-09, Improvements to Employee Share-based Payment Accounting. We recognize the effects of tax legislation in the period in which the law is enacted. Our deferred tax assets and liabilities are remeasured using enacted tax rates expected to apply to taxable income in the years we estimate the related temporary differences to reverse.
Liquidity and Capital Resources
Cash used by operating activities was $19.6 million for the nine months ended July 31, 2020, compared to cash provided by operating activities of $60.5 million for the similar period in fiscal 2019. Cash used by operating activities for the nine months ended July 31, 2020 reflect primarily our net loss of $20.0 million, plus add-backs for non-cash activities (depreciation and amortization, stock-based compensation expense, provision for losses on accounts receivable, losses from unconsolidated entities, net losses on Limoneira shares, interest income on Notes to FreshRealm, deferred taxes, loss on disposal of property, plant and equipment, loss on the reserve for FreshRealm and gain on the sale of the Temecula packinghouse) of $59.1 million and a net decrease in the components of our working capital of approximately $18.7 million.
Decreases in operating cash flows, caused by working capital changes, includes a net decrease in accounts payable and accrued expenses of $12.7 million, an increase in inventory of $6.4 million, an increase in income taxes receivable/payable of $4.6 million, an increase in accounts receivable of $4.0 million, and an increase in prepaid expenses and other current assets of $0.8 million, partially offset by, an increase in payable to growers of $5.0 million, and a decrease in advances to suppliers of $4.9 million.
The decrease in accounts payable and accrued expenses is primarily related to a decrease in payables to RFG co-packers and a reduction in discretionary spending. The increase in income taxes receivable/payable is due to the net loss and the timing of estimated payments made during the nine months ended July 31, 2020. The increase in inventory is related to an increase in the volume of prepared frozen guacamole products held in inventory at July 31, 2020 when compared to October 31, 2019. The increase in our accounts receivable, as of July 31, 2020 when compared to October 31, 2019, primarily due a timing increase in the days sales outstanding. The increase in payable to growers primarily reflects an increase in our avocado grower liability related to California avocado volumes and Mexican avocado costs. The decrease in advances to suppliers primarily reflects the re-payment of preseason advances as a result of increased tomato sales.
Cash used in investing activities was $28.2 million for the nine months ended July 31, 2020, which primarily related to the purchase of SFFI for $18.4 million net of cash received, purchases of property, plant and equipment of $8.3 million and additional investments in FreshRealm of $1.5 million.
Cash provided by financing activities was $3.5 million for the nine months ended July 31, 2020, which related principally to net proceeds on our credit facilities totaling $24.6 million, partially offset by, the payment of our $19.4 million dividend, the payment of minimum withholding taxes on net share settlement of equity awards of $1.2 million, and payments of $0.7 million on our long-term debt obligations.
Our principal sources of liquidity are our existing cash balances, cash generated from operations, amounts available for borrowing under our existing Credit Facility, and our investment in Limoneira shares. Cash and cash equivalents as of July 31, 2020 and October 31, 2019 totaled $3.6 million and $8.0 million. Our working capital at July 31, 2020 was $40.0 million, compared to $36.9 million at October 31, 2019.
We believe that cash flows from operations, the available Credit Facility, and other sources will be sufficient to satisfy our future capital expenditures, grower recruitment efforts, working capital and other financing requirements for at least the next twelve months. We will continue to pursue grower recruitment opportunities and expand relationships with retail and/or foodservice customers to fuel growth in each of our business segments. We have a revolving credit facility with Bank of America as administrative agent and Merrill Lynch, Pierce, Fenner & Smith Inc. as joint lead arranger and sole bookrunner, and Farm Credit West, as joint lead arranger. Under the terms of this agreement, we are advanced funds for both working capital and long-term productive asset purchases. Total credit available under this