Same Financial dimensions for Journal Movement & their lines

Hi guys,

I’m a begginer in financial dimensions, I have a question, this is my case: I have to copy the financial dimensions from the journal movement to their lines, I mean if the one of the financial dimensions is changed in the journal movement I have to change the same value for all their lines.

For example in the image below, How I can assign the same values of the financial dimension of the journal movement to their two lines when the user is changing or inserting the value for the financial dimensions?