Compared to the export of the complete form,
it looks like the export of UXFIELD via entitycopy doesn't include all the properties.
The test below doesn't show all missing information, but narrows the problem area.
Uli
The form export has (loss by entitycopy in bold):
<OCC>
<DAT name="ULABEL">P_ADD2SET</DAT>
<DAT name="GRP">HEADER</DAT>
<DAT name="UBASE">USYS</DAT>
<DAT name="UFORM">U8Y_TUT_D1</DAT>
<DAT name="UKVERSION">6</DAT>
<DAT name="UMVERSION">4</DAT>
<DAT name="U_DTYP">S</DAT>
<DAT name="IS_STATIC">T</DAT>
<DAT name="IS_CONTROL">F</DAT>
<DAT name="DATA_SYNTAX">NED,NPR</DAT>
<DAT name="U_INT">C2</DAT>
<DAT name="UINHERIT">F</DAT>
<DAT name="USCRIPT" xml:space='preserve'>trigger detail
call <$entname>_dispatch_TRIGGERS("<$fieldname>","DTLF")
end
</DAT>
<DAT name="INITVALUE" xml:space='preserve'>%2 add entity to actual set</DAT>
<DAT name="FRM_WIDGETTYPE">UNIFACEBUTTON</DAT>
<DAT name="DSP_WIDGETTYPE">EDITBOX</DAT>
<DAT name="USP_WIDGETTYPE">U_INPUT</DAT>
</OCC>
while the entitycopy has only:
<DAT name="ULABEL">P_ADD2SET</DAT>
<DAT name="GRP">HEADER</DAT>
<DAT name="UBASE">USYS</DAT>
<DAT name="UFORM">U8Y_TUT_D1</DAT>
<DAT name="UKVERSION">6</DAT>
<DAT name="UMVERSION">1</DAT>
<DAT name="U_DTYP">S</DAT>
<DAT name="UINHERIT">F</DAT>
<DAT name="USCRIPT" xml:space='preserve'>trigger detail
call <$entname>_dispatch_TRIGGERS("<$fieldname>","DTLF")
end
</DAT>
<DAT name="INITVALUE" xml:space='preserve'>%2 add entity to actual set</DAT>
<DAT name="FRM_WIDGETTYPE">UNIFACEBUTTON</DAT>
<DAT name="DSP_WIDGETTYPE">EDITBOX</DAT>
<DAT name="USP_WIDGETTYPE">U_INPUT</DAT>
</OCC>