Whenever any retailer enters into an agreement, evidenced by a written or oral contract, with a supplier wherein the retailer agrees to maintain an inventory of parts and to provide service and the contract is terminated, then the supplier shall repurchase the inventory as provided in this part. The retailer may keep the inventory if the retailer desires. If the retailer has any outstanding debts to the supplier, then the repurchase amount may be set off or credited to the retailer's account.
T.C.A. § 47-25-1303