Open iliyan-velichkov opened 8 months ago
As workaround, I will just remove the "Not Null" for all DateAdded columns in the edm for now.
@iliyan-velichkov I'm not 100% that this would help, but could you try to change the expression from:
Date.now()
to
new Date()
As the first returns a number and the second returns a Date object.
@iliyan-velichkov I'm not 100% that this would help, but could you try to change the expression from:
Date.now()
to
new Date()
As the first returns a number and the second returns a Date object.
I think this was failing because there is no field DateAdded
not because its value is wrong.
@iliyan-velichkov Okay now I see that the value in model for Calculated property expression for Update
is empty and in the example you are doing upsert()
which results in a update()
. Could you check if by adding the expression for update would solve the issue?
During the Electra inbound synnchronization, I'm trying to create a Customer entity with the following fields:
using the following code:
but the DAO fails to validate it becaue there is no DateAdded.
I expect that this field should be calculated if there is no existing entry (Create) and remain the same if it is an update.