Guide overview
This page brings together the most useful CSV operating patterns across objects. Use it when you are importing master data, updating existing records, exporting records for cleanup, or training a team that works with CSV regularly.Related pages
- How to export CSV
- Handling errors related to CSV import/export
- How to Bulk Create or Update Company Records via CSV
- How to Bulk Create or Update Item Records via CSV
Choose the import strategy
Decide the purpose of the file before you start editing it.- Create only: use this for new master data.
- Update only: use this when records already exist in Sanka.
- Export -> clean -> reimport: use this when you need to correct many existing records safely.
- Separate create files and update files whenever possible.
- For updates, include a stable key such as Record ID or another unique business key already stored in Sanka.
Prepare the file before upload
Before you upload:- Start from the object template or a fresh export whenever possible.
- Keep one header row only.
- Keep date, amount, and text formats consistent across the whole file.
- Remove helper columns that should not be imported.
Map stable keys and related records
Most CSV issues come from unstable matching rules.Examples:- Use Record ID for updates when you already have it.
- Use one stable key for related records, such as a company ID, item code, location code, or subscription key.
- Make sure the same key format is used on both sides before you import associations.
- Items
- Locations
- Inventory or inventory transactions
Test with a small pilot first
Always test the mapping with a small sample before importing the full file.- Upload 5 to 20 rows first.
- Check the created or updated records in the object view.
- Review the import history and error file if anything failed.
- Fix the mapping or source values before uploading the full file.
Create a repeatable CSV workflow
Once a CSV process works, turn it into a repeatable team routine.- Save the source spreadsheet structure.
- Reuse the same header names each time.
- Save export templates for common review jobs.
- Document which object key your team uses for updates.