Hi Tri,actually, your code works for me. No syntax error in Web IDEelse try this:_calculateTotalHours: function(oResult) {
return oResult.results.reduce((total, currentValue) =>
{ return total + parseFloat(currentValue.Hours).toFixed(2) }, 0)...
Hi, have a look at this, it might help you:https://answers.sap.com/questions/323063/date-value-is-getting-reduced-by-one-day-while-pas.html?childToView=324306#answer-324306Best Regards
Hi Glady,
sorry I can not help further. From your comments, everything looks ok to me too. What I can think of is trying to make sure you had cleaned all the caches (browser and abap system), this is often the cause of the all headaches.And maybe y...
Hi Glady,
as i understand, you did extend the model without redefining the service.Did you create a standalone annotation model and reference it to the standard service?