Price Change Import

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

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

Part of: Price Changes


This document details the functions and features of the Price Change Import program which can be used as part of the price change process comprising of a series of programs documented within the Price Changes guide.

The program is designed to allow price changes to be managed outside of SRS and the results loaded in. For example, price changes can be discussed with a supplier and revised costs / selling be agreed whilst away from the office or at a show. This information can be held within a spreadsheet until it is possible to upload the data into SRS allowing revised prices to be applied to the sales and stock system.

Data loaded into the pricing suite is collated into a price change request.

This program is an optional feature of the Pricing suite within SRS.

Spreadsheet Columns

The spreadsheet content is dependent upon the type of price change request.

For an example of a spreadsheet please see the SamplePriceChangeImport.xls. This file contains tabs for each format available, choose the applicable data structure and make this the import format.

Dates should be identified as Text fields within Excel.

Dates can be in DD/MM/YYYY

Formula’s should be converted to values prior to loading.

SRS can automatically install price changes once the price change has been authorised. The scheduled price change application requires configuring by Swan, please contact support if you would like to use this.

If automatic price changes are not instigated, once imported the price change should be applied to make the price changes active.

The SamplePriceChangeImport.xls document consists of a series of tabs, each showing a different load scenario.

Please be aware that Excel® can strip leading zeros from data fields (e.g. 00012 would become 12). It is recommended that when using data generated from another source (non-SRS), care be taken to ensure the data in the spreadsheet has been interpreted correctly by Excel®. If in doubt use the data import features within the Data tab of Excel®.

When loading into Swan the system processes only the primary tab (tab positioned first in tab sequence). In the example below the 2.TempCost&selling(Sale) tab will be used if this file were imported.

The sample spreadsheet offers a series of tabs providing several examples, these are identified below –

Tabs with a green background use the Price Change Import program to import data. Orange tabs relate to the Item Import / Export programs.

Row Identification

To load into Swan each data row must contain at least one identification code.

Possible identification codes are the Swan Item code (ItemCode), Alternative item code (AlternateItemCode) or the barcode (Barcode).

Any data row without one of these identifiers will be rejected.

It is possible to load data with only one of these columns defined or with multiples however if loading with more than one of the aforementioned columns, each data row must have at least one of the columns defined.

The example below shows a possible data file structure however it is recommended that if a column does not contain data to delete it from the load file.

In the example below columns are referenced A, B and C – rows referenced with numbers.

Example Load File

Column Name

Details

1.TempSelling(Sale)

This example is for use when creating a timed sale price affecting only the selling price.

Loaded data can be viewed within Sell Price Change Creation or Apply Price Change programs.

2.TempCost&Selling(Sale)

This example is for use when creating a timed sale price affecting both cost and selling prices.

Loaded data can be viewed within Cost Price Change Creation, Sell Price Change Creation or Apply Price Change programs.

3.PermSelling

This example is for use when creating selling price commencing on a specific date with no end date.

Loaded data can be viewed within Sell Price Change Creation or Apply Price Change programs.

3.Ex.PermSelling(StockImport)

This example of key data fields extracted from Item Export for use as a source for price changes.

Please refer to the Item Export program guide for more details.

3.PermSelling(StockImport)

This example is for use when creating selling price commencing on a specific date with no end date.

Loaded data can be viewed within Sell Price Change Creation or Apply Price Change programs.

Please refer to the Item Import program guide for more details.

If the PriceEffectiveDate is not used importing data will apply the cost / selling price changes immediately.

4.PermCost&Selling

This example is for use when creating cost and selling price commencing on a specific date with no end date.

Loaded data can be viewed within Cost Price Change Creation, Sell Price Change Creation or Apply Price Change programs.

5.PermRSP

This example is for use when creating RSP price commencing on a specific date with no end date.

Loaded data can be viewed within Create RSP Price Changes or Apply Price Change programs.

Care should be taken when viewing data within Apply Price Changes as this program is used to push price changes to the selling and stock systems.

If the import requires checking it is suggested that the Authorise check box isn’t ticked when importing price changes in. Without authorisation it is not possible to ‘publish’ the price changes. This feature acts as a safety net, enabling a review to take place within the relevant price change program without the possibility of the changes becoming active.

Start / End Dates

Where dates are used, each row must have the same start / end dates. Data files containing different dates will be rejected.

Variant dates rejection screen

Temporary Pricing

Swan offers the ability to create a temporary price change (cost and/or selling) and may be referred to as Sales.

Temporary prices can be an increase or decrease to the current price and used between the specified start and end dates.

When operating with selling prices the system effectively sets the price to be in promotion (sale mode) during this time.

It is possible to combine the two table structures into a single tab if wishing to change the cost and sale prices for a specified period. Date ranges are required for both cost and sale. In the example below cost and sale prices are to be changed.

Cost and Sale price changes


Cost Prices

This file structure should be used when wishing to create timed cost changes. I.e. Cost prices are only valid between the specified start and end date.

Column Name

Details

ItemCode

The Swan item code.

The load file must contain this column, the AlternateItemCode or Barcode column populated with data (or more than one of these columns if required.)

AlternateItemCode

The item’s alternate code.

The load file must contain this column, the ItemCode or Barcode column populated with data (or more than one of these columns if required.)

Barcode

The item’s barcode

The load file must contain this column, the ItemCode or AlternateITemCode column populated with data (or more than one of these columns if required.)

NewCostPrice

The new cost price for this promotion.

CostPriceStartDate

The promotion start date.

If using Excel® the column should be set to Text format (Not Date)

CostPriceEndDate

