cancel
Showing results for 
Search instead for 
Did you mean: 

How do I created a deep entity in an MDK app

Facundo_Quevedo
Explorer
0 Kudos
70

Hi experts, I have a new requirement for a deep insert. I don't quite understand how to do this in mdk.

I need to create a PM order and operation (Offline). If anyone can help, it would be greatly appreciated.

View Entire Topic
bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Typically you would call CreateEntity for the PM Order and the call CreateRelatedEntity for the Operation to associate it to the PM Order.  You can optionally include both of these in a Change Set to guarantee they go together to the backend and use pending references to access the new key assuming the backing is assigning key values and if needed in the Operation Set depending on your Odata model.