I create a field HTML in Purchase Receipt Doc Type (child document of Purchase Receipt).
Depends on the row that the user choose the standard field used for update quantity received ( purchase_order and purchase_order_item.) are updated.
FIrst problem, I don’t know how to update this filed in child doctype
doctype: “Purchase Order”,
frm.set_df_property(‘html_fieldname’, ‘options’, “<table><tbody><tr><td> TEST HTML</td></tr></tbody></table>”);
I try in this case loading a static table but the field is not updated. I think that the problem is that frm.set_df_property set properitie of a field in the parent document, but I don’t know how to interact with fields of the child document that i want to modify at the opening of the window.
Anyone can help me please?