on 2024 Apr 04 5:07 PM
Dear Colleagues,
I am building a CAPM project where I have Date type(type: Date or Timestamp) field in my cds. I want this field to be Nullable because whenever I try to save the UI with null values it throws error as below
Deserialization Error: Invalid Value Z(String) for property.....
Since, Date field is optional I would like to mark it as Nullable so that error is no shown while creating the records.
Kindly Help.
#capm #cds
Request clarification before answering.
Apparently your UI sends "OnStockDate":"Z" to the backend if the input field is empty instead of sending "OnStockDate":null.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
53 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.