Fluent Commerce Logo
Docs
Sign In

ResetBaseVirtualPosition

Rule

Changed on:

27 Nov 2023

Overview

Resets the virtual position

Plugin NameInventory Reference Module
Namespace{{accountId}}.globalinventory

The Inventory Reference Module is the foundation for inventory related implementations. It provides reference Workflows for inventory ingestion and processing. Extensible by design, use this Module as a base to build a solution to the needs of your customers.

The inventory Modules includes the following areas:

  • Inventory Catalogue workflow
  • Virtual Catalogue workflow
  • Control Group workflow
  • Product Catalogue workflow

UI Description

Resets the virtual position

Accepts

  • VIRTUAL_POSITION

Actions

  • This rule produces a MutationAction to reset the associated virtual position's qty to 0 based on the associated inventory positions and controls

Rule parameters

This rule doesn't need any Input Parameters

Event attributes

virtualCatalogueRef

The ref of the virtual catalogue

String

Required

virtualPositionRef

The ref of the virtual position

String

Required

Exceptions

This rule doesn't generate any exceptions.

Configuration example

1{
2  "name": "FLUENTRETAIL.globalinventory.ResetBaseVirtualPosition"
3}

Language: json

Detailed Technical Description

  • Retrieves the virtual position and catalogue information from event attributes
  • Reset the quantity of the given virtual position to 0

Version History

2023-08-02

v2.0.0

refers to the plugin

Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.

Fluent Logo