How to Use Import Inventory in iDempiere

Learn how the Import Inventory window in iDempiere imports Physical Inventory, Internal Use, and Cost Adjustment records into standard inventory documents.

Introduction

Import Inventory is a standard iDempiere window that loads external inventory data and converts it into Physical Inventory, Internal Use, or Cost Adjustment documents.

The process reduces manual entry, speeds up reconciliation, and ensures inventory transactions follow the standard iDempiere document lifecycle.

Process Flow

TenthPlanet iDempiere ImportInventory WorkFlow

Business Rules

  • Process parameters act only as default values and never overwrite existing import data.
  • One inventory header is created for each unique document grouping in the import table.
  • Each valid, validated import record generates exactly one inventory line.
  • Products can be resolved using Search Key, UPC/EAN, or Product ID.
  • Locators can be resolved using Locator Key, Locator ID, or Warehouse information.
  • Successfully imported records are automatically flagged as Imported = Yes.
  • Validation errors are recorded in the Import Error Message field for review.
  • Duplicate Inventory, Locator, Product, and Attribute Set Instance combinations are rejected.

Prerequisites

  • An Import Format is configured for mapping source data to the Inventory import table (I_Inventory).
  • Valid Organization, Warehouse, and Locator records exist in iDempiere.
  • Products referenced in the import file exist in Product Info.
  • Charge records are configured for Internal Use or Cost Adjustment transactions, where applicable.
  • For Cost Adjustment imports, Accounting Schema, Cost Type, and Cost Element are defined.
  • The user has access rights to the Import Inventory window and the Import Inventory process.

Configuration Steps

Step 1: Prepare and Load Import Data

This step brings inventory data into iDempiere so it can be validated and converted into an inventory document. Records can be loaded manually or through the Import File Loader using a configured Import Format.

Open the Import Inventory window and enter or verify the record details, including product, locator, and quantity information, before running the import.

FieldSample ValueDescription
Search KeyIPH16Product search key used to resolve the item during import.
Locator KeyGodown LocatorText value used to resolve the storage locator.
Quantity Book100System (book) quantity before the count.
Quantity Count98Physically counted quantity submitted for import.
DescriptionStock CountFree-text description carried onto the inventory document.
Document Type NamePhysical InventoryDetermines which inventory document the record will create.
TenthPlanet iDempiere DataImport ImportInventory

Step 2: Verify Imported Data

Before running the process, users confirm that key fields are correctly populated so the process can resolve master data without errors.

Review the Data Requered section, including Organization, Locator, Product, Document Type, and Quantities, for accuracy and completeness.

FieldSample ValueDescription
Phys.Inventory620012Populated automatically once the record is imported successfully.
Phys.Inventory Line10_98_620012Populated automatically once the inventory line is created.
Locator KeyInTransit LocatorLocator value used to resolve the storage location.
Document TypePhysical InventoryStandard document type applied to the generated document.
ImportedCheckedIndicates the record has already been processed successfully.

Step 3: Run the Import Inventory Process

Running the process validates all unimported records and converts them into the appropriate inventory document type. Parameters supply default values only and do not overwrite populated import data.

Open the Import Inventory process, set the required parameters, and select Update Costing only for Cost Adjustment imports before selecting OK.

FieldSample ValueDescription
OrganizationCDCDefault organization applied to records without one.
LocatorGodown LocatorDefault locator applied to records without one.
Document ActionCompleteAction applied to the generated document after creation.
Movement Date07/31/2026Default transaction date for records without one.
Delete Old Imported RecordsUncheckedRemoves previously imported records after a successful run.
Update CostingUncheckedEnables costing parameters for Cost Adjustment imports.
Run as JobUncheckedExecutes the import process as a background job.
TenthPlanet iDempiere DataImport ImportInventory1

Step 4: Review the Import Results

After the process completes, a summary dialog confirms the outcome so users can verify how many records were processed successfully and how many failed validation.

Review the completion message for the count of errors and the number of headers and lines inserted.

FieldSample ValueDescription
Process StatusProcess completed successfullyConfirms the import process finished running.
Errors6Number of records that failed validation and remain unimported.
Phys.Inventory Inserted1Number of inventory headers created by the process.
Phys.Inventory Line Inserted1Number of inventory lines created by the process.
TenthPlanet iDempiere DataImport ImportInventory2 1

Step 5: Verify the Generated Inventory Document

This final step confirms that the imported data produced a valid, standard inventory document in iDempiere.

Open the generated Inventory Count (Physical Inventory) document and confirm the header and line details match the imported data.

FieldSample ValueDescription
Document No620012Unique document number assigned to the generated Physical Inventory.
WarehouseCDC InTransit WarehouseWarehouse associated with the generated document.
Movement Date07/31/2026Transaction date applied to the document.
Document StatusDraftedStandard lifecycle status of the newly created document.
Quantity BookSystem quantity carried onto the Inventory Count Line.
Quantity Count98Counted quantity carried onto the Inventory Count Line.
TenthPlanet iDempiere DataImport ImportInventory4

Common Issues and Resolutions

IssueCauseResolution
Organization not foundInvalid Organization value in the import recordVerify the Organization ID or lookup value.
Locator not foundInvalid Locator Key or Locator IDVerify the Locator Key or Locator ID against Warehouse and Locators.
Product not foundInvalid Product Search KeyVerify the Search Key or UPC/EAN against Product Info.
No document lines foundNo valid inventory lines created after validationVerify locator, product, quantities, and document type on the import record.
Duplicate inventory lineSame Inventory, Locator, Product, and Attribute already existRemove the duplicate import record or use a different inventory document.
Imported flag remains uncheckedRecord failed validationReview the Import Error Message field and correct the data.
Cost Adjustment fields unavailableUpdate Costing not selectedEnable Update Costing in the process parameters.
Process parameters not appliedImport record already contains a valueConfirm parameters act only as defaults for empty fields.

Next Steps

  1. Open the generated Physical Inventory, Internal Use, or Cost Adjustment document.
  2. Review the imported inventory lines, quantities, and products.
  3. Complete the document in Warehouse Management if it was not completed automatically.
  4. Verify Warehouse and Locators setup to confirm resolved storage locations.
  5. Review remaining import records with validation errors and reprocess them after correction.