Problem creating Sales Order throught AIF

Hi,

With debugging I have discovered that the exception is raised at SalesTableType.insert. I have checked and everything runs ok but at the end after the ttscommit an exception is raised so the SalesTable record is not inserted. Later I get the error about Sales Order field is missing because the system tries to create the sales line but because the sales order was not inserted it can not find it.

The file is this:

<?xml version="1.0" encoding="utf-8" ?>#### #### #### {5602D03A-4280-404D-9F27-738BE0FEA13E}#### http://schemas.microsoft.com/dynamics/2008/01/services/SalesOrderService/create#### #### #### #### #### #### 10001#### 2011-10-11#### PO#### 2011-11-11#### #### 1090002#### 18#### kg#### #### #### #### #### ####