Hello all,
I was looking for some functionality to add the deferral schedule to a journal line after the deferral code has been chosen.
In the purchase invoice card page this functionality is Out-of-box. See below:

I've tried to use the same code, but it is protected.
Thanks!