Hello,
I have a form BomPartOf. From it I call form BomConsistOf.
I need to make some formcontrols editable or not editable depending on the calling form name (in my case it is BomPartOf). How to achieve that? I need to write something like this on the called form BomConsistOf:
element.args().caller().
But after that I don't know how to refer to form's BomPartOf name. Applying to
element.args().receord().tableid
is not an option as I see because I need to be sure that this logic will work only if BomConsistOf is called from BomPartOf form precisely. So I need to refer to the NAME of the form BomPartOf.
Also I need to get buffer of the bomVersion datasource table on the form BomPartOf (it's not a main datasource, main datasource of the form BomPartOf is BOM). HOw to do that?
Thanks.