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

Valuation and Qualifying Accounts and Reserves - Activity in Various Allowance and Reserve Accounts (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jun. 29, 2023 | Jun. 30, 2022 | Jun. 24, 2021
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items] |  |  |
Balance at Beginning of Period | $ 7,909 | $ 7,958 | $ 6,843
Additions | 50,313 | 48,041 | 44,267
Deductions | 49,230 | 48,090 | 43,152
Balance at End of Period | 8,992 | 7,909 | 7,958
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 | 267 | 291 | 391
Additions | 54 | 122 | 203
Deductions | 38 | 146 | 303
Balance at End of Period | 283 | 267 | 291
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 | 1,150 | 1,050 | 975
Additions | 18,353 | 17,625 | 15,548
Deductions | 18,403 | 17,525 | 15,473
Balance at End of Period | 1,100 | 1,150 | 1,050
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 | 6,492 | 6,617 | 5,477
Additions | 31,906 | 30,294 | 28,516
Deductions | 30,789 | 30,419 | 27,376
Balance at End of Period | $ 7,609 | $ 6,492 | $ 6,617

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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-X (SX) -Number 210 -Section 12 -Subsection 09 -Publisher SEC Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column B)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-4 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column E)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-4 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column D)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-4 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column C(1))) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-4 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column C(2))) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-4 + 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 -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column B)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-4 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column E)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-4 + 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 -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column C)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-4 + 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 -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column D)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-4 + 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: |