Set currency labels for child table field

Hello;

How I can use set_currency_labels for child table field?

Regards
Bilala

I found the code:

frm.set_currency_labels([“field_name_1”, “field_name_2”, …], frm.doc.field_name_currency, “table_name”);

Example:

frm.set_currency_labels([“base_supp_total_bv”, “base_supp_vat”], frm.doc.company_default_currency, “items”);

Regards
Bilal

1 Like