XML 75 R59.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Changes in Accounting Principles and Corrections to Previously Issued Financial Statements Schedules of Accounting Adjustments (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] |  |  |  |  |  |  |  |  |  |  |  |
Inventories | $ 104,431 |  |  |  | $ 79,790 |  |  |  | $ 104,431 | $ 79,790 |  |
Total assets | 173,514 |  |  |  | 140,703 |  |  |  | 173,514 | 140,703 |  |
Deferred income taxes | 39,308 |  |  |  | 53,933 |  |  |  | 39,308 | 53,933 |  |
Total assets | 475,531 |  |  |  | 407,153 |  |  |  | 475,531 | 407,153 |  |
Retained earnings | 220,307 |  |  |  | 236,993 |  |  |  | 220,307 | 236,993 |  |
Accumulated other comprehensive loss | (62,039) |  |  |  | (61,493) |  |  |  | (62,039) | (61,493) |  |
Total stockholders’ equity | 229,055 |  |  |  | 229,552 |  |  |  | 229,055 | 229,552 | $ 197,317 | $ 120,466
Total liabilities and stockholders’ equity | 475,531 |  |  |  | 407,153 |  |  |  | 475,531 | 407,153 |  |
Cost of goods sold | 96,939 | $ 105,716 | $ 111,175 | $ 85,672 | 91,025 | $ 88,305 | $ 89,531 | $ 85,761 | 399,502 | 354,622 | 373,214 |
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 |
Operating expenses |  |  |  |  |  |  |  |  | 205,918 | 147,700 | 173,358 |
Income (loss) from operations | 2,001 | (2,767) | 28 | 1,862 | (3,096) | 4,109 | 36,997 | 1,168 | 1,124 | 39,178 | (2,190) |
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 |
Net income available to common stockholders per common share—basic (in US$ per share) | $ 0.00 | $ (0.14) | $ (1.03) | $ 0.05 | $ (0.11) | $ 0.17 | $ 1.25 | $ 0.05 | $ (1.11) | $ 1.35 | $ 4.35 |
Net income available to common stockholders per common share—diluted (in US$ per share) | $ 0.00 | $ (0.14) | $ (1.03) | $ 0.05 | $ (0.11) | $ 0.17 | $ 1.24 | $ 0.05 | $ (1.11) | $ 1.34 | $ 4.32 |
Net income | $ 133 | $ (2,193) | $ (17,060) | $ 840 | $ (1,837) | $ 2,846 | $ 20,728 | $ 814 | $ (18,280) | $ 22,551 | $ 71,791 |
Adjustments to reconcile net (loss) income to net cash provided by operating activities: |  |  |  |  |  |  |  |  |  |  |  |
Deferred income taxes |  |  |  |  |  |  |  |  | 17,154 | 14,343 | (72,556) |
Net losses (gains) on derivative instruments and investments |  |  |  |  |  |  |  |  | 1,982 | 2,361 | 16,536 |
Change in operating assets and liabilities: |  |  |  |  |  |  |  |  |  |  |  |
Inventories |  |  |  |  |  |  |  |  | (15,513) | (8,041) | 10,063 |
Derivative assets (liabilities), net |  |  |  |  |  |  |  |  | (7,782) | 2,264 | (10,295) |
Net cash provided by operating activities |  |  |  |  |  |  |  |  | $ 8,855 | 42,112 | 27,628 |
As Previously Reported |  |  |  |  |  |  |  |  |  |  |  |
Error Corrections and Prior Period Adjustments Restatement [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Inventories |  |  |  |  | 56,251 |  |  |  |  | 56,251 |  |
Total assets |  |  |  |  | 117,164 |  |  |  |  | 117,164 |  |
Deferred income taxes |  |  |  |  | 63,055 |  |  |  |  | 63,055 |  |
Total assets |  |  |  |  | 392,736 |  |  |  |  | 392,736 |  |
Retained earnings |  |  |  |  | 221,182 |  |  |  |  | 221,182 |  |
Accumulated other comprehensive loss |  |  |  |  | (60,099) |  |  |  |  | (60,099) |  |
Total stockholders’ equity |  |  |  |  | 215,135 |  |  |  |  | 215,135 |  |
Total liabilities and stockholders’ equity |  |  |  |  | 392,736 |  |  |  |  | 392,736 |  |
Cost of goods sold |  |  |  |  |  |  |  |  |  | 327,765 | 335,907 |
Gross profit |  |  |  |  |  |  |  |  |  | 213,735 | 208,475 |
Selling expenses |  |  |  |  |  |  |  |  |  | 157,198 | 150,198 |
Operating expenses |  |  |  |  |  |  |  |  |  | 171,569 | 200,296 |
Income (loss) from operations |  |  |  |  |  |  |  |  |  | 42,166 | 8,179 |
Income (loss) before taxes |  |  |  |  |  |  |  |  |  | 40,354 | 9,921 |
Income tax expense (benefit) |  |  |  |  |  |  |  |  |  | 15,954 | (79,997) |
Net (loss) income |  |  |  |  |  |  |  |  |  | $ 24,400 | $ 89,918 |
Net income available to common stockholders per common share—basic (in US$ per share) |  |  |  |  |  |  |  |  |  | $ 1.46 | $ 5.45 |
Net income available to common stockholders per common share—diluted (in US$ per share) |  |  |  |  |  |  |  |  |  | $ 1.45 | $ 5.41 |
Net income |  |  |  |  |  |  |  |  |  | $ 24,400 | $ 89,918 |
Adjustments to reconcile net (loss) income to net cash provided by operating activities: |  |  |  |  |  |  |  |  |  |  |  |
Deferred income taxes |  |  |  |  |  |  |  |  |  | 15,482 | (80,314) |
Net losses (gains) on derivative instruments and investments |  |  |  |  |  |  |  |  |  | (205) | 12,910 |
Change in operating assets and liabilities: |  |  |  |  |  |  |  |  |  |  |  |
Inventories |  |  |  |  |  |  |  |  |  | (8,504) | 3,608 |
Derivative assets (liabilities), net |  |  |  |  |  |  |  |  |  | 2,305 | (10,583) |
Net cash provided by operating activities |  |  |  |  |  |  |  |  |  | 42,112 | 27,628 |
Restatement Adjustment | LIFO to FIFO Adjustment |  |  |  |  |  |  |  |  |  |  |  |
Error Corrections and Prior Period Adjustments Restatement [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Inventories |  |  |  |  | 19,675 |  |  |  |  | 19,675 |  |
Total assets |  |  |  |  | 19,675 |  |  |  |  | 19,675 |  |
Deferred income taxes |  |  |  |  | (7,625) |  |  |  |  | (7,625) |  |
Total assets |  |  |  |  | 12,050 |  |  |  |  | 12,050 |  |
Retained earnings |  |  |  |  | 13,444 |  |  |  |  | 13,444 |  |
Accumulated other comprehensive loss |  |  |  |  | (1,394) |  |  |  |  | (1,394) |  |
Total stockholders’ equity |  |  |  |  | 12,050 |  |  |  |  | 12,050 |  |
Total liabilities and stockholders’ equity |  |  |  |  | 12,050 |  |  |  |  | 12,050 |  |
Cost of goods sold |  |  |  |  |  |  |  |  |  | 1,739 | 8,593 |
Gross profit |  |  |  |  |  |  |  |  |  | (1,739) | (8,593) |
Selling expenses |  |  |  |  |  |  |  |  |  | 0 | 0 |
Operating expenses |  |  |  |  |  |  |  |  |  | 0 | 0 |
Income (loss) from operations |  |  |  |  |  |  |  |  |  | (1,739) | (8,593) |
Income (loss) before taxes |  |  |  |  |  |  |  |  |  | (1,739) | (8,593) |
Income tax expense (benefit) |  |  |  |  |  |  |  |  |  | (663) | 6,430 |
Net (loss) income |  |  |  |  |  |  |  |  |  | $ (1,076) | $ (15,023) |
Net income available to common stockholders per common share—basic (in US$ per share) |  |  |  |  |  |  |  |  |  | $ (0.07) | $ (0.91) |
Net income available to common stockholders per common share—diluted (in US$ per share) |  |  |  |  |  |  |  |  |  | $ (0.07) | $ (0.90) |
Net income |  |  |  |  |  |  |  |  |  | $ (1,076) | $ (15,023) |
Adjustments to reconcile net (loss) income to net cash provided by operating activities: |  |  |  |  |  |  |  |  |  |  |  |
Deferred income taxes |  |  |  |  |  |  |  |  |  | (663) | 6,430 |
Net losses (gains) on derivative instruments and investments |  |  |  |  |  |  |  |  |  | 2,566 | 3,626 |
Change in operating assets and liabilities: |  |  |  |  |  |  |  |  |  |  |  |
Inventories |  |  |  |  |  |  |  |  |  | (786) | 4,677 |
Derivative assets (liabilities), net |  |  |  |  |  |  |  |  |  | (41) | 288 |
Net cash provided by operating activities |  |  |  |  |  |  |  |  |  | 0 | (2) |
Restatement Adjustment | Preferable Freight and Warehousing Adjustments |  |  |  |  |  |  |  |  |  |  |  |
Error Corrections and Prior Period Adjustments Restatement [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Inventories |  |  |  |  | 3,821 |  |  |  |  | 3,821 |  |
Total assets |  |  |  |  | 3,821 |  |  |  |  | 3,821 |  |
Deferred income taxes |  |  |  |  | (1,480) |  |  |  |  | (1,480) |  |
Total assets |  |  |  |  | 2,341 |  |  |  |  | 2,341 |  |
Retained earnings |  |  |  |  | 2,341 |  |  |  |  | 2,341 |  |
Accumulated other comprehensive loss |  |  |  |  | 0 |  |  |  |  | 0 |  |
Total stockholders’ equity |  |  |  |  | 2,341 |  |  |  |  | 2,341 |  |
Total liabilities and stockholders’ equity |  |  |  |  | 2,341 |  |  |  |  | 2,341 |  |
Cost of goods sold |  |  |  |  |  |  |  |  |  | 19,835 | 21,104 |
Gross profit |  |  |  |  |  |  |  |  |  | (19,835) | (21,104) |
Selling expenses |  |  |  |  |  |  |  |  |  | (19,241) | (20,502) |
Operating expenses |  |  |  |  |  |  |  |  |  | (19,241) | (20,502) |
Income (loss) from operations |  |  |  |  |  |  |  |  |  | (594) | (602) |
Income (loss) before taxes |  |  |  |  |  |  |  |  |  | (594) | (602) |
Income tax expense (benefit) |  |  |  |  |  |  |  |  |  | (226) | 450 |
Net (loss) income |  |  |  |  |  |  |  |  |  | $ (368) | $ (1,052) |
Net income available to common stockholders per common share—basic (in US$ per share) |  |  |  |  |  |  |  |  |  | $ (0.02) | $ (0.07) |
Net income available to common stockholders per common share—diluted (in US$ per share) |  |  |  |  |  |  |  |  |  | $ (0.02) | $ (0.07) |
Net income |  |  |  |  |  |  |  |  |  | $ (368) | $ (1,052) |
Adjustments to reconcile net (loss) income to net cash provided by operating activities: |  |  |  |  |  |  |  |  |  |  |  |
Deferred income taxes |  |  |  |  |  |  |  |  |  | (226) | 450 |
Net losses (gains) on derivative instruments and investments |  |  |  |  |  |  |  |  |  | 0 | 0 |
Change in operating assets and liabilities: |  |  |  |  |  |  |  |  |  |  |  |
Inventories |  |  |  |  |  |  |  |  |  | 594 | 604 |
Derivative assets (liabilities), net |  |  |  |  |  |  |  |  |  | 0 | 0 |
Net cash provided by operating activities |  |  |  |  |  |  |  |  |  | 0 | 2 |
Restatement Adjustment | Corrections of Freight, Overhead Variances and PPVs |  |  |  |  |  |  |  |  |  |  |  |
Error Corrections and Prior Period Adjustments Restatement [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Inventories |  |  |  |  | 43 |  |  |  |  | 43 |  |
Total assets |  |  |  |  | 43 |  |  |  |  | 43 |  |
Deferred income taxes |  |  |  |  | (17) |  |  |  |  | (17) |  |
Total assets |  |  |  |  | 26 |  |  |  |  | 26 |  |
Retained earnings |  |  |  |  | 26 |  |  |  |  | 26 |  |
Accumulated other comprehensive loss |  |  |  |  | 0 |  |  |  |  | 0 |  |
Total stockholders’ equity |  |  |  |  | 26 |  |  |  |  | 26 |  |
Total liabilities and stockholders’ equity |  |  |  |  | $ 26 |  |  |  |  | 26 |  |
Cost of goods sold |  |  |  |  |  |  |  |  |  | 5,283 | 7,610 |
Gross profit |  |  |  |  |  |  |  |  |  | (5,283) | (7,610) |
Selling expenses |  |  |  |  |  |  |  |  |  | (4,628) | (6,436) |
Operating expenses |  |  |  |  |  |  |  |  |  | (4,628) | (6,436) |
Income (loss) from operations |  |  |  |  |  |  |  |  |  | (655) | (1,174) |
Income (loss) before taxes |  |  |  |  |  |  |  |  |  | (655) | (1,174) |
Income tax expense (benefit) |  |  |  |  |  |  |  |  |  | (250) | 878 |
Net (loss) income |  |  |  |  |  |  |  |  |  | $ (405) | $ (2,052) |
Net income available to common stockholders per common share—basic (in US$ per share) |  |  |  |  |  |  |  |  |  | $ (0.02) | $ (0.12) |
Net income available to common stockholders per common share—diluted (in US$ per share) |  |  |  |  |  |  |  |  |  | $ (0.02) | $ (0.12) |
Net income |  |  |  |  |  |  |  |  |  | $ (405) | $ (2,052) |
Adjustments to reconcile net (loss) income to net cash provided by operating activities: |  |  |  |  |  |  |  |  |  |  |  |
Deferred income taxes |  |  |  |  |  |  |  |  |  | (250) | 878 |
Net losses (gains) on derivative instruments and investments |  |  |  |  |  |  |  |  |  | 0 | 0 |
Change in operating assets and liabilities: |  |  |  |  |  |  |  |  |  |  |  |
Inventories |  |  |  |  |  |  |  |  |  | 655 | 1,174 |
Derivative assets (liabilities), net |  |  |  |  |  |  |  |  |  | 0 | 0 |
Net cash provided by operating activities |  |  |  |  |  |  |  |  |  | $ 0 | $ 0 |

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
- References No definition available. + Details
Name: | us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + 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)(12)) -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 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(11)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_Assets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + 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.9) -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 210 -SubTopic 10 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=82887183&loc=d3e6801-107765 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=82887183&loc=d3e6676-107765 + Details
Name: | us-gaap_AssetsCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Total costs related to goods produced and sold during the reporting period. + 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.2(a)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_CostOfGoodsSold
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 (loss) for the period per each share of common stock or unit outstanding during the reporting period. + References Reference 1: 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 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 55 -Paragraph 52 -URI http://asc.fasb.org/extlink&oid=96948231&loc=d3e4984-109258 Reference 3: 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(19)) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=96947427&loc=d3e1252-109256 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(21)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 Reference 6: 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(23)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_EarningsPerShareBasic
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of net income (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 Reference 1: 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(19)) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=96947427&loc=d3e1252-109256 Reference 3: 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(21)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 Reference 4: 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(23)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_EarningsPerShareDiluted
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 This item represents the net total realized and unrealized gain (loss) included in earnings for the period as a result of selling or holding marketable securities categorized as trading, available-for-sale, or held-to-maturity, including the unrealized holding gain (loss) of held-to-maturity securities transferred to the trading security category and the cumulative unrealized gain (loss) which was included in other comprehensive income (a separate component of shareholders' equity) for available-for-sale securities transferred to trading securities during the period. Additionally, this item would include any gains (losses) realized during the period from the sale of investments accounted for under the cost method of accounting and losses recognized for other than temporary impairments (OTTI) of the subject investments. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (c)-(e) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27357-111563 Reference 2: 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 3: 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.7(c),9(a)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27405-111563 + Details
Name: | us-gaap_GainLossOnInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 The increase (decrease) during the reporting period in the account that represents the temporary difference that results from Income or Loss that is recognized for accounting purposes but not for tax purposes and vice versa. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInDeferredIncomeTaxes
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase (decrease) during the period in the net carrying value of derivative instruments reported as assets and liabilities that are due to be disposed of within one year (or the normal operating cycle, if longer). + References No definition available. + Details
Name: | us-gaap_IncreaseDecreaseInDerivativeAssetsAndLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInInventories
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_IncreaseDecreaseInOperatingCapitalAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
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 Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(23)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: 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)(25)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 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(32)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LiabilitiesAndStockholdersEquity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3521-108585 Reference 2: 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 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3536-108585 + Details
Name: | us-gaap_NetCashProvidedByUsedInOperatingActivities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

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 Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense. + References No definition available. + Details
Name: | us-gaap_OperatingExpenses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The net result for the period of deducting operating expenses from operating revenues. + References No definition available. + Details
Name: | us-gaap_OperatingIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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
- Definition Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity. + 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(30)) -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 310 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 4.E) -URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707 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(31)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: 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(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockholdersEquity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

X
- Details
Name: | us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis=farm_LIFOtoFIFOAdjustmentMember
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: |

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