XML 76 R60.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Changes in Accounting Principles and Corrections to Previously Issued Financial Statements Narrative (Details) - USD ($) $ / shares in Units, $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2018 | Mar. 31, 2018 | Dec. 31, 2017 | Sep. 30, 2017 | Jun. 30, 2017 | Mar. 31, 2017 | Dec. 31, 2016 | Sep. 30, 2016 | Jun. 30, 2018 | Jun. 30, 2017 | Jun. 30, 2016 | Jun. 30, 2015
Error Corrections and Prior Period Adjustments Restatement [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Unrealized (losses) gains on derivative instruments designated as cash flow hedges, net of tax |  |  |  |  |  |  |  |  | $ (5,922) |  |  |
Losses (gains) on derivative instruments designated as cash flow hedges reclassified to cost of goods sold, net of tax |  |  |  |  |  |  |  |  | $ 800 |  |  |
Percentage of LIFO Inventory | 91.00% |  |  |  |  |  |  |  | 91.00% |  |  |
Comprehensive Income (Loss), Net of Tax, Attributable to Parent |  |  |  |  |  |  |  |  | $ (18,826) | $ 27,627 | $ 70,974 |
Inventories | $ 104,431 |  |  |  | $ 79,790 |  |  |  | 104,431 | 79,790 |  |
Deferred income taxes | 39,308 |  |  |  | 53,933 |  |  |  | 39,308 | 53,933 |  |
Retained earnings | 220,307 |  |  |  | 236,993 |  |  |  | 220,307 | 236,993 |  |
Accumulated Other Comprehensive (Income) Loss, Defined Benefit Plan, after Tax | 62,039 |  |  |  | 61,493 |  |  |  | 62,039 | 61,493 |  |
Income (loss) before taxes |  |  |  |  |  |  |  |  | 968 | (37,366) | 448 |
Income tax expense (benefit) |  |  |  |  |  |  |  |  | 17,312 | 14,815 | (72,239) |
Net (loss) income | 133 | $ (2,193) | $ (17,060) | $ 840 | (1,837) | $ 2,846 | $ 20,728 | $ 814 | (18,280) | 22,551 | 71,791 |
Gross profit | 52,599 | 52,211 | 56,191 | 46,041 | 42,775 | 49,882 | 49,494 | 44,727 | 207,042 | 186,878 | 171,168 |
Selling expenses | 41,256 | $ 38,041 | $ 42,414 | $ 32,828 | 33,230 | $ 34,388 | $ 32,408 | $ 33,303 | 154,539 | 133,329 | 123,260 |
LIFO to FIFO Adjustment |  |  |  |  |  |  |  |  |  |  |  |
Error Corrections and Prior Period Adjustments Restatement [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Unrealized (losses) gains on derivative instruments designated as cash flow hedges, net of tax |  |  |  |  |  |  |  |  |  | (2,900) | 400 |
Losses (gains) on derivative instruments designated as cash flow hedges reclassified to cost of goods sold, net of tax |  |  |  |  |  |  |  |  |  | 500 | 10,300 |
Cumulative Effect on Retained Earnings, Net of Tax |  |  |  |  |  |  |  |  |  |  |  | $ 17,700
Comprehensive Income (Loss), Net of Tax, Attributable to Parent |  |  |  |  |  |  |  |  |  | 27,600 | 71,000 |
As Previously Reported |  |  |  |  |  |  |  |  |  |  |  |
Error Corrections and Prior Period Adjustments Restatement [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Inventories |  |  |  |  | 56,251 |  |  |  |  | 56,251 |  |
Deferred income taxes |  |  |  |  | 63,055 |  |  |  |  | 63,055 |  |
Retained earnings |  |  |  |  | 221,182 |  |  |  |  | 221,182 |  |
Accumulated Other Comprehensive (Income) Loss, Defined Benefit Plan, after Tax |  |  |  |  | $ 60,099 |  |  |  |  | 60,099 |  |
Income (loss) before taxes |  |  |  |  |  |  |  |  |  | (40,354) | (9,921) |
Income tax expense (benefit) |  |  |  |  |  |  |  |  |  | 15,954 | (79,997) |
Net (loss) income |  |  |  |  |  |  |  |  |  | 24,400 | 89,918 |
Gross profit |  |  |  |  |  |  |  |  |  | 213,735 | 208,475 |
Selling expenses |  |  |  |  |  |  |  |  |  | 157,198 | 150,198 |
As Previously Reported | LIFO to FIFO Adjustment |  |  |  |  |  |  |  |  |  |  |  |
Error Corrections and Prior Period Adjustments Restatement [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Unrealized (losses) gains on derivative instruments designated as cash flow hedges, net of tax |  |  |  |  |  |  |  |  |  | (2,900) | 200 |
Losses (gains) on derivative instruments designated as cash flow hedges reclassified to cost of goods sold, net of tax |  |  |  |  |  |  |  |  |  | (1,100) | 8,100 |
Comprehensive Income (Loss), Net of Tax, Attributable to Parent |  |  |  |  |  |  |  |  |  | $ 27,900 | $ 86,700 |
Scenario, Plan [Member] | LIFO to FIFO Adjustment |  |  |  |  |  |  |  |  |  |  |  |
Error Corrections and Prior Period Adjustments Restatement [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Inventories | 18,100 |  |  |  |  |  |  |  | 18,100 |  |  |
Deferred income taxes | (4,200) |  |  |  |  |  |  |  | (4,200) |  |  |
Retained earnings | 17,500 |  |  |  |  |  |  |  | 17,500 |  |  |
Accumulated Other Comprehensive (Income) Loss, Defined Benefit Plan, after Tax | (3,600) |  |  |  |  |  |  |  | (3,600) |  |  |
Income (loss) before taxes |  |  |  |  |  |  |  |  | (1,700) |  |  |
Income tax expense (benefit) |  |  |  |  |  |  |  |  | (900) |  |  |
Net (loss) income |  |  |  |  |  |  |  |  | $ 2,600 |  |  |
Earnings Per Share, Basic and Diluted (dollars per share) |  |  |  |  |  |  |  |  | $ 0.15 |  |  |
Scenario, Plan [Member] | Preferable Freight and Warehousing Adjustments |  |  |  |  |  |  |  |  |  |  |  |
Error Corrections and Prior Period Adjustments Restatement [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Inventories | 5,900 |  |  |  |  |  |  |  | $ 5,900 |  |  |
Deferred income taxes | (1,400) |  |  |  |  |  |  |  | (1,400) |  |  |
Retained earnings | $ 4,500 |  |  |  |  |  |  |  | 4,500 |  |  |
Income (loss) before taxes |  |  |  |  |  |  |  |  | (2,100) |  |  |
Income tax expense (benefit) |  |  |  |  |  |  |  |  | (1,000) |  |  |
Net (loss) income |  |  |  |  |  |  |  |  | $ 3,100 |  |  |
Earnings Per Share, Basic and Diluted (dollars per share) |  |  |  |  |  |  |  |  | $ 0.19 |  |  |
Gross profit |  |  |  |  |  |  |  |  | $ 21,600 |  |  |
Selling expenses |  |  |  |  |  |  |  |  | $ (23,700) |  |  |

X
- Definition Amount, after tax, of accumulated other comprehensive (income) loss for defined benefit plan, that has not been recognized in net periodic benefit cost (credit). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (i-k) -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669646-108580 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669686-108580 + Details
Name: | us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=84228862&loc=d3e557-108580 + Details
Name: | us-gaap_ComprehensiveIncomeNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of the cumulative effect on retained earnings net of related income tax effect. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=64853466&loc=d3e22663-107794 + Details
Name: | us-gaap_CumulativeEffectOnRetainedEarningsNetOfTax1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=84176650&loc=d3e31931-109318 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=84176650&loc=d3e31928-109318 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=84176650&loc=d3e31958-109318 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=84176650&loc=d3e31917-109318 + Details
Name: | us-gaap_DeferredTaxAssetsNetNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of net income or loss for the period per each share in instances when basic and diluted earnings per share are the same amount and reported as a single line item on the face of the financial statements. Basic earnings per share is the amount of net income or loss for the period per each share of common stock or unit outstanding during the reporting period. Diluted earnings per share includes the amount of net income or loss for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period. + References No definition available. + Details
Name: | us-gaap_EarningsPerShareBasicAndDiluted
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1,2) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_GrossProfit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of income (loss) from continuing operations before deduction of income tax expense (benefit) and income (loss) attributable to noncontrolling interest, and addition of income (loss) from equity method investments. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(h)(1)(i)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a),(b) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32639-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(h)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_IncomeTaxExpenseBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer. + 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.6(a)) -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 330 -SubTopic 10 -Section 35 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=68049868&loc=d3e3927-108312 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=82887183&loc=d3e6676-107765 + Details
Name: | us-gaap_InventoryNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(22)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(18)) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(20)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_NetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after tax and reclassification adjustments, of increase (decrease) in accumulated gain (loss) from derivative instruments designated and qualifying as the effective portion of cash flow hedges and an entity's share of an equity investee's increase (decrease) in deferred hedging gain (loss), attributable to parent entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=96868048&loc=SL4569643-111683 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 19 -URI http://asc.fasb.org/extlink&oid=96868048&loc=SL4569616-111683 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (c)(3) -URI http://asc.fasb.org/extlink&oid=84161450&loc=SL4573702-111684 + Details
Name: | us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPortionAttributableToParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after tax of increase (decrease) in accumulated gain (loss) from derivative instruments designated and qualifying as the effective portion of cash flow hedges and an entity's share of an equity investee's increase (decrease) in deferred hedging gain (loss). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669646-108580 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=84228862&loc=d3e637-108580 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6441202&loc=d3e80720-113993 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84234895&loc=SL5624171-113959 + Details
Name: | us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The percentage of LIFO (last in first out) inventory to total inventory as of the balance sheet date if other than 100 percent. + References No definition available. + Details
Name: | us-gaap_PercentageOfLIFOInventory
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cumulative amount of the reporting entity's undistributed earnings or deficit. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(23)(a)(4)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 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 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(30)(a)(3)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_RetainedEarningsAccumulatedDeficit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Expenses recognized in the period that are directly related to the selling and distribution of products or services. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.4) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_SellingExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis=farm_LIFOtoFIFOAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | farm_RestatementAxis=us-gaap_ScenarioPreviouslyReportedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=us-gaap_ScenarioPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis=farm_OtherAdjustmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |