Table with measurements
- 1) Client reads dataset “ValueToMeasureSet” :
ID | ValueToMeasure | MeasuredValue | AreValuesInRangeStatus |
Id1 | ValueToMeasure1 |
|
|
Id2 | ValueToMeasure2 |
|
|
… | … | … | … |
- 2) Client updates data set to serwer:
ID | ValueToMeasure | MeasuredValue | AreValuesInRangeStatus |
Id1 | ValueToMeasure1 | 1300 |
|
Id2 | ValueToMeasure2 | 1800 |
|
… | … | … | … |
- 3) Client wants to know AreValuesInRangeStatus, client reads dataset one more time
ID | ValueToMeasure | MeasuredValue | AreValuesInRangeStatus |
Id1 | ValueToMeasure1 | 1300 | Ok |
Id2 | ValueToMeasure2 | 1800 | Not ok |
… | … | … | … |
Am I right that there should be Odata CRUDQ operations like below?:
- 1) Query
- 2) Update
- 3) Query
Please comment this approach with pointing good practices. Maybe i should change approach ?
I thought about Function import operation (it could be one call instead of 2) and 3)), but Function import support only simple type as input.
BR
Lucas