I would like to add an automatic printing option to the status change of my production order.
I created an extension of the page 99000882 (Change Status on Prod Order) with the checkbox but I do not know how to recover the value entered by the user.

I have an event after the page call in codeunit 5407 (Product Order Status Management): OnAfterChangeStatusOnProdOrder (ProdOrder, ToProdOrder) but I do not know where to pass information from my checkbox
Does anyone have the solution without changing the CAL code?
Thank you in advance