If I do not pass a Number on a Debtor Contact, I will get an error that sounds something like:
Economic.Api.Exceptions.SchemaException(E00500): The element 'data' in namespace 'http://e-conomic.com' has invalid child element 'IsToReceiveEmailCopyOfOrder' in namespace 'http://e-conomic.com'. List of possible elements expected: 'Number' er' in namespace 'http://e-conomic.com'. (id=050721d6-0222-4c6b-bdc4-2f7cf08ba295)
If I fix it, passing the Number property (as an integer of course), the contact will be created, and an ID will be returned. But then, if i fetches the newly created contact, the number on that contact will just be last-contact-created-number + 1.
The same problems goes for passing a Handle with an ID. The ID will be ignored, and the API will just assign whatever ID to the contact.
Any help will be appriciated!
Economic.Api.Exceptions.SchemaException(E00500): The element 'data' in namespace 'http://e-conomic.com' has invalid child element 'IsToReceiveEmailCopyOfOrder' in namespace 'http://e-conomic.com'. List of possible elements expected: 'Number' er' in namespace 'http://e-conomic.com'. (id=050721d6-0222-4c6b-bdc4-2f7cf08ba295)
If I fix it, passing the Number property (as an integer of course), the contact will be created, and an ID will be returned. But then, if i fetches the newly created contact, the number on that contact will just be last-contact-created-number + 1.
The same problems goes for passing a Handle with an ID. The ID will be ignored, and the API will just assign whatever ID to the contact.
Any help will be appriciated!