Import child table rows in a document

Hello, I’m using the data import tool to import salary structure.
As you know there are two tables in the salary structure doctype, Earnings, and Deductions.

I can import an excel sheet with all my salary structures but the problem is that I can’t add the child table rows using data import.

I have a salary structure called test, I tried to update it and add more rows as follows, but it only imports the last row which overwrites the other rows.


Is there a way to import all rows at once?

I shouldn’t repeat the ID row. This solved the problem.

oz__651