Basis of Statement Presentation Prior Periods (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2022
Apr. 30, 2021
Apr. 30, 2022
Apr. 30, 2021
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Cost of Sales $ (70,131) $ (61,289) $ (210,397) $ (176,417)
Selling, General and Administrative Expense (14,013) (13,035) (41,054) (39,083)
Corporate Expenses (6,630) (6,345) (19,603) (17,947)
Business to Business Products        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Segment Income 5,716 6,421 20,052 20,816
Retail and Wholesale Products        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Segment Income $ (3,113) 1,855 $ (2,113) 8,483
Previously Reported        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Cost of Sales   (59,732)   (171,853)
Selling, General and Administrative Expense   (14,592)   (43,647)
Corporate Expenses   (8,113)   (23,140)
Previously Reported | Business to Business Products        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Segment Income   7,146   23,005
Previously Reported | Retail and Wholesale Products        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Segment Income   2,898   11,487
Reclassification        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Corporate Expenses   211   629
Reclassification | Business to Business Products        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Segment Income   (161)   (479)
Reclassification | Retail and Wholesale Products        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Segment Income   (50)   (150)
Corrections        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Cost of Sales   (1,557)   (4,564)
Selling, General and Administrative Expense   1,557   4,564
Corporate Expenses   1,557   4,564
Corrections | Business to Business Products        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Segment Income   (564)   (1,710)
Corrections | Retail and Wholesale Products        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Segment Income   $ (993)   $ (2,854)