Hi Experts,
I created a new context node BTDATEOP as below, which its Base Entity is BTDate. And add it to Web UI, there is no problem to input date in the field, but the value will be cleared in this field when clicking on Save button within one activity.
I did debugging and can get lv_collection in method ON_NEW_FOCUS as below under context node BTDATEOP.
- lv_collection = entity->get_related_entities( iv_relation_name = 'BTDate_T_ORDERPLANNED' ).
And can get lv_collection in method ON_NEW_FOCUS as below under context node BTDATESSET which its Base Entity is BTDatesSet.
- lv_collection = entity->get_related_entities( iv_relation_name = 'BTHeaderDatesSet' ).
Kind Regards
Andie
