XML 119 R104.htm IDEA: XBRL DOCUMENT
v3.19.2

Valuation and Qualifying Accounts and Reserves - Activity in Various Allowance and Reserve Accounts (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jun. 27, 2019 | Jun. 28, 2018 | Jun. 29, 2017
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items] |  |  |
Balance at Beginning of Period | $ 6,370 | $ 4,263 | $ 4,461
Additions | 39,452 | 36,361 | 28,448
Deductions | (39,790) | (34,254) | (28,646)
Balance at End of Period | 6,032 | 6,370 | 4,263
SEC Schedule, 12-09, Allowance for Doubtful Accounts [Member] |  |  |
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items] |  |  |
Balance at Beginning of Period | 270 | 263 | 397
Additions | 150 | 52 | 58
Deductions | (70) | (45) | (192)
Balance at End of Period | 350 | 270 | 263
SEC Schedule, 12-09, Reserve for Cash Discounts [Member] |  |  |
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items] |  |  |
Balance at Beginning of Period | 950 | 850 | 975
Additions | 14,721 | 13,889 | 12,274
Deductions | (14,746) | (13,789) | (12,399)
Balance at End of Period | 925 | 950 | 850
SEC Schedule, 12-09, Reserve for Customer Deductions [Member] |  |  |
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items] |  |  |
Balance at Beginning of Period | 5,038 | 2,979 | 2,918
Additions | 24,581 | 22,420 | 16,116
Deductions | (24,862) | (20,361) | (16,055)
Balance at End of Period | 4,757 | 5,038 | 2,979
SEC Schedule, 12-09, Deferred Tax Asset Valuation Allowance [Member] |  |  |
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items] |  |  |
Balance at Beginning of Period | 112 | 171 | 171
Deductions | $ (112) | (59) |
Balance at End of Period |  | $ 112 | $ 171

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: | srt_ValuationAndQualifyingAccountsDisclosureLineItems
Namespace Prefix: | srt_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of valuation and qualifying accounts and reserves. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e24092-122690 + Details
Name: | us-gaap_ValuationAllowancesAndReservesBalance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase in valuation and qualifying accounts and reserves from charge to cost and expense. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e24092-122690 + Details
Name: | us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of decrease in valuation and qualifying accounts and reserves. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e24092-122690 + Details
Name: | us-gaap_ValuationAllowancesAndReservesDeductions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_ValuationAllowancesAndReservesTypeAxis=us-gaap_AllowanceForCreditLossMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowancesAndReservesTypeAxis=jbss_ReserveForCashDiscountsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowancesAndReservesTypeAxis=jbss_ReserveForCustomerDeductionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowancesAndReservesTypeAxis=us-gaap_ValuationAllowanceOfDeferredTaxAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |