Quasar Docs

Setup & Configuration

Item History Import

The Item History Import is the most powerful import tool in Quasar. It recreates a complete transaction history from a CSV file, automatically generating full customer invoices, customer returns, vendor receiving slips, and inventory adjustments — each with proper GL postings — organized by date. This is essential for migrating historical sales and inventory data from a previous POS system. Access from Inventory › Import Item History.

Configuration Fields

All fields are required and must be set before importing. They determine who/where transactions are assigned.

FieldDescription
Import FilePath to the CSV history file. Use ... or F9 to browse. Filter: *.xml.
StoreTarget store for all imported transactions. Defaults to the current store.
StationStation assigned to all transactions. Scoped to the selected store.
EmployeeEmployee assigned to all transactions. Scoped to the selected store.
CustomerCustomer used for all generated invoices and returns.
VendorVendor used for all generated receiving slips.
AccountGL account for inventory adjustment offsets (the balancing entry).

CSV File Format

The CSV file must contain exactly 7 fields per line, comma-separated. Fields with commas may be single or double-quoted.

#FieldDescription
1DateTransaction date in a standard date format recognized by Quasar's date parser.
2TypeTransaction type: sale, return, slip (vendor receive), or adjust (inventory adjustment). Case-insensitive.
3Item NumberItem PLU or number. Items not found in Quasar are logged as warnings and skipped.
4SizeItem size. If empty, defaults to the number's size or the item's sell size.
5QuantityNumber of units.
6Extended CostTotal cost for this line (qty × unit cost).
7Extended PriceTotal selling price for this line (qty × unit price).

Transaction Generation Logic

The import engine is a two-pass process:

Pass 1: Data Aggregation

All CSV lines are read and combined by date. Lines with the same date, type, item, and size are aggregated (quantities and amounts summed). This minimizes the number of transactions created.

Pass 2: Transaction Creation

For each unique date, the engine creates up to four transactions:

CSV TypeQuasar TransactionDetails
saleCustomer InvoiceCreates a full invoice with the Customer, with calculated prices and price overrides. Only items flagged as “Sold” are included.
returnCustomer ReturnCreates a return credited to the Customer. Only items flagged as “Sold” are included.
slipVendor Invoice (Receive)Creates a vendor receiving slip with the Vendor. Only items flagged as “Purchased” are included.
adjustItem AdjustmentCreates an inventory adjustment against the specified Account. Only inventoried items are included. The adjustment account receives the offsetting entry.

All generated transactions are posted at 12:00 PM on the transaction date with memo “Item history”.

Legacy Date Handling

Records dated before January 1, 2003 receive special treatment: all types are converted to adjust and consolidated onto a single date of December 31, 2002. Sale quantities are negated to produce a net adjustment representing the cumulative historical position.

Import Results Log

ColumnDescription
CountSequential event number.
SeverityInformation, Warning, or Error.
MessageDetails about the event (item not found, creation success/failure, etc.).

Actions

ButtonDescription
ImportValidates required fields, processes the CSV in two passes, and creates transactions. Dual progress dialogs show data reading and transaction creation separately.
CloseCloses the import screen.

Security

Access requires View permission on ImportItemHistory. Unauthorized users receive an “Access denied” error.

Related Screens

Data Import (XML) Item CSV Import Item History Item Adjustments

Quasar Accounting 7.1 • © Linux Canada Inc. • Table of Contents