Document two Stage 6 CSV import gotchas, confirmed live on the sample site
Both found running the actual import against a real site, not guessed: 1. Warehouse's Company column must match the Company record's stored name exactly, including punctuation -- "Sample Co" vs the actual "Sample Co." (trailing period) failed the whole import with a misleading "value missing for Company" error. 2. Item's Reorder Level "Request for" column needs the warehouse's stored name AFTER ERPNext appends the company abbreviation on creation (Main Store -> Main Store - SC), not the plain name typed into the warehouse CSV -- using the plain name fails with "value missing for Warehouse." Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
This commit is contained in:
parent
3224e5f2fa
commit
dc763613c7
|
|
@ -362,11 +362,26 @@ real names, and import in this order (later ones reference earlier ones):
|
|||
a `serial_no_series` pattern (e.g. `TOOL-.#####`) on Tools & Equipment only; Reorder
|
||||
Level/Qty (the trailing four columns, via the **Item Reorder** child table) on Consumable
|
||||
Parts that need auto-reordering — leave those four blank on serialized tool rows, as in the
|
||||
template's own example. Import against **Item**.
|
||||
template's own example. Import against **Item**, **after** Warehouse above — see the two
|
||||
gotchas below before filling in the `Request for` column specifically.
|
||||
|
||||
For each: Desk → **Data Import** → New Data Import → select the Doctype above → **Insert New
|
||||
Records** → upload the filled-in CSV → **Start Import**.
|
||||
|
||||
⚠ **Confirmed the hard way — two values below must match Frappe's stored records exactly, not
|
||||
what you typed somewhere else:**
|
||||
1. **The `Company` column in step 2 must match the Company record's name character-for-character**
|
||||
— including punctuation. Typing `Sample Co` when the Setup Wizard actually created `Sample
|
||||
Co.` (trailing period) fails the whole warehouse import with "value missing for Company,"
|
||||
even though it reads like a typo in the data, not the company name. Check Desk → **Company**
|
||||
for the exact stored value before filling this column in, don't rely on memory.
|
||||
2. **The `Request for` column in step 3 needs the warehouse's actual stored name, not the plain
|
||||
name you typed into step 2's CSV.** ERPNext appends the company abbreviation on creation
|
||||
(`Main Store` becomes `Main Store - SC`), and the Reorder Level child table references
|
||||
Warehouse by that full, suffixed name — using the plain name fails with "value missing for
|
||||
Warehouse." Check Desk → **Warehouse** for the exact stored name after step 2's import
|
||||
completes, before filling in step 3's CSV.
|
||||
|
||||
⚠ **Confirmed against this exact ERPNext version — these are not guessed header names.** Every
|
||||
column header above was generated from Frappe's own `Exporter` class (the same code
|
||||
`download_template` uses), not typed from memory: a mismatched header silently fails to map
|
||||
|
|
|
|||
Loading…
Reference in New Issue