2026 May 26 2:34 PM - edited 2026 May 26 2:36 PM
Hi.
currently I have to implement a List View. The requirement is to use default values for a couple of fields. One default value should be defined on a quantity field greater than 0.
I tried to use @Former Member.selectionVariant in my Metadata Extension like this:
@ui.selectionVariant: [{ qualifier: 'sVariant', filter: ' MaterialBaseUnit EQ ST
AND MatlWrhsStkQtyInMatlBaseUnit gt 1
AND Plant EQ 0020
AND ( StorageLocation EQ 0001 OR StorageLocation EQ 0002 ) ' } ]For Plant, StorageLocation and MatreialBaseUnit everything works fine. Only for the quantity field MatlWrhsStkQtyInMatlBaseUnit the '1' is not taken over in the filter default values. Only '>' is taken over.
Just to ensure:
So from my perspective this issue seems to be related to the quantity field.
Any Ideas?
Thanks,
Stefan
Hi.
currently I have to implement a List View. The requirement is to use default values for a couple of fields. One default value should be defined on a quantity field greater than 0.
I tried to use @Former Member.selectionVariant in my Metadata Extension like this:
@ui.selectionVariant: [{ qualifier: 'sVariant', filter: ' MaterialBaseUnit EQ ST
AND MatlWrhsStkQtyInMatlBaseUnit gt 1
AND Plant EQ 0020
AND ( StorageLocation EQ 0001 OR StorageLocation EQ 0002 ) ' } ]For Plant, StorageLocation and MatreialBaseUnit everything works fine. Only for the quantity field MatlWrhsStkQtyInMatlBaseUnit the '1' is not taken over in the filter default values. Only '>' is taken over.
Just to ensure:
So from my perspective this issue seems to be related to the quantity field.
Any Ideas?
Thanks,
Stefan
2026 May 28 7:37 PM
Do you need interval? If no then try using this
@Consumption.filter.selectionType: #SINGLE
| User | Count |
|---|---|
| 5 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |