Hello,
For the MMS001/G form we have a custom script that works well in the classic UI but does not work in a new UI.
And the aim is to have the script compatible with both UIs.
The script maintains two custom fields.
The first field is located on row 24 (pRow24).
But the second field is on the custom row 25 (pRow25). The custom row is created because by default MMS001/G contains only 24 rows.
Classic UI result below:

Having the following code for classic UI:
...
/* classic UI create custom row start */
const $div = document.createElement('div');
$div.setAttribute("id", "pRow" + 25);
$div.setAttribute("class", "lawsonModuleRow");
this.controller.GetContentElement().GetContentBody()["0"].appendChild($div);
/* classic UI create custom row end*/
/* Add Label Bolt/Nut Type and Outlet/Option */
this.addLabel("Bolt_NutTypeLbl", "Bolt/Nut Type", 24, 40, "158px");
this.addLabel("Outlet_OptionLbl", "Outlet/Option", 25, 1, "158px");
...
Can anybody advise how to create a custom row for a new UI?

Thanks!
Ivan