Forum Discussion
I would need a lot more info on the make up of the Excel document to be helpful, but in general if you have a well-maintained spreadsheet or database, you should be able to import parent records and their children. Are you using pipelines or scripting this, or something else?
------------------------------
gary
------------------------------
I am not using any scripts or pipelines currently, just manually add the parent and then importing the children from an excel file that is taken from a source outside of my reach, I just get sent the final file.
In terms of the make up, the parent table has an invoice date and due date field, and I added a uniqueId field. For the child records the file is just this structure when I import.
Transaction Date | Description | Category | Total | UniqueId |
04/13/2022 | description 1 | Merchandise | $25.00 | fromparent |
04/13/2022 | description 2 | Merchandise | $51.72 | fromparent |
04/13/2022 | description 3 | Merchandise | $81.55 | fromparent |
04/14/2022 | description 4 | Merchandise | $4.00 | fromparent |
04/14/2022 | description 5 | Other Services | $149.77 | fromparent |
04/14/2022 | description 6 | Dining | $23.49 | fromparent |
------------------------------
Chris Baker
------------------------------
- ChayceDuncan2 years agoQrew Captain
If it's easy enough you could manually create the parent like you are and enter the invoice and due date, and then load a CSV with the children then save. Have a pipeline handle the loading of the children into records, this way you can skip the manual import part.
------------------------------
Chayce Duncan
------------------------------- ChrisBaker22 years agoQrew Member
I will look into it, are there any resources to learn about pipelines. I have not used them once.
------------------------------
Chris Baker
------------------------------- ChayceDuncan2 years agoQrew Captain
Here is a link to the generic pipelines help page. My suggestion would be as follows to help guide for what its worth:
Help: https://helpv2.quickbase.com/hc/en-us/categories/4408977214868-Pipelines
- Update current parent record creation to include a file attachment field to attach a CSV (must be saved as .csv format)
- Create a pipeline that is triggered when parent is created
- Use the Quickbase channel to get the contents of your attached csv file (step 1) and use it to import records into your child table.
------------------------------
Chayce Duncan
------------------------------