Error Types for Inventory Actions
You can encounter validation, run, or internal type of errors when your plugin performs an action.
Validation Errors
Type | Occurs When | Available Message Fields |
---|---|---|
TYPE_ACTION_ERROR | Actions have an invalid format or are inapplicable |
|
TYPE_ACTION_PARAM | Action param has an invalid value or mandatory param is missing |
|
TYPE_ACTION_PROPERTY | Value of a property submitted by the plugin to be updated in the "properties" param, has an invalid value |
|
Run Errors
Type | Occurs When | Available Message Fields |
---|---|---|
TYPE_ACTION_FAILED | Action is rejected due to incorrect value of action params, which can't be checked at the validation stage |
|
Internal Errors
Type | Occurs When | Available Message Fields |
---|---|---|
TYPE_INTERNAL | Oracle Fusion Field Service is unable to process
the message due to an unexpected change of the system's state. Doesn't contain information about the action, which caused it. Both actions and entity collection updates may lead to such errors. |
NA |
entity: Entity type on which the action is performed ("inventory")
entityId: Id of the entity, which is updated by action (equals invid for inventory, for example, "10028719")
actionId: Zero-based order number of erroneous action in the actions list, sent by the plugin. For example, 0, 1, 17.
paramName: Name of the action parameter, whose value is invalid, for example, "entity", "inv_aid".
propertyLabel: Label of the property, whose value is invalid, for example, "customer_number", "WO_TYPE".