Skip to Content
0
Former Member
Jan 02, 2017 at 10:43 AM

CRUD methods: Update and Create don't work...

245 Views Last edit May 27, 2020 at 08:10 AM 2 rev

Hello!

I have some questons about CRUD methods. I have OData service

/MOBILE_SRV/AllevoSat88Set(Zeile='0000000045',Version='0',Pjahr='2013',Coobject='0000009999',Setclass='0101',Kokrs='1000',Mandt='800')

Zeile, Version, Pjahr, Coobject, Setclass, Kokrs, Mandt are keys.

I can create a new object. It is my code.

But I don't have an idea how can I update my data? Actually I cannot also understand how can I add another properties ZzMinutetotal; ZzID etc. Right now it's possible to add a row with keys and all another properties automatically getting null value.

My function onUpdate() doesn't work...there are some mistakes "Cannot read property 'context' of undefined".

Thank you in advance!

Khristina

Attachments

1.png (107.8 kB)
2.png (104.6 kB)
3.png (74.3 kB)