The first part is correct.
Secondly, the column acct_ccy_deci_plac has to be updated with the value in currency.ccy_deci_plac when currency.iso_ccy_cod = preformat.acct_ccy_cod.

I hope that I am clear.

Thanks.