The value of the attribute ParentEntityId isn't valid.
Summary:
The value of the attribute ParentEntityId isn't valid.
Content (please ensure you mask any confidential information):
Hi,
While Creating DBrief from REST API using POST method: /fscmRestApi/resources/11.13.18.05/debriefs
We keep getting error: The value of the attribute ParentEntityId isn't valid.
Whereas we are passing this value as Service Worker Order Id and this Service Work Order exists in the system.
The Complete Payload is:
{"AssetId": 300000007737442, "BillToPartySiteId": 300000005110260, "BUOrgId": 300000009458834, "CustomerAccountId": 300000005110258, "DebriefHeaderId": 300000014248359, "DebriefNumber": "WO-0000014008", "DebriefStatusCode": "NEW", "FreezePrice": null, "ObjectVersionNumber": 7, "ParentEntityCode": "EC_WO", "ParentEntityId": 300000014248355, "ParentEntityName": "WO-0000014008", "PartyId": 300000005110256, "ProductItemId": 300000006379879, "ProductSerialNumber": "LZYTMTG66P1001210", "TechnicianPartyId": 300000009111230, "ProductItemNumber": null, "BUName": "Technical Shared Services BU", "TechnicianPartyName": "Default Resource", "CustomerName": "Public transport N", "CustomerAccountNumber": "12", "AssetNumber": "118502", "ParentEntityCodeMeaning": "Service Work Order", "ParentEntityNumber": "WO-0000014008", "CostOrganizationName":