FORM A is the Payment journal form, FORM B is a new form and is ran when you click on a menu item in FORM A.
This FORM B is used to calculate and update some values in FORM A, my problem is when closing the FORM B i am not finding the new values in the journal line (FORM A) unless i do one manipulation like going to the second line, only at this moment the form is refreshed .
You should write your code in a way that when you press OK on form B then it should update values in payment journal which is form a. In standard navision go to item journal for example, there are several functions which call codeunits,process reports and forms to update values in item journal. See how that work and apply in your customization. Good luck.