Skip to Content
avatar image
Former Member

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

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

1.png (107.8 kB)
2.png (104.6 kB)
3.png (74.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers