Originally written by John Hardwick, last updated Oct 24, 2023, on the Swan Retail knowledge base (FRS).
Based on SwanFRS release version 1207
Overview
SwanFRS can be configured to automatically allocate available stock to a sales order as it is being processed thus improving the stock turn and ensure the appropriate goods are allocated to the order.SwanFRS offers two method of stock allocation.
-
Manual - The operator is allows to view ‘free to sell’ stock and make the decision as to which item is to be allocated to a sales order.
This concept works well for companies operating a smaller number of locations however for larger establishments or for companies where a more formal method of controlling stock usage is required SwanFRS offers an auto stock allocation feature.
-
Automatic - The operator has restricted choice of stock with SwanFRS making the majority of the decisions relating to how stock is allocated to sales.
This concept works well for larger operations perhaps with many locations.
When operating with automatic stock allocation, the system can be instructed to choose the oldest item of free to sell stock and allocate that to a sale.
This document details the configuration and operation of the automatic stock allocation feature.
Configuration
Parameters
Menu Location: System Admin > Set Up Application Parameters
There are several places within SwanFRS where cash transactions can be processed.
|
USE_STOCK_ALLOCATIONS_CONTROL |
Tick to turn this feature on and allow SwanFRS to automatically allocate free to sell stock. Unticked allows the the operator to choose which item is sold. |
|
MAXIMUM_STOCK_HOLDING_WEEKS |
When set this field is used to ensure stock isn’t reserved against a sales order prematurely. Integer values in the range 0 to 99 are allowed. (Where 0 indicates the control is switched off). |
Roles
Menu Location: System Admin > Security > Set Up Roles
See Set Up Roles
|
SETUP_LOCATION_HIERARCHY |
This privilege is required to access the maintenance routine used to control which stock is auto-allocated when. |
|
CAN_REVIEW_STOCK_ALLOCATIONS |
This privilege offers the operator the option of re-running the auto stock allocation process and to choose from a controlled list of alternatives the stock to be assigned to the sale. |
Product Categories
Menu Location: System Admin > Products > Set Up Categories
It is possible to set auto stock allocate to search by stock category.
Categories do not impact on whether stock is available to sell, for example however they can be used to group stock and therefore, via the category, it is possible to set special conditions for specific categories of stock.
Location Hierarchy
Menu Location: System Admin > Sales > Set Up Location Hierarchy
This routine holds a series of conditions which are applied either when the sale is being created or just before the sale is accepted to allocate free to sell stock to the order, where applicable.
There are three levels of control
-
Operator control - The operator will be allowed to take stock from any visible location.
All clauses are to be ignored. I.e. the salesperson can choose which stock item to sell.
-
Line control - The system will allocate stock as the line is edited / added to the sales order.
When operating in this mode any statement will be applied with a ‘clause control’ of part even if set to ‘whole’.
-
Order control - The system will allocate stock to the sales order when accepted.
Stock will be allocated at point of acceptance not authorisation if operating with dual approvals.
Operation
Auto Allocation Protocols
Once configured, the operator will not be able to select free-to-sell stock from a location other than their own selling location and will have no access to free-to-sell purchase orders.
In this mode, the operator will only be able to sell ‘demand’ items except for stock held locally (physically available in the selling location and flagged as free to sell - in other words stock the salesperson can actually see).
The operator my sell any item marked as ‘imperfect’ or ‘marked down’ in any of the operator’s visible locations.
When set to order line control as the line is added to the order, or if operating in order control once the order has been accepted the system will attempt to replace the demand with free-to-sell stock working down the list of statements set for the selling location.
Whether operating with order line or order control there are effectively 6 combinations of control
Stock Allocation for the Whole Sales Order
Line control
The recently amended demand order line, (and optionally linked to a product category included in the statement) is to be fulfilled from free to sell stock held within the statements stock holding location.
Order control
Every demand line on the sales order (optionally linked to the specified product category) must be fulfilled from free to sell stock held within the statements stock holding location.
This clause will fail if one or more demand item cannot be fulfilled from stock held in the stock holding location.
Free to sell stock excludes marked down, imperfect and stock not available to sell.
Matching will include all options. Text box options must match with all text converted to lower case for matching purposes.
Stock is allocated using the ‘oldest first’ principle. I.e. the system will allocate the oldest suitable item of stock in the stock holding location first.
Stock Allocation matching against any Sales Order Line
This clause instructs SwanFRS to find, on a line by line basis, matching free to sell stock item available in the stock holding location (matched using options where applicable).
When operating in selling location order control the statement will be applied to each demand line on the sale in turn, converting demand to stock where possible.
Once all sales order lines have been checked the next statement will be applied.
Matching will include all options. Text box options must match with all text being converted to lower case for matching purposes.
Stock is allocated using the ‘oldest first’ principle. I.e. the system will allocate the oldest suitable item of stock in the stock holding location first.
This clause will fail if one or more demand item cannot be fulfilled from stock held in the stock holding location.
Single PO against the Whole Sales Order
Line control
The recently amended demand order line, (where linked to the statements product category) is to be fulfilled from free to sell purchase order due into the statements stock holding location.
Order control
Every demand line on the sales order (linked to the specified product categories) must be fulfilled from free to sell stock on a single PO due into the statements stock holding location.
This clause will fail if one demand item cannot be fulfilled from the same PO.
The routine will only consider order lines with matching product groups for this statement.
Only purchase orders planned to be receipted into the statements stock holding location or POs with a destination set to the stock holding location will be considered and only stock on-order which is free to sell. Any stock flagged as ‘not saleable’ will be excluded as will goods with a predefined ‘onwards ship location’
The system will use the purchase orders expected receipt date to sequence the order in which PO are searched working backwards from the sales order required date to the current date to reduce stock holding.
If no suitable POs are found the statement will fail.
Single PO matching against any Sales Order Line
As per single PO & whole with the exception that if the PO with the exception that each demand line is checked in isolation.
The entire demand on the sales order line must be capable of being fulfilled from a single PO.
Multiple POs against the Whole Sales Order
Not available with selling location order line control
The routine will process each order line fulfilling demand from any suitable PO due in for the statements stock holding location.
If one or more demand item cannot be fulfilled using a PO due in at the statements stock holding location the statement will fail. I.e. multiple POs can be used but they must all be due in at the statements stock holding location.
The routine will only consider stock linked to product groups specified in the statement and will work backwards from the orders required date to ensure the most appropriate PO is used.
Matching demand to stock will include options.
Multiple POs matching against any Sales Order Line
In this mode, the system will change a demand order line into on-order goods if the purchase order fulfils the order line quantity.
The routine will not split demand on a sales order line into two – the order line demand quantity must be fulfilled from a single PO order, but multiple purchase orders may be used to fulfil the complete purchase order.
This statement will be applied even if some order lines cannot be fulfilled.
The routine will only consider stock linked to product groups specified in the statement and will work backwards from the orders required date to ensure the most appropriate PO is used.
Matching demand to stock will include options.
If an order contains product linked to a product category which is excluded from the statement it will be excluded from the test, product categories included in the statement must satisfy the statements conditions.
Any item that cannot be fulfilled from a pre-defined search ‘statement’ will remain as a demand item which may result in a purchase order being raised to fulfil demand.
Purchase Order Search Sequencing
The auto allocation routine uses the PO’s expected GRN date to sequence the searching of orders.
Initially the auto allocation process will start at the sales order requirement date less the turnaround time and search for a suitable order. If nothing is found the process will continue working backwards to the current date.
If no matches are found the system will leave the items on demand and move to the next clause.
Order Processing
The following statements apply only when Auto Stock Allocation is turned on.
Catalogue Search
If the selling location’s auto allocation hierarchy is set to Operator Control, SwanFRS will allow the operator to select stock from any visible location and add it to the order.
If the selling location’s auto allocation hierarchy is set to order line or order the system will restrict visibility of ‘free to sell’ stock effectively forcing the operator to sell ‘local’ stock or to create demand from which the system will auto allocation goods.
When operating in auto allocation mode the catalogue search retains its full search capabilities. The restrictions apply when viewing the stock availability.
Having searched for stock the screen will display ‘free to sell stock’ at the local (operators processing location) or damaged stock at a ‘visible’ location from which to pick.
The search results are restricted to show local stock in the salesperson’s trading location and associated warehouse. Clicking into the stock holding values shows the stock details.
Where there is free to sell stock in ‘other’ locations a message is displayed in the Stock column, however the salesperson is not allowed to view this stock.
There are 4 potential messages
|
Group stock available
|
Shown when 1 or more unit is flagged as free to sell. Group stock relates to stock held against the trading company. Due to clause control ‘group stock’ may be excluded from the selection. For example, if location 1 has stock available, the group stock message will display however if the clauses set at order line or order total exclude location 1 then the system will not ‘pick’ stock from this location. It is therefore important to see the group stock message as an indication of potential system stock and not a guarantee that the system will replace any demand on the order with stock on hand. SwanFRS will consider stock on pending write off notes as unavailable. |
|
Goods on purchase order
|
Only displayed if there are no physical stock items available to be sold but there are free to sell items on purchase order due in. The system will only use purchase orders due into locations visible to the operator. |
|
Special order only
|
Only displayed if there is no free to sell stock either on hand or on purchase order for locations visible to the operator. |
|
Blank <empty message>
|
Only displayed where there are no goods on hand and no purchase orders, and the goods can no longer be purchased to order. |
The stock holding screen will only show free to sell stock held locally (showroom column) which are flagged as ‘perfect’. Any stock marked down or flagged as imperfect will display in the imperfect column.
Available means stock held in the sales order / operator’s location or in other locations visible to the operator.
If the operator enters the stock number of a valid free to sell stock item which is not imperfect or marked down the system will not allow the operator to sell the item. Selling of stock by Stock ID is restricted in this mode to stock held in the selling location and available to sell and mark down and imperfect stock held in the operator’s visible locations.
Drilling down into the specific stock by clicking on the stock holding number produces a screen like that shown below –
In this mode, it is not possible to view stock in any location other than the operators processing location, however it is possible to select a specific ‘local’ item of stock if appropriate.
The routine will show the stock holding for local stock (selling location only) and mark down / damaged goods (all visible) locations.
Where stock is available for selection the operator may click the stock holding number (hyperlink) which will take the operator directly to the detailed stock listing page. (as shown below)
If a stock item (perfect or not) is selected the system will create / add it to the sales order.
Order Control
The system will work in one of three modes. The mode of operation is set within the location hierarchy controls
The selling location of the order will be used to check the stock allocation status of the site.
|
Operator control
|
If set to operator control, the system will allow the operator to choose stock as required. No auto suggestion logic will be applied to the order even if set. |
|
Line control
|
This control instructs SwanFRS to check each sales order line at the time of adding it to the sales order. If the operator adds a service classed SKU no statement checking is performed. If the operator adds a stock item no statement checking is performed. If the operator adds a ‘demand’ item the system will apply the selling locations statements (in sequence) as defined within the setup location hierarchy controls (see Location Hierarchy). If the process fails to find a suitable match or no statements exist, the item will remain ‘on demand’ and the operator may continue to add order lines to the order. If a statement is found, the routine will attempt to match a stock item with the order line item (demand item), which if found the demand item will be replaced with the stock item. Matching is on the full production including option choices. If a match is found no further statements are processed, the demand is replaced with the stock and the operator can continue with the ordering process. |
|
Order control
|
This control instructs SwanFRS to check for stock allocation statements when the operator ‘accepts’ the sales order. If the sales order is a new sales order and the system uses order authorisation, the stock allocation checking occurs only when the order is ‘authorised’ When checking the order, each line of the order is checked for each statement. If the order line relates to a service classed SKU no statement checking is performed. If the order line has a stock item no statement checking is performed. |
If the system encounters a ‘part’ statement, the routine will check against each line of the order individually before moving to the next statement.
If the system encounters a ‘whole’ statement control, the results will only be applied to the order if all ‘demand’ lines on the order can be fulfilled at once.
If the operator adds a ‘demand’ item, the system will apply each statement in sequence, set for the selling location within the Location Hierarchy controls).
If the process fails to find a suitable match or no statements exist, the item will remain ‘on demand’ and the operator may continue to add order lines to the order.
If a statement is found, the routine will attempt to find a suitable item of stock matching the operator’s definition to replace the demand item with.
If a match is found no further statements are processed, the demand is replaced with the stock and the operator can continue with the ordering process.
Order Completion
When allocating stock at line level, stock will replace demand items as the order is created.
If the system is set to allocate stock when the order is completed the stock allocation process will begin when the operator chooses the Accept order option on the side panel.
The system will work through the order lines using the Location Hierarchy statements, applied successively, with the aim of replacing any ‘demand’ items with available stock.
The allocation occur without the operators intervention resulting in an accepted order with stock allocated, where possible and demand items where not.
Subject to permission the operator may request stock auto allocated to the sale is reviewed. This is instigated by clicking the Review Allocation on the side panel when viewing the sales order.
This can be processed at any time (and as many times as is needed) to the point where the sales order is linked to a delivery / scheduled.
The allocation process reapplies the Order Hierarchy clauses working down the list of options once at a time to see if there is a alternative stock item.
If one is found the process pauses, the operator is given the choice of ‘swapping the stock’.
Clicking ACCEPT swaps the stock and control moves to the next item on the order.
Clicking DECLINE tells the search engine to continue it’s quest for alternative stock.
The process will cease when all lines have been processed or the sequence is stopped via the CLOSE button.
Files from the Confluence page
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article