Clarix
Inventory

Inventory Import

How to bulk-import inventory items and lots into Clarix using CSV files, including template download, column mapping, and error resolution.

Clarix provides a bulk import tool for adding inventory items (material masters) and lots in volume from CSV files. This is especially useful during initial system setup, when migrating from a spreadsheet-based inventory system, or when receiving a large shipment with many distinct lots.

Inventory import

Role required: QA Officer or Admin role is required to run inventory imports.


Import paths available

There are two distinct import workflows in the Inventory module:

Import typeLocationWhat it creates
Items importInventory → Import → ItemsNew inventory item (material master) records
Lots importInventory → Import → LotsNew lot records on existing inventory items

Both imports use the same general workflow: download a template, fill it in, upload the file, review the validation preview, and confirm.


Items import (bulk material master creation)

Use this import to create multiple new inventory items at once. This does not create any lots — it only creates the item records. Receive lots separately after the items exist in the system.

Step-by-step: importing items

  1. In the sidebar, click Inventory.
  2. Click the Import button in the page header.
  3. Click the Items tab.
  4. Click Download template to download the CSV template.
  5. Fill in the template columns (see below).
  6. Click Upload CSV and select your file.
  7. Review the import preview — each row shows parsed values and any errors.
  8. Resolve errors or deselect invalid rows.
  9. Click Confirm import.

Items CSV template columns

ColumnRequiredDescription
item_nameYesFull descriptive name of the material (e.g., "Famotidine USP")
categoryYesAPI, Excipient, Diluent, Packaging, Labeling, CleaningAgent, Other
default_unitYesg, kg, mg, mL, L, units, each
ndcNo11-digit NDC in XXXXX-XXXX-XX format
cas_numberNoCAS registry number
physical_formNoPhysical state: liquid, powder, oil, device, or other
strengthNoFree-text strength descriptor (e.g., "1N", "200 mg/mL")
speed_codeNoShort mnemonic code (e.g., "NACL", "SWFI")
generic_nameNoINN or generic drug name
unit_costNoCost per default unit (numeric decimal)
manufacturer_nameNoPrimary manufacturer name (free text; separate from vendor/wholesaler)
manufacturerNoAlias for manufacturer_name in some templates
reorder_thresholdNoNumeric quantity; triggers low-stock alert when on-hand falls at or below this value
require_container_barcodeNoTRUE or FALSE; enables the container barcode verification policy
descriptionNoInternal notes or handling precautions

After items import

All imported items are created with zero on-hand quantity. Proceed to receive lots for each item to add inventory.


Lots import (bulk lot receiving)

Use this import to receive multiple lots at once — for example, when a large monthly order arrives with 20 or more different materials, or when migrating existing inventory data into a newly set up Clarix organization.

Step-by-step: importing lots

  1. In the sidebar, click Inventory.
  2. Click Import in the page header.
  3. Click the Lots tab.
  4. Click Download template to download the lots CSV template.
  5. Fill in the template columns (see below).
  6. Click Upload CSV and select your file.
  7. Clarix parses the file and displays a row-by-row preview:
    • Green rows — valid, ready to import
    • Yellow rows — warnings (e.g., item not found — will be created; duplicate lot number — will be handled per your policy)
    • Red rows — errors that must be resolved before import
  8. Review each row; use the Details column to read the specific error or warning message.
  9. Fix errors in your CSV file and re-upload, or uncheck invalid rows to skip them.
  10. Click Confirm import to create the lot records.

All imported lots are created in Quarantined status, exactly as if they had been received through the receive lot form. A QA officer must release each lot before it is available for production.

Lots CSV template columns

ColumnRequiredDescription
item_nameYesMust exactly match an existing inventory item name
lot_numberYesManufacturer lot number
quantityYesQuantity received (numeric)
unitYesUnit of measure — must match or be convertible to the item's default unit
expiry_dateYesDate in YYYY-MM-DD format (e.g., 2027-06-30)
received_dateNoDate received; defaults to today if omitted
coa_assay_pctNoCOA assay value as a percentage (e.g., 97.2); values between 50 and 110 are accepted
container_barcodeNoBarcode value for the physical container
po_numberConditionalRequired if PO matching policy is enabled
vendor_nameNoMust match an existing vendor name if provided
notesNoFree text receiving notes

Creating items during lot import

If a row references an item_name that does not yet exist in Clarix, the import can optionally create the item automatically. This behavior is configured by the toggle Create missing items on the import preview screen.

When Create missing items is enabled:

  • Rows where item_name matches no existing item will create a new item with default settings (category: Other, unit from the lot row, no barcode policy).
  • The new items are highlighted in yellow in the preview.
  • You should edit newly created items after import to set the correct category, reorder threshold, and other settings.

When Create missing items is disabled (default):

  • Rows referencing non-existent items show an error and are skipped.
  • Create the items first via the Items import or manually, then re-import the lots.

Column mapping wizard

If your source file does not use Clarix's exact column names, the column mapping wizard lets you match your file's column headers to the expected Clarix fields.

  1. Upload your CSV file.
  2. If Clarix detects that column headers do not match the template, the Column mapping screen appears.
  3. For each Clarix field (left column), use the dropdown (right column) to select which column in your file contains that data.
  4. Columns you do not map are ignored.
  5. Click Apply mapping to proceed to the preview.

You can save a mapping configuration for reuse if you regularly import from the same source system with the same column structure.


Validation errors

The import preview flags rows with errors before any data is committed. Clarix will not import any row with a red error — you must either fix the file and re-upload or deselect that row.

ErrorCauseFix
Item not founditem_name does not match any inventory itemEnable "Create missing items" or create the item first
Invalid expiry dateDate is in the wrong format or is in the pastUse YYYY-MM-DD format; contact QA if a past expiry must be imported
Assay out of rangeCOA assay is outside 50%–110%Verify the COA and correct the value
Duplicate lot numberA lot with this number already exists per your duplicate policyReview the lot duplicate policy or adjust the lot number
Invalid categoryCategory value doesn't match allowed valuesUse one of the exact category values from the template
Missing required fieldA required column is blankFill in the required value
Vendor not foundvendor_name does not match any vendor recordCreate the vendor first in Inventory → Vendors

After import

After a successful import:

  • All imported lots appear on the respective item's Lots tab in Quarantined status
  • A Received transaction is created for each lot in the item's transaction history
  • An import summary is shown on screen listing how many items and lots were created, and any rows that were skipped

QA officers should review and release the imported lots following your standard incoming QC procedure.


On this page