Only writing the last line into SO Lines

Hi Forum,

I am importing Sales Order and the a fixed number of items (4 lines)

The last line is "/C" comment, and it is the only one written to the lines table.

Is it because the ADDLINE() not working properly?

Regards,

Manuel