Navigate to the Reconciliation section -
Scroll to the bottom - Item 7R. 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:
Company Losses (Carried Forward Loss)