Fluent Commerce Logo
Docs

Create Multiple Articles for a Fulfilment

How-to Guide

Author:

Fluent Commerce

Changed on:

30 Jan 2024

Key Points

  • Create Multiple Articles for a Fulfilment

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 the RETAILER level.

Step arrow right iconPick Confirm

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

Step arrow right iconWave Complete (Wave Dispatch)

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.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 iconWaveDispatchInitiated

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