I've found xml ports very usefull and time saving tool. You can use it to bring data into a staging table. You can control the PK by incrementing the PK. Once the data is in the table. You can do all the processing you need.
Ahmed Rashed Amini
Independent Consultant/Developer
Comments
Jan Hoek
Product Developer
Mprise Products B.V.
Note that in 4.0 (I not set tested in SP1) XMLPort does not communicate it properly if a record already exists, so I found it mostly useless.
Do It Yourself is they key. Standard code might work - your code surely works.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n