Message
Error on action request (PX.Data.PXInvalidOperationException).
Cause
This can have multiple different causes, for the specific instance below, it seems to be related to a misconfiguration, specifically that 'The Confirm Shipment button is disabled'.
Resolution
Either the operation itself is invalid, i.e. shouldn't exist, or the button being disabled is preventing the valid operation from completing. If it's the button being disabled, the configuration should be revised to allow the operation to proceed, if it's the operation, the workflow execution of operations should be revised.
Error Detail
{
"message": "Error on action request",
"statusCode": 500,
"errorMessage": "An error has occurred.",
"requestUrl": "https://trumxxxxxxxxx.co.za/trumanorangeUpgrade/entity/Default/22.XXX.XX1/Shipment/ConfirmShipment",
"error": {
"message": "An error has occurred.",
"exceptionMessage": "Operation failed",
"exceptionType": "PX.Data.PXInvalidOperationException",
"stackTrace": "...",
"innerException": {
"message": "An error has occurred.",
"exceptionMessage": "The Confirm Shipment button is disabled.",
"exceptionType": "PX.Data.PXActionDisabledException",
"stackTrace": "..."
}
}
}