This repository was archived by the owner on Sep 13, 2024. It is now read-only.
This repository was archived by the owner on Sep 13, 2024. It is now read-only.
[Question] Assign batch number to imported records from csv file #17434
Open
Description
Hi, i created a new module to import batch records from csv file, i need to assign a batch number to every record from a file, so for example uploads from the first file would have 1 as batch number, then the records from file 2 would have 2 as batch number and so on.
If i try to use a workflow with trigger "Creating a record" every record in the file gets a different batch number.
I was also thinking on using a custom import handler, by default imports use CSVreader.php for csv files:
I can clone this and modify it to fit my needs, but what other changes would i need for my module to use this import handler instead of the default one?
Has anyone here implemented something similar?
Metadata
Metadata
Assignees
Labels
No labels