We hadn't tested this scenario before, so the issue only came up quite late when we encountered a specific use case.
We needed to perform an exact-match query on a field of type DECIMAL in the backend. The frontend uses . as the decimal separator, while the backend uses ,.
We noticed that BaseVersion = 2.1 doesn't work, but BaseVersion = 2,1 does.
While investigating, we found the following code in Service.cls -> FetchDataRequestFromFilter, which seems to be an attempt to handle a similar issue:
...
oEntity:FetchDataset (output dataset-handle hDataset) .
/* SCL-514: Perform JSON Serialization/Deserialization with AMERICAN
numeric format to avoid issues with decimal point interpretation */
oFormat = SessionHelper:GetNumericFormat() .
SessionHelper:SetDefaultNumericFormat() .
lcFilter = pcFilter .
This raises a few questions
Is ablFilter expected to support decimal values using . as the separator, or is the 2,1 format the only supported option?
Could we be missing some localization or numeric format configuration in the backend?
Or is this something we should handle in the frontend (which seems unlikely)?
Ideally, we'd like to understand where decimal separator handling is supposed to happen and whether the current behavior is expected or a bug.