Skip to Content
0

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

Jan 02, 2017 at 10:43 AM

134

avatar image

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers