Navigate to "Deduction" Section
Scroll to the bottom - Item M1. Apply the necessary loss here that either utilises all the retained losses or utilises enough of the retained losses that the profit reduces exactly to zero. Modify your carried forward losses schedule as required.
Related Article: SMSFAR - Carried Forward Loss