Fluent Commerce Logo
Docs

Create Multiple Articles for a Fulfillment

How-to Guide

Author:

Fluent Commerce

Changed on:

30 Jan 2024

Key Points

  • Create Multiple Articles for a Fulfillment

Steps

Step arrow right iconPrerequisites

Enable multiple articles for a location by setting the PACKAGING attribute on the location.NOTE: Ensure that the GLOBAL_INVENTORY_ENABLED setting is set to true on RETAILER level.

Step arrow right iconStep 1

When the Confirm Order button is clicked in ServicePoint a WaveDispatch event is triggered against the WAVE (LOCATION workflow) which contains the multi-article information: WaveDispatch

Step arrow right iconStep 2

  • In the Location workflow the WaveDispatch ruleset and corresponding rules will be executed. In the default workflow this ruleset changes the wave status and notifies the corresponding fulfilments with a WaveDispatchInitiated event (see rule SendEventForAllFulfilmentsFromWave). This rule currently does not forward any article attributes to the fulfilment.
In order to enable the multi-article creation the rule needs to be replaced to forward the article details as attributes set in the event.NOTE: The SendEventWithAttributesForAllFulfilments rule is a V1 rule and should be migrated to a V2 rule. However, it only sends an event and does not perform any GQL actions.Sample event sent to a fulfilment:

Step arrow right iconStep 3

In the order workflow the rule CreateArticlesForFulfilment can be used to create the corresponding articles
Fluent Commerce

Fluent Commerce