Allow single trx in CSV Importer

Description

In the CSV Importer the process commits once for every row in the file.

It can be useful to have a way to choose an option to allow a single trx for the whole file. If one line fails all the records are rollback.

Environment

None

Attachments

1

Activity

Diego Ruiz 
October 9, 2015 at 1:28 PM

To check how to set it up -> http://wiki.idempiere.org/en/NF3.0_CSV_Importer_Single_Transaction

Kind Regards,
Diego Ruiz

Diego Ruiz 
October 5, 2015 at 3:40 PM

In the attached file you can find the patch that allows to choose a single trx option.

To be able to do it, the header of the file must have a /KT. T indicating that it will be a single trx file. When a record fails it stops there and rollback all the previous records.

Please any feedback will be highly appreciated.

Kind Regards,
Diego Ruiz

Fixed

Details

Assignee

Reporter

Priority

Created October 5, 2015 at 3:37 PM
Updated February 22, 2019 at 2:06 PM
Resolved October 7, 2015 at 1:13 PM