Web Order Allocations (v7.2)

Created by Migration Bot, Modified on Fri, 23 Oct at 11:32 AM by Migration Bot

Originally written by Will Miller, last updated May 03, 2023, on the Swan Retail knowledge base (SRS).

Part of: Web Integration using the SRS API


Swan / WooCommerce

Standard API Websites

Shopify

This article outlines the allocation behaviour as of v7.2 of SRS and describes the way in which web orders will allocate from available stock throughout a multisite business.

This allocation flow is all defined in SRS and does not require a web partner to specify any of it.

This process has been further enhanced in v7.4 of SRS. Please see Multi-Branch Web Order Allocations

Features

Setup

The SRS elements that will control the allocation behaviour are:

  • Branch Maintenance - Define a webstore sales branch and it’s associated delivery branch (used as the default delivery branch)

  • Website Maintenance (New in 7.1) - Define the website

  • Web Control (New in 7.1) - Allocation tab to set up the branch sequence

  • Parameters on the web order import windows task

  • Stock Hierarchy - Default web stock branch (DWSB) and Use of web stock branch (UOWSB) set on the department/section/subsection

  • Delivery Method Maintenance - set up the methods and the branches, if used.

Allocation Flow

Web order received on the standard API. The order is loaded into SRS and the allocation sequence begins:

  1. Check for stock - Stop on the first option that is fulfilled and set the delivery branch of the web order:

    1. Hierarchy check for line 1 on the order
      If the DWSB is not blank and UOWSB on the department/section/subsection for the item is “Stock & Sales” or “Sales” then the delivery branch is set to DWSB and allocates anything available at that branch. The delivery branch is then changed to the web stock branch, creating transfers.

    2. Web Control - Full web stock allocation check.
      Can any of the branches in the allocation list allocate the whole order? If so, the branch highest up the list is used as the delivery branch and all lines are allocated.

    3. Web Control - Partial web stock allocation check.
      As the full allocations are checked, a count of the total lines allocated is recorded for each branch, then the branch with the greatest number of lines that can be allocated is used in, making it very fast.
      If web control allocations are set up but nothing is available to allocate, the first branch in the list is used as the delivery branch.

    4. Branch / Web Order Task - Default if a, b and c are not configured.
      Web stock branch OR branch defined on the web order task are used if neither hierarchy or web control are set up with allocation branches. Any items available at that the branch are allocated.

  2. Check for Purchase Order’s - Runs for items on the order that are not allocated from stock.

    1. The delivery branch of the web order is set in step 1: Check for stock.

    2. For each unallocated line, automatically review all incoming purchase orders. If there is sufficient free on-order for the whole line, allocate the line to the next incoming purchase order with free quantity.

  3. Override delivery branch - If no transfers have been created by 1.a, once the allocations are complete, change the delivery branch based on Delivery Method used for the order.
    Automated portion complete

  4. Manual intervention - Customer Order Allocation Maintenance

    1. Any items not allocated can be manually allocated from another branches stock using the functions in the stock allocation maintenance. This is typically done by first reviewing the customer order, so:

      1. Select the line in Customer Order Enquiry

      2. Press ‘Launch Allocation Maintenance’

      3. Use new buttons to allocate for transfer or on route delivery (if the stock branch is not a warehouse)

    2. Standard back ordering or allocation to new stock purchase orders are also still available.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article