XML 81 R65.htm IDEA: XBRL DOCUMENT v3.23.2
ALLOWANCE FOR CREDIT LOSSES ON TRADE RECEIVABLES (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 01, 2023
Jul. 02, 2022
Jul. 03, 2021
Allowance for Doubtful Accounts      
Balance at beginning of period $ 70,790 $ 117,695 $ 334,810
Adjustments to costs and expenses 35,655 (15,494) (152,740)
Customer accounts written off, net of recoveries (61,964) (23,823) (45,230)
Other adjustments 1,118 (7,588) (19,145)
Balance at end of period $ 45,599 $ 70,790 $ 117,695