Dear all,
I have a requirement to update the table in subsection depending on the value entered in a field in edit mode.

Data in subsection table are coming from association in root view
association [0..*] to <orders entity> as _OpenOrders
which is configured to be shown in a facet in metadata extension
{ id: 'fgOpenOrders',
label: 'Offene Aufträge',
type: #LINEITEM_REFERENCE,
targetElement: '_OpenOrders',
position: 60
},
Currently the table in subsection is updated only after clicking save.
Is there any way to achive the refresh of subsection in edit mode after each change of the field value?
May be Side effects + Determination, but how exactly I can configure this?
Request clarification before answering.
Hi Mikhail,
you just need side effects.
<Annotation Term="Common.SideEffects" Qualifier="Field_FieldName">
<Record Type="Common.SideEffectsType">
<PropertyValue Property="SourceProperties">
<Collection>
<PropertyPath>FieldName</PropertyPath>
</Collection>
</PropertyValue>
<PropertyValue Property="TargetEntities">
<Collection>
<NavigationPropertyPath>_OpenOrders</NavigationPropertyPath>
</Collection>
</PropertyValue>
</Record>
</Annotation>
Regards,
Jessie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.