Exported order can not be reimported due to missing ID

Description

I was just curious what might happen when I try to reimport an exported Sales Order. So I clicked on the export button and choose zip.

When I tried to import the file using Pack In I got:
Database Error.: ERROR: null value in column "c_doctype_id" violates not-null constraint.

Regards
Dirk Niemeyer

Environment

None

Activity

Show:

Carlos Ruiz July 2, 2015 at 1:50 AM

I think this is possible now with the CSV importer.

Heng Sin Low April 26, 2013 at 8:41 AM

The current 2pack export doesn't auto export the dependency needed. You will need to manually export/import the document type as well.

However, do note that it is possible to make this more seamless by implementing a custom 2pack handler for c_order as a plugin for the application.

Regards,
Low

Incomplete

Details

Assignee

Reporter

Components

Affects versions

Priority

Created April 26, 2013 at 3:06 AM
Updated September 1, 2015 at 3:33 PM
Resolved July 2, 2015 at 1:50 AM