SendEventOnVerifyingAllOrderItemsProcessed
Changed on:
29 Nov 2023
Overview
The sends an to current when for all items in the , sum of `filledQty`
of fulfilments in defined statuses, `rejectedQty`
of fulfilments in defined statuses and `requestedQty`
of fulfilments in defined statuses matches the `requestedQty`
of the Items in the .
Plugin Name | Order Reference Module |
---|---|
Namespace | [[account.id]].order |
The is the foundation for order-related implementations. It provides reference workflows for , and mixed baskets and those needed to build your own. Extensible by design, use this Module as a base to build a solution to your customers' needs.
UI Description
Sends an event to current Order when for all items in the Order, sum of 'filledQty' of fulfillments in statuses defined in parameter {filledQtyStatuses}, 'rejectedQty' of fulfillments in statuses defined in parameter {rejectedQtyStatuses} and 'requestedQty' of fulfillments in statuses defined in parameter {requestedQtyStatuses} matches the 'requestedQty' of the Items in the Order.
Accepts
- ORDER
Actions
- This rule produces a sendEvent action for order.
Rule parameters
Parameter | Description |
eventName | The name of to be triggered. |
filledQtyStatuses | List of fulfilment status for which |
rejectedQtyStatuses | List of fulfilment status for which |
requestedQtyStatuses | List of fulfilment status for which |
Event attributes
This does not directly identify any attributes.
Exceptions
This will throw an IllegalArgumentException if `entityType`
is not supported.
Configuration example
1{
2 "name": "<ACCOUNTID>.order.SendEventOnVerifyingAllOrderItemsProcessed",
3 "props": {
4 "eventName": "The name of event to be triggered",
5 "filledQtyStatuses": "List of fulfilment status for which `filledQty` of the Fulfilment should be considered as processed",
6 "rejectedQtyStatuses": "List of fulfilment status for which 'rejectedQty' of the Fulfilment should be considered as processed",
7 "requestedQtyStatuses": "List of fulfilment status for which 'requestedQty' of the Fulfilment should be considered as processed"
8 }
9}
Version History
v1.0.0
refers to