capacityAvailability event
CALCULATE_CAPACITY_AVAILABILITY, must be configured and scheduled to
run at least daily, preferably, at the end of day. For more information, see Calculate capacity
availability.The data that is published as part of this event contains total capacity as well as remaining
capacity per Item-Node combination for each Date/Shift configured for all the resource pools. The
availability is calculated for each day. The number of days to consider for the capacity calculation
is configurable. For more information, see Defining capacity rules. The
CALCULATE_CAPACITY_AVAILABILITY agent calculates the capacity and stores in the
YFS_CAPACITY_AVAILABILITY table. When any capacity availability record is either
inserted or updated in the table, the capacityAvailability event is invoked to
publish that data. The data in the table is converted to a format as a JSON message and
synchronously posted using an SDF service, unlike other transactional events. The SDF service name
to be invoked for the event is defined in the integration properties file.
The capacityAvailability event is published conditionally, if the capacity
organization belongs to an enabled enterprise, the availability is changed by the
CALCULATE_CAPACITY_AVAILABILITY agent, and the resource pool is for
Purpose=INVENTORY.
Event schema
This event is a batch event where each batch contains one capacityAvailability
event. The event contains inventory capacity availability information for a given resource pool and
ShipNode-Date combination.
Refer capacityAvailability Schema for event data in JSON format.