Order Fulfillment events are created and sent by the OrderChangeHandler in the Order Fulfillment system. The OrderChangeHandler listens to the various ModifyOrderNotifications being delivered in the system and constructs one of three basic events:

Events

SubType

OrderModified

FINISHED
HASUNAVAILABLEDITEMS
PENDING_MERCHANT_ACTION
REMOVED

ShippingGroupModified

SHIPPED
SPLIT
SPLITFORSHIPPING
SPLITFORFULFILLER
PENDING_MERCHANT_ACTION
REMOVED (if subtype is removed, then) the shippingGroup property will be null.

PaymentGroupModified

CREDITED
DEBITED
DEBIT_FAILED

Note: The OrderChangeHandler component includes a property called sendEventsWithNoProfile. If this property is set to false, the sendScenarioEvent() method does not send events if the profile is null.

These three basic messages are sent with their subtypes set according to the reason it is being sent.

Actions in Oracle ATG Web Commerce include the delivery of promotions when certain conditions are met. For example, give a promotion to the user if the OrderFinished event contains an order whose total is greater than $50.

Other actions include sending e-mails to a customer about progress of their order. For example, an e-mail sent indicating that a shipping group has been shipped. This e-mail might include information about when the shipping group will be received and the tracking information.

The information necessary for the actions should be in the profile, order, payment group, or shipping group objects that are included in the event. See the list below for a list of the objects included in each of the messages.

The following extend Scenario Event and include the profile and the JMS type.

Message type

Objects included

OrderModified

Includes profile, order and an array of ShippingGroupCommerceItemRelationships.

ShippingGroupModified

Includes the profile, order, shipping group, and new shipping group.

PaymentGroupModified

Includes the profile, order and an array of the payment groups.