The promotion end date.

If using Excel® the column should be set to Text format (Not Date)

Successfully imported data can be viewed within the Cost Price Change Creation or within Apply Price Changes program.


Sale Prices

This file structure is used to define a Sale price change.

Column Name

Details

ItemCode

The Swan item code.

The load file must contain this column, the AlternateItemCode or Barcode column populated with data (or more than one of these columns if required.)

AlternateItemCode

The item’s alternate code.

The load file must contain this column, the ItemCode or Barcode column populated with data (or more than one of these columns if required.)

Barcode

The item’s barcode

The load file must contain this column, the ItemCode or AlternateITemCode column populated with data (or more than one of these columns if required.)

NewSalePrice

The new sales price for this promotion.

SaleStartDate

The promotion start date.

If using Excel® the column should be set to Text format (Not Date)

SaleEndDate

The promotion end date.

If using Excel® the column should be set to Text format (Not Date)

Successfully imported data can be viewed within the Sell Price Change Creation or within Apply Price Changes program.

Permanent Prices

Swan offers the ability to create a permanent price change (cost and / or selling).

Permanent price changes remain in force until superseded by a later dated price change.

It is possible to combine more than one of the following table formats. In the example below normal and cost prices are to be changed possibly with different start dates.

Normal and cost price changes in a single form.

Cost Price Changes

This file structure should be used when wishing to apply a new Cost price. Once active this price is used when purchasing newly ordered goods until superseded by a newer promotion or price change.

Column Name

Details

ItemCode

The Swan item code.

The load file must contain this column, the AlternateItemCode or Barcode column populated with data (or more than one of these columns if required.)

AlternateItemCode

The item’s alternate code.

The load file must contain this column, the ItemCode or Barcode column populated with data (or more than one of these columns if required.)

Barcode

The item’s barcode

The load file must contain this column, the ItemCode or AlternateITemCode column populated with data (or more than one of these columns if required.)

NewCostPrice

The new cost price for this promotion.

CostPriceStartDate

The price change start date.

If using Excel® the column should be set to Text format (Not Date)

Successfully imported data can be viewed within the Cost Price Change Creation or within Apply Price Changes program.


Normal Price Changes

This is the price used to indicate the saving when in sale mode. The normal price is the price charged when out of sale. The selling price is the current selling price used by the system when not in sale.

This file structure should be used when wishing to apply a new Normal selling price.

Column Name

Details

ItemCode

The Swan item code.

The load file must contain this column, the AlternateItemCode or Barcode column populated with data (or more than one of these columns if required.)

AlternateItemCode

The item’s alternate code.

The load file must contain this column, the ItemCode or Barcode column populated with data (or more than one of these columns if required.)

Barcode

The item’s barcode

The load file must contain this column, the ItemCode or AlternateITemCode column populated with data (or more than one of these columns if required.)

NormalPrice

The new normal selling price for this promotion.

NormalPriceStartDate

The promotion start date.

If using Excel® the column should be set to Text format (Not Date)

Successfully imported data can be viewed within the Sell Price Change Creation or within Apply Price Changes program.

RSP Price Changes

This file structure should be used when wishing to apply a new RSP price.

Column Name

Details

ItemCode

The Swan item code.

The load file must contain this column, the AlternateItemCode or Barcode column populated with data (or more than one of these columns if required.)

AlternateItemCode

The item’s alternate code.

The load file must contain this column, the ItemCode or Barcode column populated with data (or more than one of these columns if required.)

Barcode

The item’s barcode

The load file must contain this column, the ItemCode or AlternateITemCode column populated with data (or more than one of these columns if required.)

RSPPrice

The new RSP price for this promotion.

RSPPriceEffectiveDate

The promotion start date.

If using Excel® the column should be set to Text format (Not Date)

Successfully imported data can be viewed within the Create RSP Price Changes or within Apply Price Changes program.

Price Change Import

Menu Location: Stock > Maintenance > Pricing > Price Change Import

The Price Change Import program can be used to import cost, selling, Normal or sale prices held within a spreadsheet data file.

Having prepared the data file for loading selecting the program from the menu produces a screen like that shown below.

File import wizard

Field

Details

Import File

Use the Browse button to locate the file to import.

Import File Format

The Import File Format maps field headings held in the file with Swan headers.

Column mappings are constructed via the Import Mapping Header Maintenance and Import Mapping Detail Maintenance programs.

Supplier

The Supplier selection is required when importing Cost Price changes, even if it is held in file.

The supplier entered must match the Supplier for imported Cost Price records.

Produce New Tickets

Tick if new tickets are to be generated for stock items listed in the upload file. (default option is unticked)

Authorise Price Change

Tick if the data file is to be authorised. (default option is unticked).

Authorised PCRs cannot be amended.

Update Catalog Derivatives

Tick if the system is to replicate the price changes for catalogue items to bespoke items.

Update Default Sale Price

Tick to set the default sale price.

If the record does not have and end date the program will only update the default sale price.

If the record has an end date the program will also put the item into the sale price.

Reference

Specify a reference for this price change.

Clicking the Next > button processes the selected data file and produces an audit report like the one shown below.

File import audit

Any data irregularities are reported on screen and a copy of the load audit is saved in the same folder as the load file for future reference.

The system will reject the entire load file if one ‘error’ is encountered.

If there have been errors, copy the input file path (e.g. C:\Users\John\Documents\price upload.xls) from the Import Completed screen. This can then be used in the Import File box when re-attempting the import.
This can also be found in the import error log held in the same folder as the import file.

Once completed clicking the Finish button concludes the load process.

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