Cloud HostingLaunch UnoPim on fully-managed cloud hosting — fast, secure and cost-effective plans.
Skip to content

Attribute Mapping

Map UnoPim product attributes to ERPNext Item fields before exporting products.

Overview

When you export products to ERPNext, UnoPim uses your attribute mapping to decide which product data is sent to each ERPNext Item field. Configure these mappings once so every export uses the same field alignment.

Open the mapping screen from ERPNext → Attribute Mappings.

How the mapping screen works

The attribute mapping screen has three columns:

ColumnPurpose
ERPNext Item FieldDestination field on the ERPNext Item where UnoPim data is written during export.
UnoPim AttributeSource attribute in UnoPim. Choose the attribute that should populate each ERPNext field.
Fixed ValueOptional constant value applied to an ERPNext field for every exported product, used when no attribute is mapped.

A required ERPNext field is satisfied when either an attribute is mapped or a fixed value is provided - the two are interchangeable sources for the same field. Required fields are listed first on the screen.

Mappable Item fields

The following ERPNext Item fields can be mapped to UnoPim attributes out of the box:

ERPNext fieldCompatible attribute typesRequiredNotes
Item CodeTextThe unique product identifier in ERPNext.
Item NameTextHuman-readable item name shown in ERPNext.
HSN/SAC CodeText, SelectHSN/SAC tax classification code (mandatory on India-localized ERPNext instances).
DescriptionText, TextareaLong product description.
Standard Selling RatePrice, NumberDefault selling price.
Valuation RatePrice, NumberDefault valuation / cost.
Weight per UnitNumber, PriceNumeric weight per unit.
Weight UOMSelect, TextUnit for weight (e.g. Kg, lb).
DisabledBooleanWhen true, the item is hidden in ERPNext transactions.
Is Stock ItemBooleanWhether stock is tracked for this item.
Is Sales ItemBooleanEligible to appear on Sales Orders / Invoices.
Is Purchase ItemBooleanEligible to appear on Purchase Orders / Invoices.
Has VariantsBooleanTrue if this is a template with variants.
Minimum Order QtyNumberSmallest quantity that can be ordered.
Safety StockNumberMinimum stock kept on hand.
Lead Time (days)NumberDays needed to procure / produce.
Shelf Life (days)NumberDays before expiry for perishable items.
Country of OriginText, SelectCountry of origin code (ISO).

Note: The Item Group is normally resolved from the product's first category via the category sync mappings - you don't map it here. A fallback Item Group (All Item Groups by default) is used when no category is set.

Configure attribute mapping

Step 1 - Open attribute mapping

Navigate to ERPNext → Attribute Mappings.

Step 2 - Map ERPNext fields to UnoPim attributes

For each ERPNext Item field you want to export:

  1. Find the ERPNext Item Field row.
  2. Choose the matching UnoPim Attribute from the dropdown. Only attributes whose type is compatible with the field are listed.
  3. Optionally enter a Fixed Value if every exported product should use the same constant for that field (useful for export-only fields, or to satisfy a required field without a dedicated attribute).

Step 3 - Save the mapping

Click Save Mapping to store your configuration. New product exports will use this mapping.

Released under the MIT License.