on 2019 Feb 20 5:09 PM
Hi all,
I have a requirement to update organisational unit parent org. unit assignment in C4C.
I am using standard odata service (c4codataapi) for this purpose.
entity: OrganisationalUnitParentOrganisationalUnitAssignment
property that i am trying to update: OrganisationalUnitID
I' ve also checked metadata of my property tham i am trying to update.
<Property Name="ParentOrganisationalUnitID" Type="Edm.String" Nullable="false" MaxLength="20" FixedLength="true" sap:creatable="true" sap:updatable="true" sap:filterable="false"/>
I am sending a PATCH request with the following path and with json data
/sap/c4c/odata/v1/c4codataapi/OrganisationalUnitParentOrganisationalUnitAssignmentCollection('<uuid>')
{
"ParentOrganisationalUnitID": "<new_parent_orgunit_id>"
}
Response http status code 204
But i am not able update ParentOrganisationalUnitID.
When i am trying with the following json, to update ParentOrganisationalUnitID and StartDate at the same time,
i am able to update both properties with new values.
{
"ParentOrganisationalUnitID": "<new_parent_orgunit_id>",
"StartDate": "<new_start_date>"
}
But i want to update just ParentOrganisationalUnitID of my entity.
Am i missing something, or is it about implementation of services in backend?
Best regards,
Emre
Request clarification before answering.
Thank you very much for pointing to this. A fix can be expected with HFC 3, that should be released 14th of March.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.