How can I change default currency?
Ex: total_claimed_amount, field type is Currency and USD as default. I want to change it depend on currency I choose.
Value $ 800, if you choose currency MMK, it will change to MMK 800.
before it worked
cur_frm.set_df_property(“total_claimed_amount”,“default”, “MMK”);
refresh_field(“field_name”);
Shouldn’t be TABLE Doctype NAME => LINK DOCTYPE NAME (Table option link name) , i tried the code which make me always hit error if i include Table Name… work fine when i put Link Doctype Name~
This solution also not sufficient, i used it but did not able to solve my problem it works but for the current row, after save and refresh all the options will be cleared,
We can use stander property setter to achieve this
Just loop through the child table record and add following code.