Hi Community,
i ve tried to create a mapping with an Custom Field from Quote to Orders. The Field is called "new_project_contact" and has the datatype "Customer". The same field i also create in the Orders.
From there i use the n:1 Relation in Orders to map the both fields. So if i tried to create an order from a quote, i got the following error:
<s:Envelope xmlns:s="schemas.xmlsoap.org/.../envelope"> <s:Body><s:Fault> <faultcode>s:Client</faultcode> <faultstring xml:lang="en-US">Attribute new_project_contactidtype must not be NULL if attribute new_project_contact is not NULL</faultstring> <detail><OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance"> <ErrorCode>-2147220989</ErrorCode> <ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"/> <Message>Attribute new_project_contactidtype must not be NULL if attribute new_project_contact is not NULL</Message> <Timestamp>2016-11-25T12:14:13.4394057Z</Timestamp> <ExceptionSource i:nil="true"/><InnerFault><ErrorCode>-2147220989</ErrorCode> <ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"/> <Message>Attribute new_project_contactidtype must not be NULL if attribute new_project_contact is not NULL</Message> <Timestamp>2016-11-25T12:14:13.4394057Z</Timestamp><ExceptionSource i:nil="true"/> <InnerFault> <ErrorCode>-2147220970</ErrorCode> <ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"/> <Message>System.ArgumentNullException: Value cannot be null. Parameter name: Attribute new_project_contactidtype must not be NULL if attribute new_project_contact is not NULL</Message> <Timestamp>2016-11-25T12:14:13.4394057Z</Timestamp> <ExceptionSource i:nil="true"/> <InnerFault i:nil="true"/><OriginalException i:nil="true"/> <TraceText i:nil="true"/> </InnerFault> <OriginalException i:nil="true"/> <TraceText i:nil="true"/> </InnerFault><OriginalException i:nil="true"/> <TraceText i:nil="true"/></OrganizationServiceFault> </detail></s:Fault> </s:Body> </s:Envelope>
Why is the "new_project_contactidtype" is NULL ? Can someone help?
Regards, Sven