Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <EntityType Name="T024">
- <Key>
- <PropertyRef Name="ID_PERSONNEL"/>
- </Key>
- <Property Name="FIRSTNAME_PERSONNEL" Type="Edm.String"/>
- <Property Name="ID_PERSONNEL" Type="Edm.String" Nullable="false"/>
- <Property Name="LASTNAME_PERSONNEL" Type="Edm.String"/>
- <NavigationProperty Name="T027Details"
- Relationship="AtosForm.T027_T024_Many_Many0" FromRole="T024"
- ToRole="T027"/>
- </EntityType>
- <EntityType Name="T027">
- <Key>
- <PropertyRef Name="ID_PLANNING"/>
- </Key>
- <Property Name="ID_PLANNING" Type="Edm.Int32" Nullable="false"/>
- <Property Name="BEG_DATETIME" Type="Edm.DateTime"/>
- <Property Name="END_DATETIME" Type="Edm.DateTime"/>
- <NavigationProperty Name="T024Details"
- Relationship="AtosForm.T027_T024_Many_Many0" FromRole="T027"
- ToRole="T024"/>
- </EntityType>
- var oUpdatePersonnel = {};
- oUpdatePersonnel.T027Details = {
- __metadata: {
- uri: "/T027s(4)"
- }
- };
- oModelCont.update("/T024s('T02400000')",oUpdatePersonnel, {
- success: function(oData) {},
- error: function(oError) {}
- });
Add Comment
Please, Sign In to add comment