Guest User

Untitled

a guest
Jun 25th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. <EntityType Name="T024">
  2. <Key>
  3. <PropertyRef Name="ID_PERSONNEL"/>
  4. </Key>
  5. <Property Name="FIRSTNAME_PERSONNEL" Type="Edm.String"/>
  6. <Property Name="ID_PERSONNEL" Type="Edm.String" Nullable="false"/>
  7. <Property Name="LASTNAME_PERSONNEL" Type="Edm.String"/>
  8. <NavigationProperty Name="T027Details"
  9. Relationship="AtosForm.T027_T024_Many_Many0" FromRole="T024"
  10. ToRole="T027"/>
  11. </EntityType>
  12.  
  13. <EntityType Name="T027">
  14. <Key>
  15. <PropertyRef Name="ID_PLANNING"/>
  16. </Key>
  17. <Property Name="ID_PLANNING" Type="Edm.Int32" Nullable="false"/>
  18. <Property Name="BEG_DATETIME" Type="Edm.DateTime"/>
  19. <Property Name="END_DATETIME" Type="Edm.DateTime"/>
  20. <NavigationProperty Name="T024Details"
  21. Relationship="AtosForm.T027_T024_Many_Many0" FromRole="T027"
  22. ToRole="T024"/>
  23. </EntityType>
  24.  
  25. var oUpdatePersonnel = {};
  26. oUpdatePersonnel.T027Details = {
  27. __metadata: {
  28. uri: "/T027s(4)"
  29. }
  30. };
  31. oModelCont.update("/T024s('T02400000')",oUpdatePersonnel, {
  32. success: function(oData) {},
  33. error: function(oError) {}
  34. });
Add Comment
Please, Sign In to add comment