Sale of Corporation with deferred payments

Sales of corporation in 2022 with payouts over three years.  Do I record the full Sale on 2023 Schedule 3 and then use T2017 to report the reserve?