REST API / SOAP Service to create Production Exception on Work Order Operation level
Need REST API / SOAP Service to create Production Exception in Quality Module on Work Order (MFG) - Operation level.
We tried KB37699 with no luck. We are able to PE without being associated to any Work Order. But we want to associate WO Operation number to the PE. Tried with "AffectedObjects" payload as well, but it did not worked out.
Examples:
Approach1 : /fscmRestApi/resources/11.13.18.05/qualityIssues
{
"Name": "PE001",
"QualityTypeCode": "HMO Quality Issue",
"Severity": "ORA_HIGH",
"Downtime": 0,
"Source": "ORA_MANUFACTURING",
"OrganizationCode": "HMO",
"WorkflowTemplateId": 2000,
"AffectedObjects": [
{
"Status": "ORA_OPEN",
"SupportedEntityCode": "ORA_WORK_OPERATION",
"SupportedEntityName": "ORA_INHOUSE",
"ContextId": 300000131605178,
"ContextCode": "G1353 - 60"
}
]
}
Response : "Attribute SupportedEntityId is required"